Skip to content

Commit

Permalink
🥤 fix(data): sip feed 🥤 (#243)
Browse files Browse the repository at this point in the history
* revert feed

* comment

* #patch

* #patch
  • Loading branch information
alkalescent authored Jan 11, 2025
1 parent 066c853 commit 941d48b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion hyperdrive/DataSource.py
Original file line number Diff line number Diff line change
Expand Up @@ -500,8 +500,10 @@ def _get_ohlc(symbol, timeframe='max'):
'symbols': symbol,
'timeframe': '1D',
'start': start,
# end should be > 15 min before current UTC time in this format
# 2025-01-01T00:00:00Z
'limit': 10000,
} | ({} if is_crypto else {'adjustment': 'all', 'feed': 'iex'})
} | ({} if is_crypto else {'adjustment': 'all'})
headers = {
'APCA-API-KEY-ID': self.token,
'APCA-API-SECRET-KEY': self.secret
Expand Down

0 comments on commit 941d48b

Please sign in to comment.