Take Profit / Stop Loss
You can update the stop loss (SL) and take profit (TP) parameters for existing positions to manage risk dynamically as market conditions change.
Currently, we are supporting 3 types of TP/SL adjustments:
Position Value TP/SL : You can set TP/SL based on the position value. For example, if you have a position worth $1000, you can set a TP of $1200 and an SL of $800.
Percentage TP/SL : You can set TP/SL based on a percentage of profit compared to the entry price. For example, you can set a TP of 20% and an SL of 10%.
Dollar Amount TP/SL : You can set TP/SL based on a fixed dollar amount. For example, you can set a TP of $200 profit and an SL of $100 losses.
Similar to limit orders, TP and SL are handled internally and off-chain, with price updates occurring every second.
You can include the TP/SL values when creating a new position or update them for an existing position using the PUT /positions/{positionId}/riskParameters API
Last updated