Skip to content

OrderFeeParameters

QuantConnect.Orders.Fees.OrderFeeParameters

OrderFeeParameters(security: Security, order: Order)
OrderFeeParameters(
    security: Security, order: Order, fill_price: float
)

Bases: Object

Defines the parameters for IFeeModel.get_order_fee

Signature descriptions:

  • Initializes a new instance of the OrderFeeParameters class

  • Initializes a new instance of the OrderFeeParameters class for a filled order

Parameters:

Name Type Description Default
security Security

The security

required
order Order

The order

required
fill_price Optional[float]

The price the order filled at, in the security's quote currency

None

security

security: Security

Gets the security

order

order: Order

Gets the order

fill_price

fill_price: Optional[float]

Gets the price the order filled at, in the security's quote currency, or null before it fills