Lean  $LEAN_TAG$
QuantConnect.Orders.Fees.TradeStationFeeModel Class Reference

Represents a fee model specific to TradeStation. More...

Inheritance diagram for QuantConnect.Orders.Fees.TradeStationFeeModel:
[legend]

Public Member Functions

override OrderFee GetOrderFee (OrderFeeParameters parameters)
 Calculates the order fee based on the security type and order parameters. More...
 

Properties

bool USResident = true [get, set]
 Gets or sets a value indicating whether the entity or person is a resident of the United States. More...
 

Detailed Description

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.

Member Function Documentation

◆ GetOrderFee()

override OrderFee QuantConnect.Orders.Fees.TradeStationFeeModel.GetOrderFee ( OrderFeeParameters  parameters)
virtual

Calculates the order fee based on the security type and order parameters.

Parameters
parametersThe parameters for the order fee calculation, which include security and order details.
Returns
An OrderFee instance representing the calculated order fee.
Exceptions
ArgumentNullExceptionThrown when parameters is null.

Reimplemented from QuantConnect.Orders.Fees.FeeModel.

Definition at line 65 of file TradeStationFeeModel.cs.

Property Documentation

◆ USResident

bool QuantConnect.Orders.Fees.TradeStationFeeModel.USResident = true
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 53 of file TradeStationFeeModel.cs.


The documentation for this class was generated from the following file: