Skip to content

TastytradeFeeModel

QuantConnect.Orders.Fees.TastytradeFeeModel

Bases: FeeModel

Represents a fee model specific to Tastytrade.

get_order_fee

get_order_fee(parameters: OrderFeeParameters) -> OrderFee

Gets the order fee for a given security and order.

Parameters:

Name Type Description Default
parameters OrderFeeParameters

The parameters including the security and order details.

required

Returns:

Type Description
OrderFee

A OrderFee instance representing the total fee for the order, or OrderFee.ZERO if no fee is applicable.