You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
get_barset was deprecated in favor of get_bars. We also need to use TimeFrame.Day. There are likely many other issues related to this, but I'm still working through them.
for d in data['data']['table']['rows']:
# Get daily price data for stock symbol over the last n trading days.
- barset = api.get_barset(d['symbol'], 'day', limit=MOVED_DAYS)+ barset = api.get_bars(d['symbol'], TimeFrame.Day, limit=MOVED_DAYS)
if not barset[d['symbol']]:
print('stock symbol {} not found'.format(d['symbol']))
continue
The text was updated successfully, but these errors were encountered:
get_barset
was deprecated in favor ofget_bars
. We also need to useTimeFrame.Day
. There are likely many other issues related to this, but I'm still working through them.The text was updated successfully, but these errors were encountered: