Skip to main content
Version: latest

PositionBase

Interface
Types Module: Broker

Describes a single position.

Properties

avgPrice

Average price

Type

number


id

Position ID. Usually id should be equal to brokerSymbol

Type

string


longQty

Optional

Long position quantity

Type

number


message

Optional

Message describing the state of the position

Type

OrderOrPositionMessage


qty

Position Quantity (positive number)

Type

number


shortQty

Optional

Short position quantity

Type

number


side

Position Side

Type

Side


symbol

Symbol name

Type

string