Skip to content
New issue

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

The range of Bybit results is not correct #3

Open
mirumirumi opened this issue May 8, 2023 · 0 comments
Open

The range of Bybit results is not correct #3

mirumirumi opened this issue May 8, 2023 · 0 comments
Labels
Bybit exchange bug Exchange's bug

Comments

@mirumirumi
Copy link
Owner

start で指定した以前のタイムスタンプのデータが 1 件紛れ込む。

Reproduction:

curl "https://api.bybit.com/v5/market/kline?category=spot&symbol=BTCUSDT&interval=1&start=1683472808000&end=1683472876000" | jq .

Response:

{
  "retCode": 0,
  "retMsg": "OK",
  "result": {
    "category": "spot",
    "symbol": "BTCUSDT",
    "list": [
      [
        "1683472860000",
        "28959.94",
        "28970.63",
        "28940.26",
        "28945.63",
        "7.484936",
        "216697.2440694"
      ],
      [
        "1683472800000",
        "28961.74",
        "28971.86",
        "28954.55",
        "28959.94",
        "5.222265",
        "151241.07920518"
      ]
    ]
  },
  "retExtInfo": {},
  "time": 1683523483533
}
@mirumirumi mirumirumi added exchange bug Exchange's bug Bybit labels May 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bybit exchange bug Exchange's bug
Projects
None yet
Development

No branches or pull requests

1 participant