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