Skip to content

PublicOrderProperties

QuantConnect.Orders.PublicOrderProperties

PublicOrderProperties()
PublicOrderProperties(exchange: Exchange)

Bases: OrderProperties

Represents the properties of an order in Public.com.

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

If set to true, allows the order to trigger or fill outside of regular trading hours (the extended session).

use_margin

use_margin: Optional[bool]

Controls the buying power used by the order. true uses margin buying power when the account allows it; false uses cash-only buying power. When left null, the brokerage model fills it in from the account type before the order is sent.

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