INVITE-ONLY SCRIPT

Futures Annualized Rolling Basis

已更新
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
annualizedrollingbasisARBbasisrollingVolatility

仅限邀请脚本

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

TradingView不建议付费使用脚本,除非您100%信任作者并了解脚本的工作原理。在许多情况下,您可以在我们的社区脚本免费找到不错的开源替代方案。

作者的说明

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

想在图表上使用此脚本?

警告:请在申请访问权限之前阅读

更多:

免责声明