mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
cmd: change trades cmd time range to just 1 day
This commit is contained in:
parent
c3c2822c82
commit
44efbce8eb
|
@ -81,7 +81,7 @@ var tradesCmd = &cobra.Command{
|
|||
}
|
||||
|
||||
now := time.Now()
|
||||
since := now.Add(-3 * 24 * time.Hour)
|
||||
since := now.Add(-24 * time.Hour)
|
||||
|
||||
tradeHistoryService, ok := session.Exchange.(types.ExchangeTradeHistoryService)
|
||||
if !ok {
|
||||
|
|
Loading…
Reference in New Issue
Block a user