FxcmFeeModel
QuantConnect.Orders.Fees.FxcmFeeModel
FxcmFeeModel(currency: str = 'USD')
Bases: FeeModel
Provides an implementation of FeeModel that models FXCM order fees
Creates a new instance
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
currency
|
str
|
The currency of the order fee, for FXCM this is the account currency |
'USD'
|
get_order_fee
get_order_fee(parameters: OrderFeeParameters) -> OrderFee
Get the fee for this order in units of 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. |