UnknownUnicorn2188849

Futures Basis

Futures basis.

Compares BTC futures to a spot index and shows the difference as a percentage.
By default quarterly futures are used, which you'll manually have to update (type new ticker) when the roll happens.
However I'll probably do it myself every time they settle.

You could also use this for futures of a different coin like ETH for example, but then you'll have to change the index which you can do in the settings.

You can also turn on an average calculation of all the futures selected.

Made for friends.
版本注释:
Title update.
版本注释:
Couple changes.

You can now exclude certain markets in the input settings.
The average futures basis will now calculate the average only of the markets selected (so it adapts if you exclude markets).

If you want a market to be part of the calculation but you don't want to the line, just turn it off in the style settings (keep it on in the input settings).

Shout-out to @dogepgp for helping me with this.
版本注释:
Smol convenience update.

It's easier now to switch between all markets and only the average futures basis.
版本注释:
Okex already rolled over automatically so I updated all the contracts to the next expiry September.
仅限邀请脚本

仅限作者授权的用户访问此脚本,并且通常需要付费。您可以将其添加到收藏中,但是只有在向作者请求并获得许可之后,才能使用它。 请与UnknownUnicorn2188849联系以获取更多信息,或按照以下作者的说明进行操作。

在您100%信任脚本作者并了解脚本的工作原理之前,TradingView不建议您购买脚本并使用它。在很多情况下,您可以在我们的公共指标库中免费找到一个不错的开源替代品。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

作者的说明

此脚本的作者无法再授予对其的访问权限。请不要请求访问权限。

想在图表上使用此脚本?

警告:请阅读,然后再请求访问权限。