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

Provides an implementation of FeeModel that models FXCM order fees More...

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

Public Member Functions

 FxcmFeeModel (string currency="USD")
 Creates a new instance More...
 
override OrderFee GetOrderFee (OrderFeeParameters parameters)
 Get the fee for this order in units of the account currency More...
 

Detailed Description

Provides an implementation of FeeModel that models FXCM order fees

Definition at line 25 of file FxcmFeeModel.cs.

Constructor & Destructor Documentation

◆ FxcmFeeModel()

QuantConnect.Orders.Fees.FxcmFeeModel.FxcmFeeModel ( string  currency = "USD")

Creates a new instance

Parameters
currencyThe currency of the order fee, for FXCM this is the account currency

Definition at line 44 of file FxcmFeeModel.cs.

Member Function Documentation

◆ GetOrderFee()

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

Get the fee for this order in units of the account currency

Parameters
parametersA OrderFeeParameters object containing the security and order
Returns
The cost of the order in units of the account currency

Reimplemented from QuantConnect.Orders.Fees.FeeModel.

Definition at line 55 of file FxcmFeeModel.cs.


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