mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 14:55:16 +00:00
Merge pull request #578 from c9s/c9s-patch-1
fix: use time.UTC instead of time.Local
This commit is contained in:
commit
9ec5ca710c
|
@ -348,7 +348,7 @@ func (e *Exchange) QueryClosedOrders(ctx context.Context, symbol string, since,
|
||||||
return orders, err
|
return orders, err
|
||||||
}
|
}
|
||||||
|
|
||||||
var launchDate = time.Date(2017, 9, 0, 0, 0, 0, 0, time.Local)
|
var launchDate = time.Date(2017, 9, 0, 0, 0, 0, 0, time.UTC)
|
||||||
|
|
||||||
func (e *Exchange) QueryTrades(ctx context.Context, symbol string, options *types.TradeQueryOptions) (trades []types.Trade, err error) {
|
func (e *Exchange) QueryTrades(ctx context.Context, symbol string, options *types.TradeQueryOptions) (trades []types.Trade, err error) {
|
||||||
req := e.client.TradeService.NewGetFillsRequest()
|
req := e.client.TradeService.NewGetFillsRequest()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user