From f027515ff3bfb010b7270227871b44f99cc60ab5 Mon Sep 17 00:00:00 2001 From: randall Date: Tue, 7 Jan 2025 14:11:30 -0500 Subject: [PATCH] Add Futures market and topics Needed for websocket support --- websocket/config.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/websocket/config.go b/websocket/config.go index a8faf49..a8fa518 100644 --- a/websocket/config.go +++ b/websocket/config.go @@ -85,6 +85,7 @@ const ( Forex Market = "forex" Crypto Market = "crypto" Indices Market = "indices" + Futures Market = "futures" ) func (m Market) supports(topic Topic) bool { @@ -155,6 +156,13 @@ const ( IndexValue Topic = 92 BusinessFairMarketValue Topic = 100 + + futuresMin Topic = 110 + FutureSecAggs Topic = 111 + FutureMinAggs Topic = 112 + FutureTrades Topic = 113 + FutureQuotes Topic = 114 + futuresMax Topic = 115 ) func (t Topic) prefix() string {