truenomic

Futures Annualized Rolling Basis

truenomic 已更新   
What is Annualised Rolling Basis?

Basis

In futures trading, the basis is the relative difference between the price of the future contract and the spot price.


This quantity is usually presented as an absolute price difference, but in its relative form can be annualised by dividing by the time to expiry τ of the contract expressed in years:


Rolling Basis

Let us consider a hypothetical contract starting today with a given tenor of 1 month (1M) or 3 months (3M). Such a contract does not necessarily trade in the market and thus has no observable price to calculate the basis. The rolling basis is the basis between this ’bespoke’ contract and the spot.

This quantity is inferred from existing contracts’ basis and the calculation is accomplished in two steps:

1. Forward yield

First, we select two futures contracts with expiries T1 and T2 surrounding the hypothetical contract’s expiry Ttarget (T1 ≤ Ttarget ≤ T2). The forward yield is calculated as:


Where:

  • Ti: time to maturity for contract i
  • BASISi: annualised basis for contract i

2. Weighted Basis Average

The rolling basis is calculated as a weighted average between the first contract’s basis and the forward yield:


The description of the indicator was copied from another source, but fully corresponds to this indicator.
版本注释:
UPD of futures
版本注释:
Updated futures and some calculations
版本注释:
Update
版本注释:
  • Update
版本注释:
upd futures
版本注释:
Data update

仅限邀请脚本

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

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

免责声明

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

作者的说明

To get access to the indicator, you should contact me in a Direct Message!

想在图表上使用此脚本?

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