Interface: PositionBase
Broker.PositionBase
Describes a single position.
Hierarchy
-
PositionBase
↳
Position
Properties
avgPrice
• avgPrice: number
Average price
id
• id: string
Position ID. Usually id should be equal to brokerSymbol
longQty
• Optional
longQty: number
Long position quantity
message
• Optional
message: OrderOrPositionMessage
Message describing the state of the position
qty
• qty: number
Position Quantity (positive number)
shortQty
• Optional
shortQty: number
Short position quantity
side
• side: Side
Position Side
symbol
• symbol: string
Symbol name