Merge pull request #578 from c9s/c9s-patch-1

fix: use time.UTC instead of time.Local
This commit is contained in:
Yo-An Lin 2022-05-01 01:18:19 +08:00 committed by GitHub
commit 9ec5ca710c
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()