use time.UTC instead of time.Local

This commit is contained in:
Yo-An Lin 2022-04-29 14:06:22 +08:00 committed by GitHub
parent dc487c9194
commit a954f0e595
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -348,7 +348,7 @@ func (e *Exchange) QueryClosedOrders(ctx context.Context, symbol string, since,
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) {
req := e.client.TradeService.NewGetFillsRequest()