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

Provides an implementation of FeeModel that models Binance Futures order fees More...

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

Public Member Functions

 BinanceFuturesFeeModel (decimal mUsdtFee=MakerTier1USDTFee, decimal tUsdtFee=TakerTier1USDTFee, decimal mBusdFee=MakerTier1BUSDFee, decimal tBusdFee=TakerTier1BUSDFee)
 Creates Binance Futures fee model setting fees values More...
 
- Public Member Functions inherited from QuantConnect.Orders.Fees.BinanceFeeModel
 BinanceFeeModel (decimal mFee=MakerTier1Fee, decimal tFee=TakerTier1Fee)
 Creates Binance fee model setting fees values More...
 
override OrderFee GetOrderFee (OrderFeeParameters parameters)
 Get the fee for this order in quote currency More...
 

Static Public Attributes

const decimal MakerTier1USDTFee = 0.0002m
 Tier 1 USDT maker fees https://www.binance.com/en/fee/futureFee More...
 
const decimal TakerTier1USDTFee = 0.0004m
 Tier 1 USDT taker fees https://www.binance.com/en/fee/futureFee More...
 
const decimal MakerTier1BUSDFee = 0.00012m
 Tier 1 BUSD maker fees https://www.binance.com/en/fee/futureFee More...
 
const decimal TakerTier1BUSDFee = 0.00036m
 Tier 1 BUSD taker fees https://www.binance.com/en/fee/futureFee More...
 
- Static Public Attributes inherited from QuantConnect.Orders.Fees.BinanceFeeModel
const decimal MakerTier1Fee = 0.001m
 Tier 1 maker fees https://www.binance.com/en/fee/schedule More...
 
const decimal TakerTier1Fee = 0.001m
 Tier 1 taker fees https://www.binance.com/en/fee/schedule More...
 

Protected Member Functions

override decimal GetFee (Order order)
 Gets the fee factor for the given order More...
 

Additional Inherited Members

- Static Protected Member Functions inherited from QuantConnect.Orders.Fees.BinanceFeeModel
static decimal GetFee (Order order, decimal makerFee, decimal takerFee)
 

Detailed Description

Provides an implementation of FeeModel that models Binance Futures order fees

Definition at line 23 of file BinanceFuturesFeeModel.cs.

Constructor & Destructor Documentation

◆ BinanceFuturesFeeModel()

QuantConnect.Orders.Fees.BinanceFuturesFeeModel.BinanceFuturesFeeModel ( decimal  mUsdtFee = MakerTier1USDTFee,
decimal  tUsdtFee = TakerTier1USDTFee,
decimal  mBusdFee = MakerTier1BUSDFee,
decimal  tBusdFee = TakerTier1BUSDFee 
)

Creates Binance Futures fee model setting fees values

Parameters
mUsdtFeeMaker fee value for USDT pair contracts
tUsdtFeeTaker fee value for USDT pair contracts
mBusdFeeMaker fee value for BUSD pair contracts
tBusdFeeTaker fee value for BUSD pair contracts

Definition at line 61 of file BinanceFuturesFeeModel.cs.

Member Function Documentation

◆ GetFee()

override decimal QuantConnect.Orders.Fees.BinanceFuturesFeeModel.GetFee ( Order  order)
protectedvirtual

Gets the fee factor for the given order

Parameters
orderThe order to get the fee factor for
Returns
The fee factor for the given order

Reimplemented from QuantConnect.Orders.Fees.BinanceFeeModel.

Definition at line 71 of file BinanceFuturesFeeModel.cs.

Here is the call graph for this function:

Member Data Documentation

◆ MakerTier1USDTFee

const decimal QuantConnect.Orders.Fees.BinanceFuturesFeeModel.MakerTier1USDTFee = 0.0002m
static

Tier 1 USDT maker fees https://www.binance.com/en/fee/futureFee

Definition at line 29 of file BinanceFuturesFeeModel.cs.

◆ TakerTier1USDTFee

const decimal QuantConnect.Orders.Fees.BinanceFuturesFeeModel.TakerTier1USDTFee = 0.0004m
static

Tier 1 USDT taker fees https://www.binance.com/en/fee/futureFee

Definition at line 35 of file BinanceFuturesFeeModel.cs.

◆ MakerTier1BUSDFee

const decimal QuantConnect.Orders.Fees.BinanceFuturesFeeModel.MakerTier1BUSDFee = 0.00012m
static

Tier 1 BUSD maker fees https://www.binance.com/en/fee/futureFee

Definition at line 41 of file BinanceFuturesFeeModel.cs.

◆ TakerTier1BUSDFee

const decimal QuantConnect.Orders.Fees.BinanceFuturesFeeModel.TakerTier1BUSDFee = 0.00036m
static

Tier 1 BUSD taker fees https://www.binance.com/en/fee/futureFee

Definition at line 47 of file BinanceFuturesFeeModel.cs.


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