Skip to main content

Interface: Execution

Broker.Execution

Describes a single execution. Execution is when a buy or sell order is completed for a financial instrument.

Hierarchy​

Properties​

commission​

Optional

commission: number

Commission amount for executed trade


conversion​

Optional

conversion: number

Currency conversion charge applied to the execution result, in the account currency


currencyRate​

Optional

currencyRate: number

The conversion rate between account and symbol currency


extra​

Optional

extra: ExtraData

Your own custom fields for this entity. Omit the property if there are none.

Inherited from​

WithExtraData.extra


fee​

Optional

fee: number

Fee amount for executed trade


grossPnl​

Optional

grossPnl: number

Realized gross P&L of a closing execution before charges, in the account currency


id​

id: string

Execution ID


netAmount​

Optional

netAmount: number

Net amount for executed trade


netPnl​

Optional

netPnl: number

Realized net P&L of a closing execution after all charges, in the account currency


price​

price: number

Execution price


qty​

qty: number

Execution Quantity


side​

side: Side

Execution Side


swap​

Optional

swap: number

Overnight financing attributed to a closing execution, in the account currency


symbol​

symbol: string

Symbol name


time​

time: number

Time (unix timestamp in milliseconds)