We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
隔壁可以用 https://api.binance.com/api/v3/klines?interval=1s&symbol=BTCUSDT
The text was updated successfully, but these errors were encountered:
参数中,bar='1s'就可以,对于实盘数据,需要注意:官方更新的最新产品的秒级K线与当前时间延迟较大,相差几十秒是常事。 建议:实盘交易自己维护秒级K线,通过循环,快速获取并记录产品的瞬时价格。
Sorry, something went wrong.
@pyted 这两个端点有什么区别
https://www.okx.com/api/v5/market/history-candles?instId=BTC-USDT&limit=30&bar=1s
https://www.okx.com/api/v5/market/candles?instId=BTC-USDT&limit=100&bar=1s 第二个用 1s 不行, 1m 可以
你的库中可以实现吗, 维持一个最新实时的 多周期 k线副本,最好可以计算各种指标
No branches or pull requests
隔壁可以用 https://api.binance.com/api/v3/klines?interval=1s&symbol=BTCUSDT
The text was updated successfully, but these errors were encountered: