mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-27 09:15:15 +00:00
ss
This commit is contained in:
parent
f776914e8c
commit
60331c1c67
|
@ -465,6 +465,8 @@ func (e *Exchange) QueryTrades(ctx context.Context, symbol string, options *type
|
||||||
req.EndTime(options.EndTime.UTC())
|
req.EndTime(options.EndTime.UTC())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
log.Infof("bbgo QueryTrades start time: %s, end time: %s, limit: %d, tradeid: %d", options.StartTime.String(), options.EndTime.String(), options.Limit, options.LastTradeID)
|
||||||
|
|
||||||
limit := uint64(options.Limit)
|
limit := uint64(options.Limit)
|
||||||
if limit > defaultQueryLimit || limit <= 0 {
|
if limit > defaultQueryLimit || limit <= 0 {
|
||||||
log.Debugf("the parameter limit exceeds the server boundary or is set to zero. changed to %d, original value: %d", defaultQueryLimit, options.Limit)
|
log.Debugf("the parameter limit exceeds the server boundary or is set to zero. changed to %d, original value: %d", defaultQueryLimit, options.Limit)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user