Positions
View positions and manage position instructions.
Get Positions
Close Positions
Close Position
List Position Instructions
Submit Position Instructions
Cancel Position Instruction
ModelsExpand Collapse
type Position struct{…}
Represents a holding of a particular instrument in an account
InstrumentType SecurityType
PositionType PositionType
DailyUnrealizedPnl stringOptional
The unrealized profit or loss for this position relative to the previous close
DailyUnrealizedPnlPct stringOptional
The unrealized profit/loss for the position for the current day, expressed as a percentage of the baseline value (range: 0-100).
UnderlyingInstrumentID stringOptional
OEMS instrument identifier of the underlying instrument, if resolvable
type PositionInstruction struct{…}
A position instruction and its current lifecycle state.
InstructionID string
Caller-supplied idempotency key echoed from the submit request; the server-assigned fallback when none was supplied.
InstructionType PositionInstructionType
Status PositionInstructionStatus
AcceptedQuantity stringOptional
Number of contracts accepted by the clearing venue. Populated once
the instruction reaches ACCEPTED.
InstructionID string
Caller-supplied idempotency key echoed from the submit request; the server-assigned fallback when none was supplied.
InstructionType PositionInstructionType
Status PositionInstructionStatus
AcceptedQuantity stringOptional
Number of contracts accepted by the clearing venue. Populated once
the instruction reaches ACCEPTED.
InstrumentType SecurityType
PositionType PositionType
DailyUnrealizedPnl stringOptional
The unrealized profit or loss for this position relative to the previous close
DailyUnrealizedPnlPct stringOptional
The unrealized profit/loss for the position for the current day, expressed as a percentage of the baseline value (range: 0-100).
UnderlyingInstrumentID stringOptional
OEMS instrument identifier of the underlying instrument, if resolvable