TradeStationFeeModel
QuantConnect.Orders.Fees.TradeStationFeeModel
TradeStationFeeModel(us_resident: bool = True)
Bases: FeeModel
Represents a fee model specific to TradeStation.
Initializes a new instance of the TradeStationFeeModel class.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
us_resident
|
bool
|
A boolean value indicating whether the entity or person is a US resident. Default is true. |
True
|
us_resident
us_resident: bool
Gets or sets a value indicating whether the entity or person is a resident of the United States.
get_order_fee
get_order_fee(parameters: OrderFeeParameters) -> OrderFee
Calculates the order fee based on the security type and order parameters.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
parameters
|
OrderFeeParameters
|
The parameters for the order fee calculation, which include security and order details. |
required |
Returns:
| Type | Description |
|---|---|
OrderFee
|
An OrderFee instance representing the calculated order fee. |