CryptoPlebbi

FTX Funding Rates

CryptoPlebbi Cập nhật   
Indexes updated: 2021-07-27

This study tries to estimate the FTX funding rate using historical data and index definitions provided by FTX. The funding rate calculated is not exactly the same as FTX reports due to underlying limitations in TV.

Limitations

1. TWAP
FTX calculates the index price by TWAP which is average every 5s over the the whole hour. As far as I know, it's not possible to do this in Tradingview.

2. Change in INDEX definition
If a definition of an index changes in FTX, then this script is of course not up-to-date. Also, if a security is added to an index, then the historical funding rate will also change, even though said security wasn't apart of the past funding rate.

3. Supported tickers
The supported tickers are: BTC, ETH, SOL, ALGO, SAND, CLV and AXS
Phát hành các Ghi chú:
Version 0.2
Added more tickers, current supported tickers are: BTC, ETH, SOL, ALGO, SAND, CLV, AXS, THETA, GRT, LINK, SC, LUNA, PERP, FTT, PUNDIX, SUSHI
Added more options for average line
Phát hành các Ghi chú:
Added almost all the PERPS from FTX.

  • Did not add BTC/ETH/USD* pairs
  • Some exchanges used in the PERP index by FTX are not available on TV
Phát hành các Ghi chú:
Removed redundant inputs
Phát hành các Ghi chú:
Update chart.
Phát hành các Ghi chú:
Change plot style and color.
* Green bar = Positive funding and agrees with funding SMA
* Red bar = Negative funding and agrees with funding SMA
* Yellow bar = Goes against the funding SMA
Phát hành các Ghi chú:
Fixed the Dawn pair calculation.
Phát hành các Ghi chú:
Fixed RAY (They dropped the USDT pair from their index)
Phát hành các Ghi chú:
Update chart.
Phát hành các Ghi chú:
Updated XRP funding calculation.
Please send me a message if there seems to be an issue, FTX index's are constantly changing and I don't have the time to check every single perp for errors :)

FYI!!
Past data for funding is not accurate! I.e, if funding was negative for example on 21. January 2020 it might actually have been positive at that time, it's just that the underlying index has changed, which affects the past calculations as well.
Phát hành các Ghi chú:

  • Added newest index data from FTX.
  • Added BTC and ETH pairs for funding calculation (Previously only USD pairs where available)

Please note!
On the FTX Index site they state that "All elements are capped at 30bp divergence from the median" - I am not doing this step, so there is going to be more variations in this funding indicator vs theirs.
I don't use BITTREX TUSD
Phát hành các Ghi chú:
Fix missing values when looking very far back (Will only give approximate values here, FTX hasn't been around long)
Phát hành các Ghi chú:
Reverted the fix - This will only show funding for the time-range of FTX - Maybe I can create a fix for the future later.
Phát hành các Ghi chú:
Remove graphics from chart - This part is annoying..
Phát hành các Ghi chú:
Removed Coinbase from index (Some price issues seems to be going on there, showing 19k BTC when FTX is showing 20k)
Phát hành các Ghi chú:
  • Removed all Coinbase USDC pairs (Coinbase merged all USD and USDC pairs)
Phát hành các Ghi chú:
Removed Binance - USDC pairs
Phát hành các Ghi chú:
Updated chart
Mã được bảo vệ
Tập lệnh này được xuất bản mã nguồn đóng và bạn có thể sử dụng một cách tự do. Bạn có thể yêu thích nó để sử dụng nó trên biểu đồ. Bạn không thể xem hoặc sửa đổi mã nguồn.
Thông báo miễn trừ trách nhiệm

Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.

Bạn muốn sử dụng tập lệnh này trên biểu đồ?