mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-26 00:35:15 +00:00
pivotshort: numLayers should be int
This commit is contained in:
parent
9f5575f1ef
commit
b9c32c7f7e
|
@ -28,7 +28,7 @@ type Entry struct {
|
||||||
Immediate bool `json:"immediate"`
|
Immediate bool `json:"immediate"`
|
||||||
CatBounceRatio fixedpoint.Value `json:"catBounceRatio"`
|
CatBounceRatio fixedpoint.Value `json:"catBounceRatio"`
|
||||||
Quantity fixedpoint.Value `json:"quantity"`
|
Quantity fixedpoint.Value `json:"quantity"`
|
||||||
NumLayers fixedpoint.Value `json:"numLayers"`
|
NumLayers int `json:"numLayers"`
|
||||||
MarginSideEffect types.MarginOrderSideEffectType `json:"marginOrderSideEffect"`
|
MarginSideEffect types.MarginOrderSideEffectType `json:"marginOrderSideEffect"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user