BitfinexFeeModel
QuantConnect.Orders.Fees.BitfinexFeeModel
Bases: FeeModel
Provides an implementation of FeeModel that models Bitfinex order fees
MAKER_FEE
MAKER_FEE: float = 0.001
Tier 1 maker fees Maker fees are paid when you add liquidity to our order book by placing a limit order under the ticker price for buy and above the ticker price for sell. https://www.bitfinex.com/fees
TAKER_FEE
TAKER_FEE: float = 0.002
Tier 1 taker fees Taker fees are paid when you remove liquidity from our order book by placing any order that is executed against an order of the order book. Note: If you place a hidden order, you will always pay the taker fee. If you place a limit order that hits a hidden order, you will always pay the maker fee. https://www.bitfinex.com/fees
get_order_fee
get_order_fee(parameters: OrderFeeParameters) -> OrderFee
Get the fee for this order in quote currency
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 quote currency. |