mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
xdepthmaker: adjust default update interval
This commit is contained in:
parent
31676cce8e
commit
1fb7262aae
|
@ -269,7 +269,7 @@ func (s *Strategy) Validate() error {
|
|||
|
||||
func (s *Strategy) Defaults() error {
|
||||
if s.UpdateInterval == 0 {
|
||||
s.UpdateInterval = types.Duration(time.Second)
|
||||
s.UpdateInterval = types.Duration(5 * time.Second)
|
||||
}
|
||||
|
||||
if s.FullReplenishInterval == 0 {
|
||||
|
|
Loading…
Reference in New Issue
Block a user