TpSlConfig
The handler /configs/ payload — the rules a TP/SL request must satisfy. Returned by getTpSlConfig (camel-cased from the wire MinPriceDistancePercent / MinProfitStopLossSpreadPercent) and consumed by validateTpSl.
Fields
minPriceDistancePercentnumberMinimum |target − open| / open × 100 the handler accepts (percent).
minProfitStopLossSpreadPercentnumberMinimum TP↔SL spread as a percent of the open price.
Related
getTpSlConfig— fetches this.validateTpSl— enforces these rules.
Last updated on