From 5d251f6f9a24847b17e0c51e673e5358172b6de9 Mon Sep 17 00:00:00 2001 From: fredfortier Date: Thu, 2 Nov 2017 21:06:11 -0400 Subject: [PATCH] BLD: modified algo for testing --- catalyst/examples/simple_loop.py | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/catalyst/examples/simple_loop.py b/catalyst/examples/simple_loop.py index 9ebf93b1..75702c33 100644 --- a/catalyst/examples/simple_loop.py +++ b/catalyst/examples/simple_loop.py @@ -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='minute', 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 +# )