API दस्तावेज़ीकरण

List Instrument Ticks

get/api/v1/Instruments/{instrumentType}/{symbol}/ticks

Returns the most recent bid and ask readings for an instrument, oldest first, so a price chart can open with recent history and continue it from live prices.

Instruments

पैरामीटर

instrumentType

path · string

आवश्यक

symbol

path · string

आवश्यक

count

query · integer

वैकल्पिक

version

path · string

आवश्यक

जवाब

  • 200Bid and ask readings as [timestampMs, price] pairs; a side is empty when no history is kept for it.application/json
    {
      "bid": [
        [
          1720000000000,
          1.0841
        ],
        [
          1720000001500,
          1.0842
        ]
      ],
      "ask": [
        [
          1720000000000,
          1.0843
        ],
        [
          1720000001500,
          1.0844
        ]
      ]
    }
  • 404Unknown instrument type or symbol.application/json
    {
      "type": "Deposit",
      "title": "Example",
      "status": 1,
      "detail": "The request could not be completed. Check the values and try again.",
      "instance": "Example"
    }
Alipay
Stripe
Eurex
AWS
Azure
Google Cloud
Currenex
Velocity Trade
Bitcoin
CME
Interactive Brokers
Kraken
FIX API
XTX
Bloomberg
Binance

अपने प्लेटफ़ॉर्म को लॉन्च करें।