The resource loading... loading...

Binance Funding Fee Henge strategy for traditional account verision

Author: ChaoZhang, Date: 2024-01-15 08:53:00
Tags:

Note, this version is for the Binance Classic account. If you need the Binance Unified account version or the OKX version, please contact the administrator.

Telegram https://t.me/fmz_zhang

FMZ quantitative trading platform use teaching

https://www.youtube.com/watch?v=hlkvrRqEHTE

Binance Funding Fee Henge strategy Video Guide

https://www.youtube.com/watch?v=pNA7GS6Ak_0

Live Observation

https://www.fmz.com/robot/564099

Perpetual Contracts and Funding Rates

In the case of delivery contracts, the further the delivery date and the greater the price fluctuation, the more the contract price may deviate from the spot price. However, on the delivery date, it will be forcibly settled based on the spot price, so the price will eventually return. Unlike delivery contracts with scheduled delivery, perpetual contracts can be held indefinitely. A mechanism is needed to ensure that the contract price is consistent with the spot price, and this mechanism is called the funding rate mechanism. If the price is bullish for a period of time and there are many long positions, it will lead to the perpetual price being higher than the spot price. In such cases, the funding rate is generally positive, meaning that the long side has to pay fees to the short side based on their positions, and the larger the deviation from the market, the higher the rate. This makes the price tend to fall. Trading long positions in perpetual contracts is essentially borrowing money to leverage, and there is a cost to using capital, so most of the time, the rate is generally around 0.01%. The funding rate is collected every 8 hours or 4 hours, so the perpetual price often closely follows the spot price.

Shorting perpetual contracts, going long on spot, and holding for the long term can theoretically be immune to fluctuations in the cryptocurrency’s price and earn long-term positive funding rate income.

Risk Analysis and Mitigation

Negative Rates

The rate can go as low as -2%. If it occurs once, the loss is equivalent to the profit of 200 times at a rate of 0.01%. The solution is to diversify and hedge, meaning that if you hedge against more than 30 positions at a time, the loss from one cryptocurrency will only account for a small portion. In addition, when encountering this situation, it is necessary to close positions in advance. However, due to transaction fees and closing costs, you should not close positions just because the rate is negative. Generally, rates below -0.2% can be closed to avoid this. Generally, when there is a negative rate, the perpetual price is lower than the spot price, and the negative spread allows for potential profits after deducting transaction fees.

Spread Changes

Generally, a positive rate means that there is a premium for perpetual contracts over the spot market. If the premium is high, there may also be profits from the premium’s regression. However, the strategy always holds positions for the long term, so it does not pursue this part of the profit. It is important not to open positions with high negative spreads. However, in the long run, the issue of spread changes can be ignored.

Contract Liquidation Risk

Due to diversified hedging, this risk is much smaller. Taking 5x leverage in perpetual contracts as an example, unless the overall price rises by 20%, there is a possibility of liquidation. And because of spot hedging, there is no loss at this time. Just transfer funds by closing positions or ensure that additional margin can be added at any time. The higher the perpetual contract leverage, the higher the capital utilization rate, and the higher the risk of contract liquidation.

Long-Term Bear Market

In a bull market, rates are mostly positive, and many cryptocurrencies have an average rate that can exceed 2%. Occasionally, there are very high rates. If the market turns into a long-term bear market, the average rate will decrease, and the probability of large negative rates will increase, reducing profits.

Specific Strategy Ideas

  1. Automatically filter cryptocurrencies or manually specify cryptocurrencies based on historical funding rates. Only trade when the rate exceeds the set threshold.
  2. Obtain the current rate, start hedging futures and spot simultaneously when it exceeds the set threshold, and fix a certain value.
  3. If the price of a single cryptocurrency rises too much, the strategy can automatically close the position to avoid excessive risk in perpetual contracts.
  4. If the rate of a certain cryptocurrency is too low, it needs to be closed to avoid being charged fees.
  5. Since there are no requirements for the speed of opening positions, both opening and closing positions use iceberg orders to reduce impact.

Conclusion

The fee extraction strategy is generally low-risk, has a large capital capacity, is relatively stable, and has low profits. It is suitable for those who pursue low-risk arbitrage opportunities. If your trading funds are idle, consider running this strategy, which can provide higher returns than the exchange’s financial products.


More

Quantitative work on SupermanWhy can't I see the real disk?

Crypto JoeHow do you get the current capital rate on the binary futures as if there is no API?

STARSEAQ2What's the difference between Unified Account and Classic Account?

liangbaikuanSupergod, is there a special configuration requirement for the server?

Crypto JoeThank you! I always thought the last funding rate returned by this interface was the last funding rate. I was wondering if I needed to calculate it myself using indexPrice.

ChaoZhangThe latest marked prices and capital rates /fapi/v1/premiumIndex /fapi/v1/fundingRate Search carefully

ChaoZhangThe only difference is that the account types are different, the unified account cannot use the API of the classic account, so it is divided into two versions.

ChaoZhangThe minimum allocation can be configured to a better one if the conditions are met.

liangbaikuanThank you vcpu if there are any requirements or low rates.

ChaoZhangNo, it's better to have AWS Tokyo.