BybitFuturesFeeModel
QuantConnect.Orders.Fees.BybitFuturesFeeModel
BybitFuturesFeeModel(
maker_fee: float = ..., taker_fee: float = ...
)
Bases: BybitFeeModel
Bybit futures fee model implementation
Initializes a new instance of the BybitFuturesFeeModel class
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
maker_fee
|
float
|
The accounts maker fee |
...
|
taker_fee
|
float
|
The accounts taker fee |
...
|
MAKER_NON_VIP_FEE
MAKER_NON_VIP_FEE: float = 0.0002
Tier 1 maker fees https://learn.bybit.com/bybit-guide/bybit-trading-fees/
TAKER_NON_VIP_FEE
TAKER_NON_VIP_FEE: float = 0.00055
Tier 1 taker fees https://learn.bybit.com/bybit-guide/bybit-trading-fees/
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. |