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, чтобы узнать больше, или следуйте инструкциям автора ниже.

TradingView предлагает не платить за скрипт и не использовать его, если вы на 100% не доверяете автору и не понимаете, как этот скрипт работает. Во многих случаях вы можете найти хорошую альтернативу с открытым кодом бесплатно в наших Скриптах сообщества.

Отказ от ответственности

Все виды контента, которые вы можете увидеть на TradingView, не являются финансовыми, инвестиционными, торговыми или любыми другими рекомендациями. Мы не предоставляем советы по покупке и продаже активов. Подробнее — в Условиях использования TradingView.

Инструкции от автора

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

Хотите использовать этот скрипт на графике?

Внимание: прочтите это перед тем, как запросить доступ.