Expand description
Position-related types for position management.
Structsยง
- AddReduce
Margin Params - Parameters for adding or reducing margin.
- Closed
Pnl - Closed PnL record.
- Closed
PnlList Result - Closed PnL list result.
- GetClosed
PnlParams - Parameters for getting closed PnL.
- GetPosition
Info Params - Parameters for getting position info.
- Margin
Operation Result - Margin operation result.
- Position
Info - Position information.
- Position
List Result - Position list result.
- SetAuto
AddMargin Params - Parameters for setting auto add margin.
- SetLeverage
Params - Parameters for setting leverage.
- SetTrading
Stop Params - Parameters for setting trading stop (TP/SL/trailing stop).
- Switch
Margin Mode Params - Parameters for switching isolated margin mode.
- Switch
Position Mode Params - Parameters for switching position mode.