CustomStoplossConfig
Dynamic stoploss callback configuration.
Emits a custom_stoploss() method that evaluates each rule's condition and
returns the first matching rule's stoploss value, falling back to
defaultStoploss when nothing matches. Fixed stoploss and trailing-stop
parameters live on StrategyParameters (Risk Management in the Freqtrade
config form), not here.
type CustomStoplossConfig {
enabled: Boolean!
rules: [StoplossRule!]!
defaultStoploss: Float!
}
Fields
CustomStoplossConfig.enabled ● Boolean! non-null scalar
CustomStoplossConfig.rules ● [StoplossRule!]! non-null object
CustomStoplossConfig.defaultStoploss ● Float! non-null scalar
Member Of
CallbacksConfig object