资源加载中... 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

量化超人 实盘怎么看不了了?

Crypto Joe 请问币安期货的当期资金费率是怎么获取的?好像没有 API 可以获取?

STARSEAQ2 统一账户和经典账户版本有什么区别?

liangbaikuan 超神,服务器是否有特殊配置要求

Crypto Joe 谢谢!我之前一直以为这个接口返回的 lastFundingRate 是上一次的 funding rate。。还在想难道需要自己用 indexPrice 去算出来

ChaoZhang 最新标记价格和资金费率 /fapi/v1/premiumIndex 查询资金费率历史 /fapi/v1/fundingRate 仔细找找

ChaoZhang 功能都一样,就是账户类型不一样,统一账户不能使用经典账户的API,所以分了两个版本

ChaoZhang 最低配即可,如条件可以上一个好点的配置

liangbaikuan 感谢 vcpu是否有相关要求 还是低配即可

ChaoZhang 没有,最好是AWS东京