mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-13 09:56:31 +08:00
Fixed an issue with the backtest get_history_window method.
This commit is contained in:
@@ -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'
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user