binance: allow exposure of trade feed through data channel (#823)

This commit is contained in:
Luis Rascão
2021-11-08 01:17:01 +00:00
committed by GitHub
parent 6eaa2e4073
commit ca428f5203
2 changed files with 16 additions and 10 deletions

View File

@@ -231,6 +231,7 @@ func (b *Binance) Setup(exch *config.Exchange) error {
Features: &b.Features.Supports.WebsocketCapabilities,
SortBuffer: true,
SortBufferByUpdateIDs: true,
TradeFeed: b.Features.Enabled.TradeFeed,
})
if err != nil {
return err