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

Provide extension method for IFeeModel to enable backwards compatibility of invocations. More...

Static Public Member Functions

static decimal GetOrderFee (this IFeeModel model, Security security, Order order)
 Gets the order fee associated with the specified order. This returns the cost of the transaction in the account currency More...
 

Detailed Description

Provide extension method for IFeeModel to enable backwards compatibility of invocations.

Definition at line 40 of file IFeeModel.cs.

Member Function Documentation

◆ GetOrderFee()

static decimal QuantConnect.Orders.Fees.FeeModelExtensions.GetOrderFee ( this IFeeModel  model,
Security  security,
Order  order 
)
static

Gets the order fee associated with the specified order. This returns the cost of the transaction in the account currency

Parameters
modelThe fee model
securityThe security matching the order
orderThe order to compute fees for
Returns
The cost of the order in units of the account currency

Definition at line 50 of file IFeeModel.cs.

Here is the call graph for this function:

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