Skip to content

FeeModel

QuantConnect.Orders.Fees.FeeModel

Bases: Object, IFeeModel

Base class for any order fee model

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.