Interface OrderState

Provides an active order's current state.

Hierarchy

  • OrderState

Properties

commission?: number

The order's generated commission.

commissionCurrency?: string

The generated commission currency.

completedStatus?: string

TODO document

completedTime?: string

TODO document

equityWithLoanAfter?: number

Shows the impact the order would have on the account's equity with loan.

equityWithLoanBefore?: number

The account's current equity with loan.

equityWithLoanChange?: number

The change of the account's equity with loan.

initMarginAfter?: number

The order's impact on the account's initial margin.

initMarginBefore?: number

The account's current initial margin.

initMarginChange?: number

The change of the account's initial margin.

maintMarginAfter?: number

The order's impact on the account's maintenance margin.

maintMarginBefore?: number

The account's current maintenance margin.

maintMarginChange?: number

The change of the account's maintenance margin.

maxCommission?: number

The executions maximum commission.

minCommission?: number

The execution's minimum commission.

status?: OrderStatus

The order's current status.

warningText?: string

If the order is warranted, a descriptive message will be provided.

Generated using TypeDoc