Adjusts the trailing stop-loss to an absolute price level.
Convenience wrapper around commitTrailingStop that converts an absolute stop-loss price to a percentShift relative to the ORIGINAL SL distance.
Automatically detects backtest/live mode from execution context. Automatically fetches current price via getAveragePrice.
Trading pair symbol
Desired absolute stop-loss price
Promise - true if trailing SL was set/updated, false if rejected
Adjusts the trailing stop-loss to an absolute price level.
Convenience wrapper around commitTrailingStop that converts an absolute stop-loss price to a percentShift relative to the ORIGINAL SL distance.
Automatically detects backtest/live mode from execution context. Automatically fetches current price via getAveragePrice.