pivotshort: fix breaklow parameters

This commit is contained in:
c9s 2022-09-14 21:03:54 +08:00
parent 53d622daf5
commit 539513ada0
No known key found for this signature in database
GPG Key ID: 7385E7E464CB0A54

View File

@ -25,15 +25,6 @@ type BreakLow struct {
// Ratio is a number less than 1.0, price * ratio will be the price triggers the short order.
Ratio fixedpoint.Value `json:"ratio"`
// MarketOrder is the option to enable market order short.
MarketOrder bool `json:"marketOrder"`
// LimitOrder is the option to use limit order instead of market order to short
LimitOrder bool `json:"limitOrder"`
LimitTakerRatio fixedpoint.Value `json:"limitTakerRatio"`
Leverage fixedpoint.Value `json:"leverage"`
Quantity fixedpoint.Value `json:"quantity"`
bbgo.OpenPositionOptions
// BounceRatio is a ratio used for placing the limit order sell price