mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-26 00:35:15 +00:00
use time.UTC instead of time.Local
This commit is contained in:
parent
dc487c9194
commit
a954f0e595
|
@ -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