Green/Red area: Raw values of the calculated funding rate based on the XBT/USD Premium Index (.XBTUSDPI)
White line: Time-Weighted Average Price (TWAP) of the calculated funding rate
Lime/Fuchsia thick line: Predicted funding rate
White dotted line: Adjustable EMA of raw funding rate values
Midline value set to interest rate (static 0.01% as of April 21, 2017) Interest Rate (I) = (Interest Quote (Q) - Interest Base (B)) / Funding Times Per Day (T) --> I = (0.06% - 0.03%) / 3 = 0.01%
Phát hành các Ghi chú
Minor cosmetic updates.
Phát hành các Ghi chú
One more cosmetic update.
Phát hành các Ghi chú
This indicator attempts to emulate the BitMEX predicted funding rate for the XBTUSD perpetual swaps contract.
The indicator is most accurate on the 1-minute interval. It can be used on higher intervals but will lose accuracy due to smoothing.
Tip: Right-click the scale and enable the "Indicator Last Value" option.
Change Log
Tweaked MA algorithm to be more accurate shortly after funding payout
Added 8-hour funding payout markers (can be disabled from Inputs menu)
Added final 8-hour funding rate plot
Added labels to plots for easier identification in Style menu
One more MA algorithm tweak to improve accuracy shortly after the funding payout.
Phát hành các Ghi chú
Change Log
Increased default transparency of funding payout markers.
Moved payout marker symbol ($) to bottom of indicator. Tried to create an input to let the user choose top or bottom, but TV pine script does not allow series of strings.
Source code now available here. Fork it if you wanna fork.
Phát hành các Ghi chú
Better screenshot.
Phát hành các Ghi chú
Update screenshot
Phát hành các Ghi chú
Update screenshot
Phát hành các Ghi chú
Added funding rate for ETHUSD perpetual quanto swaps market (base on .ETHUSDPI). Use the drop-down menu in the indicators settings to switch.
Also removed the dollar sign payout marker because it looked dumb.
Phát hành các Ghi chú
Ported to Pine Script v4
Cosmetic updates
Add option to choose simple or exponential moving average
Preemptively add funding option for XRPUSD perpetual quanto swaps market. This won't work until BitMEX begins sending premium index data to TradingView. I assume this will start when the trading instrument is listed on Feb 5, 2020 (announcement).
Phát hành các Ghi chú
Fixed max/min funding rates for ETHUSD and XRPUSD to ±0.75% (XBTUSD max/min funding rate is ±0.375%)
Added workaround for rare issue where missing (NaN) premium index value caused predicted funding rate calculation to also be NaN
Phát hành các Ghi chú
Increased funding rate cap according to new trial reduction in base maintenance margin requirements.
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.