-
Notifications
You must be signed in to change notification settings - Fork 44
Open
Description
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']))
continueReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels