Market Data Documentation
  • Introduction
  • Technical Guidelines
  • Market Data APIs
    • Market Data API
      • Partial Order Book
      • Light Tickers
      • Live Trades
      • Auction Indicative Equilibrium Price
      • Candles
      • Get Settlement Prices
      • Instrument List
      • Calendar List
      • Tick Size List
  • Release Notes
    • API Changes
Powered by GitBook
On this page
  • getSettlementPrices
  • Request
  • Response
  • Error Codes
  • Samples
  1. Market Data APIs
  2. Market Data API

Get Settlement Prices

getSettlementPrices

This API allows retrieve the settlement prices for all instruments or for a specific list of instruments. Stream is bounded stream, after sending the relvant responses, stream will be closed.

qualifier: v1/exchange.marketdata/getSettlementPrices

Request

Parameter
Type
Description

symbols

[]String

List of symbols to retrieve the settlement prices for. Keep empty to get settlement prices for all instruments Disabled instruments with settlement price are also returned.

Response

Parameter
Type
Description

symbol

String

Instrument symbol

price

Decimal

Settlement price

lastUpdate

Unix timestamp

Settlement price update timestamp In milliseconds

Error Codes

Code
Message

1

System is unavailable

2

Missing fields: [Fieldname]

Samples

{
  "q": "v1/exchange.marketdata/getSettlementPrices",
  "token": "eyJleGNoYW5nZUlkIjozMCwicHJvamVjdElkIjoyMDB9",
  "sid": 10,
  "d": {
    "symbols": [
      "INS1",
      "INS2"
    ]
  }
}
{
  "q": "v1/exchange.marketdata/getSettlementPrices",
  "sid": 10,
  "d": {
    "symbol": "INS1",
    "price": 1.235,
    "lastUpdate": 1662638980158
  }
}
{
  "sig": 1,
  "q": "v1/exchange.marketdata/getSettlementPrices",
  "sid": 10
}
PreviousCandlesNextInstrument List

Last updated 1 year ago