AlpacaFeeModel
QuantConnect.Orders.Fees.AlpacaFeeModel
Bases: FeeModel
Represents the fee model specific to Alpaca trading platform.
MAKER_CRYPTO_FEE
MAKER_CRYPTO_FEE: float = 0.0015
The fee percentage for a maker transaction in cryptocurrency.
TAKER_CRYPTO_FEE
TAKER_CRYPTO_FEE: float = 0.0025
The fee percentage for a taker transaction in cryptocurrency.
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. |