mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 23:05:15 +00:00
add trailing stop to the exit method
This commit is contained in:
parent
b49f12300c
commit
3d9db2786d
|
@ -26,6 +26,7 @@ type ExitMethod struct {
|
|||
RoiTakeProfit *RoiTakeProfit `json:"roiTakeProfit"`
|
||||
LowerShadowTakeProfit *LowerShadowTakeProfit `json:"lowerShadowTakeProfit"`
|
||||
CumulatedVolumeTakeProfit *CumulatedVolumeTakeProfit `json:"cumulatedVolumeTakeProfit"`
|
||||
TrailingStop *TrailingStop2 `json:"trailingStop"`
|
||||
}
|
||||
|
||||
// Inherit is used for inheriting properties from the given strategy struct
|
||||
|
|
Loading…
Reference in New Issue
Block a user