ExanteFeeModel
QuantConnect.Orders.Fees.ExanteFeeModel
ExanteFeeModel(forex_commission_rate: float = 0.25)
Bases: FeeModel
Provides an implementation of FeeModel that models Exante order fees. According to: https://support.exante.eu/hc/en-us/articles/115005873143-Fees-overview-exchange-imposed-fees?source=searchhttps://exante.eu/markets/
Creates a new instance
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
forex_commission_rate
|
float
|
Commission rate for FX operations |
0.25
|
MARKET_USA_RATE
MARKET_USA_RATE: float = 0.02
Market USA rate
DEFAULT_RATE
DEFAULT_RATE: float = 0.02
Default rate
get_order_fee
get_order_fee(parameters: OrderFeeParameters) -> OrderFee
Gets the order fee associated with the specified order.
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 a CashAmount instance. |