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

Represents the fee model specific to Alpaca trading platform. More...

Inheritance diagram for QuantConnect.Orders.Fees.AlpacaFeeModel:
[legend]

Public Member Functions

override OrderFee GetOrderFee (OrderFeeParameters parameters)
 Gets the order fee associated with the specified order. More...
 

Static Public Attributes

const decimal MakerCryptoFee = 0.0015m
 The fee percentage for a maker transaction in cryptocurrency. More...
 
const decimal TakerCryptoFee = 0.0025m
 The fee percentage for a taker transaction in cryptocurrency. More...
 

Detailed Description

Represents the fee model specific to Alpaca trading platform.

This class inherits from FeeModel and provides the fee structure for Alpaca trades. It implements the IFeeModel interface and should be used for calculating fees on the Alpaca platform.

Definition at line 27 of file AlpacaFeeModel.cs.

Member Function Documentation

◆ GetOrderFee()

override OrderFee QuantConnect.Orders.Fees.AlpacaFeeModel.GetOrderFee ( OrderFeeParameters  parameters)
virtual

Gets the order fee associated with the specified order.

Parameters
parametersA OrderFeeParameters object containing the security and order
Returns
The cost of the order in a CashAmount instance

Reimplemented from QuantConnect.Orders.Fees.FeeModel.

Definition at line 46 of file AlpacaFeeModel.cs.

Here is the call graph for this function:

Member Data Documentation

◆ MakerCryptoFee

const decimal QuantConnect.Orders.Fees.AlpacaFeeModel.MakerCryptoFee = 0.0015m
static

The fee percentage for a maker transaction in cryptocurrency.

Definition at line 33 of file AlpacaFeeModel.cs.

◆ TakerCryptoFee

const decimal QuantConnect.Orders.Fees.AlpacaFeeModel.TakerCryptoFee = 0.0025m
static

The fee percentage for a taker transaction in cryptocurrency.

Definition at line 38 of file AlpacaFeeModel.cs.


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