Skip to content
Skip to main content
DigiCalcs

Напреднали финанси и бизнес

Basis Trading Calculator

What is Basis Trading Calculator?

▾

Базисната търговия е стратегия, която се стреми да спечели от разликата (базата) между цената на фючърсен договор и справедливата стойност, подразбираща се от основния спот пазар, или между два свързани фючърсни договора, когато тази разлика се отклонява от своето теоретично или историческо равновесие. Базата е официално дефинирана като: Базис = спот цена − фючърсна цена (или понякога фючърс − спот, в зависимост от конвенцията и пазара). На стоковите пазари базата отразява разликите в местоположението (транспортни разходи, капацитет на тръбопровода), разликите в качеството между доставената и спот стоката, стойността на парите във времето (разходите за пренасяне) и условията на търсене и предлагане в конкретни точки на доставка. Базисните търговци заемат едновременни дълги и къси позиции в свързани инструменти – например закупуване на физическа пшеница в местния асансьор и продажба на фючърси на пшеница CBOT – за да спечелят спреда, когато се затвори към справедливата стойност, вместо да спекулират с посоката на окончателните цени. Тази стратегия има по-нисък риск от директната насочена търговия, тъй като и двата крака са склонни да се движат заедно, но не е безрискова: спредът може да се разшири допълнително, преди да се сближи, а логистиката на доставката, разходите за съхранение и неочакваните прекъсвания на доставките могат да повлияят неочаквано на базата. На пазарите с фиксиран доход, базисната търговия обикновено се отнася до търговия между съкровищни ​​облигации и съкровищни ​​фючърси, като се използва опцията, вградена в механизма за най-евтината доставка (CTD). При суровия петрол базисните сделки между WTI и Brent или между различни точки за доставка на тръбопроводи (напр. WTI Midland срещу WTI Cushing) са сред най-силно търгуваните стокови базисни отношения в света.

DigiCalcs delivers precision-engineered tools for engineers and STEM professionals.

Формула

