developers:websocket:quotes

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
developers:websocket:quotes [2025/03/15 14:36] chaddevelopers:websocket:quotes [2026/09/08 00:38] (current) chad
Line 1: Line 1:
 +<note warning>**Legacy — V1.** This page documents the ''/v1'' WebSocket API and is retained for existing integrations. New development should use [[developers:apiv2|V2]]. See [[developers:apiv2:migrating|Migrating from V1]].</note>
 +
 ====== Quote Feed ====== ====== Quote Feed ======
  
Line 52: Line 54:
 MarketDepthSubscribe { MarketDepthSubscribe {
    ExchangeId = "CME",    ExchangeId = "CME",
-   ContractId = "ESM25",+   ContractId = "ES",
    MarketId = "XCME_C ES (M25)",    MarketId = "XCME_C ES (M25)",
    Buffer = DepthBuffer.Smart,    Buffer = DepthBuffer.Smart,
Line 66: Line 68:
 MarketDepthSubscribe { MarketDepthSubscribe {
    ExchangeId = "CME",    ExchangeId = "CME",
-   ContractId = "ESM25",+   ContractId = "ES",
    MarketId = "XCME_C ES (M25)",    MarketId = "XCME_C ES (M25)",
    Buffer = DepthBuffer.NoSubscription,    Buffer = DepthBuffer.NoSubscription,
Line 80: Line 82:
   * **MarketDefinition** – Sent once per market, unless already received via another feed.   * **MarketDefinition** – Sent once per market, unless already received via another feed.
   * **MarketSnapshot** – Provides a full market state on initial subscription.   * **MarketSnapshot** – Provides a full market state on initial subscription.
-  * **MarketDepthUpdate** – Sends incremental changes to depth.+  * **MarketDepth** – Sends incremental changes to depth.
  
 Example MBP message handling: Example MBP message handling:
Line 97: Line 99:
             break;             break;
  
-        case ServerMessage.PayloadOneofCase.MarketDepthUpdate+        case ServerMessage.PayloadOneofCase.MarketDepth
-            ProcessMarketDepthUpdate(serverMessage.MarketDepthUpdate);+            ProcessMarketDepth(serverMessage.MarketDepth);
             break;             break;
  
Line 126: Line 128:
 MarketByOrderSubscribe { MarketByOrderSubscribe {
    exchange_id = "CME",    exchange_id = "CME",
-   contract_id = "ESM25",+   contract_id = "ES",
    market_id = "XCME_C ES (M25)",    market_id = "XCME_C ES (M25)",
    subscribe = true    subscribe = true
Line 139: Line 141:
 MarketByOrderSubscribe { MarketByOrderSubscribe {
    exchange_id = "CME",    exchange_id = "CME",
-   contract_id = "ESM25",+   contract_id = "ES",
    market_id = "XCME_C ES (M25)",    market_id = "XCME_C ES (M25)",
    subscribe = false    subscribe = false
Line 156: Line 158:
 Example MBO message handling: Example MBO message handling:
  
-<code>+<code c#>
 private void HandleMBOMessage(ServerMessage serverMessage) private void HandleMBOMessage(ServerMessage serverMessage)
 { {
Line 203: Line 205:
 T4 does not support delayed MBO data at this time. T4 does not support delayed MBO data at this time.
 </bootnote> </bootnote>
 +
 +
 +===== Secondary Market Data =====
 +
 +In addition to quotes, a market data feed subscription will include secondary market data:
 +
 +^ **Message** ^ **Description** ^
 +| MarketDepthTrade | If a `Trade` feed is subscribed, the trade ticker is sent as a feed of MarketDepthTrade messages. |
 +| MarketHighLow | Publishes updates to the high and low prices reached by the market. |
 +| MarketPriceLimits | Publishes the price limits (bands or collars) set by the exchange for the market. |
 +| MarketSettlement | Contains the latest market settlement, held settlment, open interest, cleared volume and VWAP information as published by the exchange. |
 +
 +
 +
  
  
  • developers/websocket/quotes.1742049400.txt.gz
  • Last modified: 2025/03/15 14:36
  • by chad