alpacahq / Momentum-Trading-Example

An example algorithm for a momentum-based day trading strategy.
642 stars 218 forks source link

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

Closed nickvertucci closed 3 years ago

nickvertucci commented 3 years ago

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'

nickvertucci commented 3 years ago

Was about to update the history V2 paramters.