Type/to search
8
Follow
0
Followers
Websocketで取得した価格データは取引所と一致しません
Help
Created 2022-11-13 10:26:36  Updated 2022-11-13 10:34:40
 4
 1277

取引データをwss://fstream.binance.com/ws/btcusdt@aggTradekin_Latnkin_Latnkin_Latnkin_Latnkin_Latnkin_Latnkin_Latnkin_Latnkin_Latnkin_Latn Niboneye ko byoroshye cyane,私は取引データをwss://fstream.binance.com/ws/btcusdt@aggTradeのデータに登録し,最新の取引価格としてaggTradeの価格'p'を使用しました.
香港のサーバーの時間と取引所の時間が合っていないからでしょうか? どうすれば解決できるでしょうか?
指導を求める

Related Recommendations
Comment
All comments (4)

    检查时间戳

    4 years ago

    确定下对比的品种、合约是否一样。这个数据是交易所提供的,排除可能得问题例如;交易所页面显示延迟以外。肯定应该是一致的,因为这个数据是交易所接口直接提供的。建议用日志打印出数据,然后和交易所的对比,看看是不是同一笔交易,然后在对比价格等其他数据。

    4 years ago

    好滴,我检查一下,谢谢

    4 years ago

    不客气。

    4 years ago
  • 1
Forums
PINE Language
Get the app
iPhone Download
© 2015 - ∞ INVENTOR PTE LTD (SG)