From 105e28f943069588c2e5d6c36ec1006dcbb4fbd9 Mon Sep 17 00:00:00 2001 From: Randall McPherson Date: Tue, 7 Jan 2025 14:31:28 -0500 Subject: [PATCH] Add Websocket Futures market and topics (#491) --- 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 {