Lean
$LEAN_TAG$
|
Provides an implementation of FeeModel that models Binance Futures order fees More...
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 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) |
Gets the fee factor for the given order taking into account the maker and the taker fee More... | |
Provides an implementation of FeeModel that models Binance Futures order fees
Definition at line 23 of file BinanceFuturesFeeModel.cs.
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
mUsdtFee | Maker fee value for USDT pair contracts |
tUsdtFee | Taker fee value for USDT pair contracts |
mBusdFee | Maker fee value for BUSD pair contracts |
tBusdFee | Taker fee value for BUSD pair contracts |
Definition at line 61 of file BinanceFuturesFeeModel.cs.
|
protectedvirtual |
Gets the fee for the given order
Reimplemented from QuantConnect.Orders.Fees.BinanceFeeModel.
Definition at line 74 of file BinanceFuturesFeeModel.cs.
|
static |
Tier 1 USDT maker fees https://www.binance.com/en/fee/futureFee
Definition at line 29 of file BinanceFuturesFeeModel.cs.
|
static |
Tier 1 USDT taker fees https://www.binance.com/en/fee/futureFee
Definition at line 35 of file BinanceFuturesFeeModel.cs.
|
static |
Tier 1 BUSD maker fees https://www.binance.com/en/fee/futureFee
Definition at line 41 of file BinanceFuturesFeeModel.cs.
|
static |
Tier 1 BUSD taker fees https://www.binance.com/en/fee/futureFee
Definition at line 47 of file BinanceFuturesFeeModel.cs.