Skip to content

OrderType


enum backtide.backtest.OrderType

The type of order that can be submitted to the exchange.

Defines which execution semantics apply to a trade request. The engine validates that only allowed order types (configured in the exchange settings) are submitted during the simulation.

Read more in the user guide.

  • Market
  • Limit
  • StopLoss
  • TakeProfit
  • StopLossLimit
  • TakeProfitLimit
  • TrailingStop
  • TrailingStopLimit
  • SettlePosition
  • Cancel
Attributes

name : str

The human-readable display name of the variant.


See Also

CommissionType

How trading commissions are calculated.

ExchangeExpConfig

Exchange and execution settings for an experiment.

Order

A trading order submitted during the simulation.


Methods

description Return a description of the order type.


method backtide.backtestdescription()

Return a description of the order type.

Returns

str

A brief explanation of the order's execution semantics.