PositionBase
Interface
Types Module: Broker
Describes a single position.
Properties
avgPrice
The weighted average price of all positions for a symbol. The library uses this value to draw a position line on the chart.
Type
number
id
Position ID. Usually id should be equal to brokerSymbol
Type
string
longQty
OptionalLong position quantity
Type
number
message
OptionalMessage describing the state of the position
Type
qty
Position Quantity (positive number)
Type
number
shortQty
OptionalShort position quantity
Type
number
side
Position Side
Type
Side
symbol
Symbol name
Type
string