Fixed an issue with the backtest get_history_window method.

This commit is contained in:
fredfortier
2017-10-18 17:23:33 -04:00
parent 1c5822bce9
commit 339fa21c35
2 changed files with 14 additions and 7 deletions
+2 -2
View File
@@ -7,7 +7,7 @@ from catalyst.api import symbol
def initialize(context):
print('initializing')
context.asset = symbol('wings_eth')
context.asset = symbol('etc_eth')
def handle_data(context, data):
@@ -35,7 +35,7 @@ run_algorithm(
initialize=initialize,
handle_data=handle_data,
analyze=None,
exchange_name='bittrex',
exchange_name='poloniex',
algo_namespace='simple_loop',
base_currency='eth'
)