improve/sync-futures: remove unused code

This commit is contained in:
Andy Cheng 2024-01-03 10:36:01 +08:00
parent 90020a65a4
commit 05536b6693
No known key found for this signature in database
GPG Key ID: 936427CF651A9D28

View File

@ -381,7 +381,6 @@ func (e *Exchange) SubscribeMarketData(
intervals = append(intervals, interval)
}
//_, isFutures, _, _ := exchange2.GetSessionAttributes(e.publicExchange)
var isFutures bool
if futuresExchange, ok := e.publicExchange.(types.FuturesExchange); ok {
isFutures = futuresExchange.GetFuturesSettings().IsFutures