|
Lean
$LEAN_TAG$
|
Provides an order fee model that always returns the same order fee. More...
Public Member Functions | |
| ConstantFeeModel (decimal fee, string currency="USD") | |
| Initializes a new instance of the ConstantFeeModel class with the specified fee More... | |
| override OrderFee | GetOrderFee (OrderFeeParameters parameters) |
| Returns the constant fee for the model in units of the account currency More... | |
Provides an order fee model that always returns the same order fee.
Definition at line 24 of file ConstantFeeModel.cs.
| QuantConnect.Orders.Fees.ConstantFeeModel.ConstantFeeModel | ( | decimal | fee, |
| string | currency = "USD" |
||
| ) |
Initializes a new instance of the ConstantFeeModel class with the specified fee
| fee | The constant order fee used by the model |
| currency | The currency of the order fee |
Definition at line 34 of file ConstantFeeModel.cs.
|
virtual |
Returns the constant fee for the model in units of the account currency
| parameters | A OrderFeeParameters object containing the security and order |
Reimplemented from QuantConnect.Orders.Fees.FeeModel.
Definition at line 46 of file ConstantFeeModel.cs.