|
|
@@ -13,7 +13,7 @@ fi
|
|
|
export PYTHONPATH=$FINOPT_HOME:$PYTHONPATH
|
|
|
#
|
|
|
# clear all topic offsets and erased saved subscriptions
|
|
|
-python $FINOPT_HOME/comms/ibgw/tws_gateway.py -r -c -f $FINOPT_HOME/config/tws_gateway.cfg
|
|
|
+#python $FINOPT_HOME/comms/ibgw/tws_gateway.py -r -c -f $FINOPT_HOME/config/tws_gateway.cfg
|
|
|
|
|
|
|
|
|
#
|
|
|
@@ -22,7 +22,7 @@ python $FINOPT_HOME/comms/ibgw/tws_gateway.py -r -c -f $FINOPT_HOME/config/tws_g
|
|
|
|
|
|
|
|
|
# restart gateway keep the redis offsets but erase the subscription entries
|
|
|
-#python $FINOPT_HOME/comms/ibgw/tws_gateway.py -r -f $FINOPT_HOME/config/tws_gateway.cfg
|
|
|
+python $FINOPT_HOME/comms/ibgw/tws_gateway.py -r -f $FINOPT_HOME/config/tws_gateway.cfg
|
|
|
|
|
|
# normal restart - keep the offsets and reload from saved subscription entries
|
|
|
#python $FINOPT_HOME/comms/ibgw/tws_gateway.py -f $FINOPT_HOME/config/tws_gateway.cfg
|