Positions
Get open positions, exit or convert them, and set, modify or cancel the stop loss and target on a position.
| Endpoint | Method | Description |
|---|---|---|
| Get Positions | GET | This API allows you to fetch your open and closed positions for the current trading day. |
| Exit Position | DELETE | This API allows you to exit all or selected open positions in a single request. |
| Exit Position by ID | DELETE | This API allows you to exit specific open positions using their position IDs. |
| Exit Positions by Filters | DELETE | This API allows you to exit open positions that match a segment, side and product type. |
| Convert Position | POST | This API allows you to convert an open position from one product type to another. |
| Set Stop Loss & Target | PATCH | This API allows you to add a Stop Loss and Take Profit to an open position. |
| Modify Stop Loss & Target | PATCH | This API allows you to modify the Stop Loss and Take Profit of an open position. |
| Cancel Stop Loss & Target | PATCH | This API allows you to cancel the Stop Loss and Take Profit of an open position. |
Last updated on