Skip to content

[Bug/Limit] OKX API returns Error 51000 "Parameter bar error" when interval is set to "1s" #543

@angelachanc91-star

Description

@angelachanc91-star
Image

Possible Cause (Hypothesis) :I suspect that the OKX Public REST API (/api/v5/market/candles) might not support 1s granularity. Based on the error code 51000, it seems that 1s is treated as an invalid parameter by the exchange endpoint. I am not entirely sure if this requires a different endpoint (e.g., WebSocket) or if the 1s interval is simply not supported for historical data fetching.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions