BUG: work around for issue #53 and possibly fixed issue #47

This commit is contained in:
fredfortier
2017-11-03 20:59:26 -04:00
parent 2bbc0c00cc
commit b476024612
5 changed files with 114 additions and 73 deletions
+16 -16
View File
@@ -29,25 +29,25 @@ def handle_data(context, data):
print(e)
# run_algorithm(
# capital_base=250,
# start=pd.to_datetime('2017-1-1', utc=True),
# end=pd.to_datetime('2017-10-22', utc=True),
# data_frequency='daily',
# initialize=initialize,
# handle_data=handle_data,
# analyze=None,
# exchange_name='bitfinex',
# algo_namespace='simple_loop',
# base_currency='btc'
# )
run_algorithm(
capital_base=250,
start=pd.to_datetime('2017-1-1', utc=True),
end=pd.to_datetime('2017-10-22', utc=True),
data_frequency='daily',
initialize=initialize,
handle_data=handle_data,
analyze=None,
exchange_name='poloniex',
live=True,
exchange_name='bitfinex',
algo_namespace='simple_loop',
base_currency='eth',
live_graph=False
base_currency='btc'
)
# run_algorithm(
# initialize=initialize,
# handle_data=handle_data,
# analyze=None,
# exchange_name='poloniex',
# live=True,
# algo_namespace='simple_loop',
# base_currency='eth',
# live_graph=False
# )