TradeStationOrderProperties
QuantConnect.Orders.TradeStationOrderProperties
TradeStationOrderProperties()
TradeStationOrderProperties(exchange: Exchange)
Bases: OrderProperties
Represents the properties of an order in TradeStation.
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
|
all_or_none
all_or_none: bool
Enables the "All or None" feature for your order, ensuring it will only be filled completely or not at all. Set to true to activate this feature, or false to allow partial fills.
outside_regular_trading_hours
outside_regular_trading_hours: bool
If set to true, allows orders to also trigger or fill outside of regular trading hours.
post_only
post_only: bool
This flag will ensure the order executes only as a maker (no fee) order. If part of the order results in taking liquidity rather than providing, it will be rejected and no part of the order will execute. Note: this flag is only applied to Limit orders and equities.
time_in_force
time_in_force: TimeInForce
Defines the length of time over which an order will continue working before it is cancelled