|
Lean
$LEAN_TAG$
|
Represents a fee model specific to TradeStation. More...
Public Member Functions | |
| TradeStationFeeModel (bool usResident=true) | |
| Initializes a new instance of the TradeStationFeeModel class. More... | |
| override OrderFee | GetOrderFee (OrderFeeParameters parameters) |
| Calculates the order fee based on the security type and order parameters. More... | |
Properties | |
| bool | USResident [get, set] |
| Gets or sets a value indicating whether the entity or person is a resident of the United States. More... | |
Represents a fee model specific to TradeStation.
It is $0 for domestic and $5 for international clients for normal equities trades up to 10,000 shares, then $0.005 per share after. Options are $0.60 per contract, per side, and an extra $1 for index options
Definition at line 30 of file TradeStationFeeModel.cs.
| QuantConnect.Orders.Fees.TradeStationFeeModel.TradeStationFeeModel | ( | bool | usResident = true | ) |
Initializes a new instance of the TradeStationFeeModel class.
| usResident | A boolean value indicating whether the entity or person is a US resident. Default is true. |
Definition at line 67 of file TradeStationFeeModel.cs.
|
virtual |
Calculates the order fee based on the security type and order parameters.
| parameters | The parameters for the order fee calculation, which include security and order details. |
| ArgumentNullException | Thrown when parameters is null. |
Reimplemented from QuantConnect.Orders.Fees.FeeModel.
Definition at line 82 of file TradeStationFeeModel.cs.
|
getset |
Gets or sets a value indicating whether the entity or person is a resident of the United States.
true if the entity or person is a US resident; otherwise, false.
Definition at line 58 of file TradeStationFeeModel.cs.