Skip to content

Commit 105e28f

Browse files
authored
Add Websocket Futures market and topics (#491)
1 parent d24412d commit 105e28f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

websocket/config.go

+8
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ const (
8585
Forex Market = "forex"
8686
Crypto Market = "crypto"
8787
Indices Market = "indices"
88+
Futures Market = "futures"
8889
)
8990

9091
func (m Market) supports(topic Topic) bool {
@@ -155,6 +156,13 @@ const (
155156
IndexValue Topic = 92
156157

157158
BusinessFairMarketValue Topic = 100
159+
160+
futuresMin Topic = 110
161+
FutureSecAggs Topic = 111
162+
FutureMinAggs Topic = 112
163+
FutureTrades Topic = 113
164+
FutureQuotes Topic = 114
165+
futuresMax Topic = 115
158166
)
159167

160168
func (t Topic) prefix() string {

0 commit comments

Comments
 (0)