Skip to content

AlpacaOrderProperties

QuantConnect.Orders.AlpacaOrderProperties

AlpacaOrderProperties()
AlpacaOrderProperties(exchange: Exchange)

Bases: OrderProperties

Provides an implementation of the OrderProperties specific to Alpaca order.

Signature descriptions:

  • Initializes a new instance of the OrderProperties class

  • Initializes a new instance of the OrderProperties class, with exchange param Exchange name for market

Parameters:

Name Type Description Default
exchange Optional[Exchange]

Exchange name for market

None

outside_regular_trading_hours

outside_regular_trading_hours: bool

Flag to allow orders to also trigger or fill outside of regular trading hours.

time_in_force

time_in_force: TimeInForce

Defines the length of time over which an order will continue working before it is cancelled

exchange

exchange: Exchange

Defines the exchange name for a particular market

clone

clone() -> IOrderProperties

Returns a new instance clone of this object