NyanPlus

Annualized Futures Spread

2つの銘柄間のスプレッドを年率換算してオシレーターの枠に表示するスクリプトです。
(BTCUSD現物とBTC-0625先物契約のような2銘柄間で使用することを想定しています。)
設定で年率換算していない生の乖離率の表示に切り替えることも可能です。

初期設定ではFTXの BTCUSDとBTCUSD-0624、BTCUSDとBTC-1231、ETHUSDとETH-0625 が指定されています。
そのまま使用しても構いませんし、設定やソースコードを編集して活用してくださって構いません。


ーーーーーーーーーーーーー
This custom script can be used to display the annualized spread rate between two specified symbols like BTCUSD and BTC-0625.

It is also possible to display raw spreads that are not annualized. (Just simply clicking the checkbox in setting.)

The default settings are BTC0625 and BTCUSD, BTC1231 and BTCUSD, and ETH0625 and ETHUSD on FTX Exchange.
You may use it as-is, or edit the settings or modify the source code as you like.

(This script was removed due to a violation of the English-Only house rule once, so this is a repost with a revised title and text.)

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?