Lean
$LEAN_TAG$
|
Provides the default implementation of IFeeModel More...
Public Member Functions | |
InteractiveBrokersFeeModel (decimal monthlyForexTradeAmountInUSDollars=0, decimal monthlyOptionsTradeAmountInContracts=0) | |
Initializes a new instance of the ImmediateFillModel More... | |
override OrderFee | GetOrderFee (OrderFeeParameters parameters) |
Gets the order fee associated with the specified order. This returns the cost of the transaction in the account currency More... | |
Static Protected Member Functions | |
static decimal | GetPotentialOrderPrice (Order order, Security security) |
Approximates the order's price based on the order type More... | |
Provides the default implementation of IFeeModel
Definition at line 26 of file InteractiveBrokersFeeModel.cs.
QuantConnect.Orders.Fees.InteractiveBrokersFeeModel.InteractiveBrokersFeeModel | ( | decimal | monthlyForexTradeAmountInUSDollars = 0 , |
decimal | monthlyOptionsTradeAmountInContracts = 0 |
||
) |
Initializes a new instance of the ImmediateFillModel
monthlyForexTradeAmountInUSDollars | Monthly FX dollar volume traded |
monthlyOptionsTradeAmountInContracts | Monthly options contracts traded |
Definition at line 54 of file InteractiveBrokersFeeModel.cs.
|
virtual |
Gets the order fee associated with the specified order. This returns the cost of the transaction in the account currency
parameters | A OrderFeeParameters object containing the security and order |
Reimplemented from QuantConnect.Orders.Fees.FeeModel.
Definition at line 70 of file InteractiveBrokersFeeModel.cs.
|
staticprotected |
Approximates the order's price based on the order type
Definition at line 200 of file InteractiveBrokersFeeModel.cs.