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!

想在圖表上使用此腳本?

警告:請閱讀,然後再請求訪問權限。

更多:

免責聲明