pivotshort: numLayers should be int

This commit is contained in:
c9s 2022-06-05 12:37:35 +08:00
parent 9f5575f1ef
commit b9c32c7f7e
No known key found for this signature in database
GPG Key ID: 7385E7E464CB0A54

View File

@ -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"`
} }