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
from datetime import UTC
e = ccxt.hyperliquid()
e.aiohttp_proxy = 'http://127.0.0.1:8080'
print(e.timeframes)
for timeframe in list(e.timeframes.keys()) + ['8h']:
try:
await e.fetch_ohlcv('BTC/USDC:USDC', timeframe)
print(f"timeframe {timeframe} OK")
except ccxt.ExchangeError:
print(f"timeframe {timeframe} ERROR")
{'1m': '1m', '3m': '3m', '5m': '5m', '15m': '15m', '30m': '30m', '1h': '1h', '2h': '2h', '4h': '4h', '6h': '6h', '12h': '12h', '1d': '1d', '3d': '3d', '1w': '1w', '1M': '1m'}
timeframe 1m OK
timeframe 3m OK
timeframe 5m OK
timeframe 15m OK
timeframe 30m OK
timeframe 1h OK
timeframe 2h OK
timeframe 4h OK
timeframe 6h ERROR
timeframe 12h OK
timeframe 1d OK
timeframe 3d OK
timeframe 1w OK
timeframe 1M OK
timeframe 8h OK
Thanks!
Code
No response
The text was updated successfully, but these errors were encountered:
Operating System
n/a
Programming Languages
Python
CCXT Version
4.4.29
Description
Hello :)
The advertised hyperliquid timeframes have a couple of issues:
1m
and1M
have the same value,1m
. The value of key1M
should be1M
(not sure where this is used though)So
'6h': '6h',
should be changed to'8h': '8h',
'1M': '1m',
should be changed to'1M': '1M',
Thanks!
Code
No response
The text was updated successfully, but these errors were encountered: