Skip to content

Commit 941d48b

Browse files
authored
🥤 fix(data): sip feed 🥤 (#243)
* revert feed * comment * #patch * #patch
1 parent 066c853 commit 941d48b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎hyperdrive/DataSource.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -500,8 +500,10 @@ def _get_ohlc(symbol, timeframe='max'):
500500
'symbols': symbol,
501501
'timeframe': '1D',
502502
'start': start,
503+
# end should be > 15 min before current UTC time in this format
504+
# 2025-01-01T00:00:00Z
503505
'limit': 10000,
504-
} | ({} if is_crypto else {'adjustment': 'all', 'feed': 'iex'})
506+
} | ({} if is_crypto else {'adjustment': 'all'})
505507
headers = {
506508
'APCA-API-KEY-ID': self.token,
507509
'APCA-API-SECRET-KEY': self.secret

0 commit comments

Comments
 (0)