Bybit fee model implementation
More...
|
virtual decimal | GetFee (Order order) |
| Gets the fee factor for the given order More...
|
|
Bybit fee model implementation
Definition at line 24 of file BybitFeeModel.cs.
◆ BybitFeeModel()
Creates Binance fee model setting fees values
- Parameters
-
mFee | Maker fee value |
tFee | Taker fee value |
Definition at line 46 of file BybitFeeModel.cs.
◆ GetOrderFee()
override OrderFee BybitFeeModel.GetOrderFee |
( |
OrderFeeParameters |
parameters | ) |
|
Gets the order fee associated with the specified order.
- Parameters
-
parameters | A OrderFeeParameters object containing the security and order |
- Returns
- The cost of the order in a CashAmount instance
Definition at line 58 of file BybitFeeModel.cs.
◆ GetFee()
virtual decimal BybitFeeModel.GetFee |
( |
Order |
order | ) |
|
|
protectedvirtual |
Gets the fee factor for the given order
- Parameters
-
order | The order to get the fee factor for |
- Returns
- The fee factor for the given order
Definition at line 98 of file BybitFeeModel.cs.
◆ MakerNonVIPFee
const decimal BybitFeeModel.MakerNonVIPFee = 0.001m |
|
static |
◆ TakerNonVIPFee
const decimal BybitFeeModel.TakerNonVIPFee = 0.001m |
|
static |
The documentation for this class was generated from the following file: