mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 23:05:15 +00:00
fix(ftx): set lastTradeID from options{} to filter trades
This commit is contained in:
parent
2fd82ef775
commit
bca57e017b
|
@ -248,7 +248,7 @@ func (e *Exchange) QueryTrades(ctx context.Context, symbol string, options *type
|
|||
|
||||
tradeIDs := make(map[int64]struct{})
|
||||
|
||||
var lastTradeID int64
|
||||
lastTradeID := options.LastTradeID
|
||||
var trades []types.Trade
|
||||
symbol = strings.ToUpper(symbol)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user