InteractiveBrokersFeeModel
QuantConnect.Orders.Fees.InteractiveBrokersFeeModel
InteractiveBrokersFeeModel(
monthly_forex_trade_amount_in_us_dollars: float = 0,
monthly_options_trade_amount_in_contracts: float = 0,
)
Bases: FeeModel
Provides the default implementation of IFeeModel
Initializes a new instance of the ImmediateFillModel
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
monthly_forex_trade_amount_in_us_dollars
|
float
|
Monthly FX dollar volume traded |
0
|
monthly_options_trade_amount_in_contracts
|
float
|
Monthly options contracts traded |
0
|
get_order_fee
get_order_fee(parameters: OrderFeeParameters) -> OrderFee
Gets the order fee associated with the specified order. This returns the cost of the transaction in the account currency
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
parameters
|
OrderFeeParameters
|
A OrderFeeParameters object containing the security and order |
required |
Returns:
| Type | Description |
|---|---|
OrderFee
|
The cost of the order in units of the account currency. |