mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-23 07:15:15 +00:00
grid2: add AutoRange parameter
This commit is contained in:
parent
d27786d5ae
commit
f60b4630c5
|
@ -65,6 +65,8 @@ type Strategy struct {
|
||||||
// GridNum is the grid number, how many orders you want to post on the orderbook.
|
// GridNum is the grid number, how many orders you want to post on the orderbook.
|
||||||
GridNum int64 `json:"gridNumber"`
|
GridNum int64 `json:"gridNumber"`
|
||||||
|
|
||||||
|
AutoRange types.Duration `json:"autoRange"`
|
||||||
|
|
||||||
UpperPrice fixedpoint.Value `json:"upperPrice"`
|
UpperPrice fixedpoint.Value `json:"upperPrice"`
|
||||||
|
|
||||||
LowerPrice fixedpoint.Value `json:"lowerPrice"`
|
LowerPrice fixedpoint.Value `json:"lowerPrice"`
|
||||||
|
|
Loading…
Reference in New Issue
Block a user