kucoin: fix launch date with local time zone

This commit is contained in:
c9s 2022-01-01 02:45:47 +08:00
parent f7000ad3ac
commit 7d64a30a6b

View File

@ -323,7 +323,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, nil) var launchDate = time.Date(2017, 9, 0, 0, 0, 0, 0, time.Local)
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()