▾
f(x)Basis = Spot Price − Futures Price (or sometimes Futures − Spot, dep

Variable Legend

▾
СимволИмеЕдиницаОписание
BasisОсноваprice unitsРазлика между спот цената и фючърсната цена; положителен означава назад, отрицателен означава contango.
SСпот ценаpriceТекуща пазарна цена в брой за незабавна доставка на определено място и качество.
FФючърсна ценаpriceТекущата пазарна цена на фючърсния договор, използван в основната търговия.
FV_BasisБаза на справедливата стойностprice unitsТеоретично обоснована основа, като се има предвид цената на превоза, разликите в местоположението и корекциите на качеството.
Basis_PnLОсновни търговски печалби и загубиprice unitsПечалба или загуба от промяната в основата между влизане и излизане от сделката.
Roll_YieldДобив на ролкаpercent per periodПечалба или загуба от прехвърляне на фючърсна позиция от един договорен месец към следващия.

How to Basis Trading Calculator

▾
  1. 1Изчислете текущата база: База = Спот цена − Най-близката фючърсна цена.
  2. 2Определете базата на справедливата стойност, като използвате разходите за пренасяне: FV_Basis = −S × (r + u − c) × T (отрицателно контанго, положително назад).
  3. 3Определете дали действителната база е богата или евтина спрямо справедливата стойност.
  4. 4Ако базата е твърде широка (спот твърде висока срещу фючърси), продайте спот и купете фючърси (база продажба).
  5. 5Ако базата е твърде тясна (спот твърде ниска срещу фючърси), купувайте спот и продавайте фючърси (база купуване).
  6. 6Изчислете приходите и разходите при изход: Basis_PnL = (База за изход − База за влизане) × Договорни единици.
  7. 7Отчитайте разходите за пренасяне (финансиране и съхранение) и разходите за прехвърляне, когато оценявате общата възвръщаемост на стратегията.

Worked Examples

▾
Example 1Търговия на основата на царевица — местен елеватор срещу CBOT
Given:Местна елеваторна царевица: $4,50/бушел; CBOT декември фючърси: $4,75; историческа база: -$0,15; текуща база: -$0,25
Резултат:Базата е с 10 цента по-широка от историческата; купувайте местна царевица, продавайте CBOT фючърси; целева печалба $0,10/бушел, ако базата се върне

Местно пренасищане с разширена база; катализаторът за съхранение се очаква да го стесни

Текущата база от -$0,25 (спот $0,25 под фючърсите) е необичайно широка в сравнение с историческата средна стойност от -$0,15. Базисният търговец купува царевица в местния асансьор на $4,50 и едновременно с това продава CBOT декемврийски фючърси на $4,75, като заключва база -$0,25. Ако базата се стесни до -$0,15 през следващите седмици (тъй като местните асансьори се запълнят и спот търсенето се повиши), търговецът печели $0,10 на бушел, независимо дали цените на царевицата като цяло се движат нагоре или надолу.

Example 2WTI Midland срещу WTI Cushing базова търговия
Given:WTI Midland: $77,50; WTI Cushing (NYMEX CL): $80,00; историческа отстъпка от Midland: -$1,50; текуща: -$2,50
Резултат:Необичайно - $1 разширяване срещу история; купете Midland, продайте CL; печалба, ако спредът се върне на -$1,50

Претоварването на тръбопровода доведе до временно разширяване; Разпространението на пермския басейн

Пермският басейн WTI Midland обикновено се търгува със скромна отстъпка спрямо WTI Cushing поради разходите за транспортиране по тръбопровод. Когато капацитетът на тръбопровода се стегне – както по време на свиването на тръбопровода в Перм през 2018 г. – отстъпката се увеличава драстично. Основен търговец, купуващ физически обект от Midland и продаващ NYMEX CL, улавя необичайната отстъпка, печелейки, когато новият капацитет на тръбопровода влезе онлайн и спредът се нормализира. Търговията изисква действителна физическа петролна инфраструктура или финансови петролни продукти, които проследяват цените на Midland.

Example 3Търговия на трезорна основа — CTD анализ
Given:10-годишна Т-облигация в движение: доходност 4,50%, цена 100,25; ZN фючърси: 100.05; имплицитно репо: 4,80%; GC repo: 5,30%
Резултат:Подразбиращо се репо (4,80%) < GC репо (5,30%); CTD облигацията е евтина за доставка; фючърсите са богати; продавайте фючърси, купувайте CTD

Класическа търговия на трежъри база кеш-енд-кери; често срещан сред първичните дилъри

Подразбиращият се репо лихвен процент за най-евтините за доставка съкровищни ​​облигации е 4,80%, което е с 50 базисни пункта под общия репо лихвен процент за обезпечение от 5,30%. Това означава, че закупуването на облигацията, пренасянето й чрез репо финансиране и предоставянето й във фючърсния договор генерира безрискова печалба от 50 базисни точки на годишна база. Първичните дилъри и хедж фондовете извършват тази търговия широко, поради което базата на държавните облигации рядко се отклонява с повече от 1-2 базисни точки от справедливата стойност на ликвидни пазари.

Example 4Търговия спред Brent-WTI
Given:Брент спот: $85,50; WTI спот: $82.00; исторически спред Brent-WTI: +$3,00; текущ спред: +$3,50
Резултат:Spread 50 cents above historical; sell Brent/buy WTI; target profit $0.50/bbl if mean-reversion occurs

Spread driven by temporary North Sea supply disruption; expected to normalize

The Brent-WTI spread of $3.50 is wider than the historical average of $3.00, driven by a temporary supply disruption in the North Sea. A relative value trader sells Brent crude futures (or ICE Brent) and buys WTI futures, expressing a view that the spread will narrow back to $3.00. The trade has no directional oil price risk — it profits or loses based solely on the Brent-WTI spread movement. Position size is calibrated to account for the different contract specifications (ICE Brent = 1,000 bbls, NYMEX WTI = 1,000 bbls).

Real-World Applications

▾
🏗️

Grain elevator operators and farmers managing local price risk. This application is commonly used by professionals who need precise quantitative analysis to support decision-making, budgeting, and strategic planning in their respective fields

🔬

Oil refiners and producers hedging production with futures. Industry practitioners rely on this calculation to benchmark performance, compare alternatives, and ensure compliance with established standards and regulatory requirements, helping analysts produce accurate results that support strategic planning, resource allocation, and performance benchmarking across organizations

📊

Primary dealers managing Treasury inventory via cash-futures basis. Academic researchers and students use this computation to validate theoretical models, complete coursework assignments, and develop deeper understanding of the underlying mathematical principles

🏥

Commodity trading firms exploiting location and quality differentials. Financial analysts and planners incorporate this calculation into their workflow to produce accurate forecasts, evaluate risk scenarios, and present data-driven recommendations to stakeholders

⚙️

Hedge funds running relative value strategies in commodity markets. This application is commonly used by professionals who need precise quantitative analysis to support decision-making, budgeting, and strategic planning in their respective fields

Special Cases

▾

In practice, this edge case requires careful consideration because standard assumptions may not hold. When encountering this scenario in basis trading calculator calculations, practitioners should verify boundary conditions, check for division-by-zero risks, and consider whether the model's assumptions remain valid under these extreme conditions.

In practice, this edge case requires careful consideration because standard assumptions may not hold. When encountering this scenario in basis trading calculator calculations, practitioners should verify boundary conditions, check for division-by-zero risks, and consider whether the model's assumptions remain valid under these extreme conditions.

In practice, this edge case requires careful consideration because standard assumptions may not hold. When encountering this scenario in basis trading calculator calculations, practitioners should verify boundary conditions, check for division-by-zero risks, and consider whether the model's assumptions remain valid under these extreme conditions.

Typical US Corn Basis by Delivery Location (Cents per Bushel vs. CBOT, Harvest Season)

▾
LocationHistorical Basis RangeSeasonal PatternKey Driver
Central Illinois elevator-5 to -25¢Widens at harvestLocal storage capacity
Gulf (New Orleans) export terminal+15 to +35¢Narrows with export demandExport barge costs
Western Iowa elevator-20 to -40¢Widens at harvestTransportation to CBOT delivery
Nebraska ethanol plant+5 to +20¢Stable; demand-drivenEthanol margin and corn demand
Eastern Indiana elevator-5 to -20¢Harvest-driven wideningLocal basis relative to Toledo

Frequently Asked Questions

▾
Q

What determines the basis in commodity markets?

A

The basis in commodity markets is determined by: (1) transportation and logistical costs between the local market and the futures delivery point; (2) quality differentials between local grades and the deliverable specification; (3) local supply and demand imbalances; (4) cost of carry (storage, financing, insurance); and (5) seasonal factors related to harvest, weather, and demand patterns. Basis tends to be more predictable within harvest seasons and becomes more volatile around crop reports, extreme weather, and infrastructure disruptions.

Q

What is the cheapest-to-deliver (CTD) bond in Treasury basis trading?

A

Treasury note and bond futures allow the short position to deliver any eligible Treasury security from a basket of eligible bonds (bonds within a specified maturity range). The deliverer naturally chooses to deliver the bond that minimizes their cost — the cheapest-to-deliver bond. The futures price is anchored to the CTD bond's price divided by the conversion factor. Identifying the CTD and how it might change as yields move (CTD switching risk) is the central analytical challenge in Treasury basis trading.

Q

How is the implied repo rate used in basis trading?

A

The implied repo rate is the financing rate that would make buying the bond, repo-financing it, and delivering it into the futures contract exactly break even. It's calculated by solving for the rate that equates the futures delivery proceeds to the total cost of the carry. Comparing the implied repo to the actual repo rate reveals whether futures are rich or cheap. If implied repo > actual repo, the basis trade is profitable (buy bond, sell futures); if implied repo < actual repo, the futures are cheap.

Q

What is location basis and how is it traded?

A

Location basis reflects the price differential between a commodity at two geographic locations, driven by transportation costs (pipeline tariffs, truck/rail rates), regional supply-demand imbalances, and infrastructure constraints. In the US oil market, key location bases include WTI Midland vs. WTI Cushing, and WTI vs. LLS (Louisiana Light Sweet). Trading location basis requires either physical commodity infrastructure or access to price-specific derivative instruments (OTC swaps referencing specific location prices minus the NYMEX benchmark).

Q

What risks remain in basis trading?

A

Despite its market-neutral appearance, basis trading carries several risks: (1) basis risk — the spread can move in the wrong direction before reverting; (2) liquidity risk — the basis trade leg in the cash or spot market may be harder to exit than the futures leg; (3) delivery risk — actually having to make or take delivery if positions are not unwound before expiration; (4) credit risk — counterparty default in bilateral OTC basis contracts; and (5) margin risk — futures variation margin calls may create funding pressure during periods of adverse price moves.

Q

How does seasonality affect commodity basis?

A

Agricultural commodity bases follow highly predictable seasonal patterns. After the harvest in the US (corn: October, wheat: June-July, soybeans: October), local cash prices typically weaken relative to futures as elevators fill and farmers sell. Basis widens (becomes more negative) at harvest and narrows in the pre-harvest or demand seasons. Experienced basis traders use historical seasonal patterns to anticipate basis movements and position accordingly, buying basis at seasonal lows and selling at seasonal highs.

Q

What is the roll yield and why does it matter for commodity investors?

A

Roll yield is the gain or loss from rolling a maturing futures position into the next contract month. In contango (futures above spot), rolling means selling the cheaper near contract and buying the more expensive far contract — a negative roll. In backwardation, rolling earns positive returns. For investors maintaining long-term commodity exposure through rolling futures (as commodity ETFs do), roll yield can be the dominant component of total return, dwarfing the spot return contribution. Understanding the term structure slope is therefore critical for long-term commodity allocation decisions.

Common Mistakes to Avoid

▾
  • !Treating basis trading as risk-free — basis can move significantly in the wrong direction and the trade must be funded while awaiting convergence.
  • !Using the wrong contract month — basis relationships are highly specific to contract months; using the wrong futures month leads to incorrect basis calculations.
  • !Ignoring delivery logistics — in physical commodity basis trades, the ability to actually deliver or receive the commodity is essential and often overlooked by financial traders.
  • !Not accounting for roll costs when maintaining a basis position across contract expiration boundaries.
  • !Underestimating liquidity risk in the physical leg — exiting a spot position in local commodity markets can be far harder than exiting the futures leg.
💡

Pro Tip

Track basis history for your specific location and commodity over the past 5-10 years by season. Basis predictability is highest when local supply-demand drivers are well understood and infrastructure is stable. Basis surprises typically come from weather events, infrastructure failures, or unexpected policy changes.

⭐

Did you know?

The basis trade in US Treasury markets is so heavily arbitraged by hedge funds and primary dealers that the theoretical fair value gap is typically measured in fractions of a basis point (0.01%). The total notional size of the Treasury cash-futures basis trade exceeded $1 trillion in 2024, making it one of the most systemically significant trades in global financial markets.

Regional Guides

▾
🇺🇸 US▾
Използва обичайните американски единици и стандарти, където е приложимо
🇬🇧 UK▾
Може да изисква конвертиране в метрични единици или британски стандарти
🇪🇺 EU▾
Следва конвенциите на ЕС и единиците SI, където е приложимо
📖Difficulty:Advanced
Само за информационни цели. Този инструмент не представлява финансов съвет. Консултирайте се с квалифициран финансов съветник преди да вземате инвестиционни или финансови решения.
Accuracy-checked
Reviewed October 2026
Our methodology

Получавайте седмични съвети по математика

Присъединете се към 12 000+ абонати, които получават съвети за калкулатор всяка седмица.

🔒
100% Безплатно
Без регистрация
✓
Точно
Проверени формули
⚡
Мигновено
Резултати при въвеждане
📱
Мобилно готово
Всички устройства

Настройки