alpacahq/Momentum-Trading-Example

TypeError: historic_agg_v2() got an unexpected keyword argument 'size'

Closed this issue · 1 comments

I changed the line to use V2 but still receive an argument size error

File "algo.py", line 396, in
run(get_tickers(), market_open, market_close)
File "algo.py", line 87, in run
minute_history = get_1000m_history_data(symbols)
File "algo.py", line 39, in get_1000m_history_data
size="minute", symbol=symbol, limit=1000
TypeError: historic_agg_v2() got an unexpected keyword argument 'size'

Was about to update the history V2 paramters.