NexusFi: Find Your Edge


Home Menu

 





Bond Futures Price to Bond Cash Price


Discussion in Treasury Notes and Bonds

Updated
    1. trending_up 2,104 views
    2. thumb_up 2 thanks given
    3. group 2 followers
    1. forum 8 posts
    2. attach_file 1 attachments




 
Search this Thread

Bond Futures Price to Bond Cash Price

  #1 (permalink)
 timendaGain 
New York, NY
 
Experience: Beginner
Platform: NinjaTrader
Broker: NinjaTrader
Trading: ES MES
Posts: 792 since Nov 2010
Thanks Given: 149
Thanks Received: 235

I don’t have a bond quotation terminal or feed. Only Ninja with price feed supplying futures contracts quotes ( ZN, ZT, ZB, etc. ).

I was hoping to calculate the yield from the treasury futures contract price. I had thought that I would be able to convert the futures contract price to the cash price of the underlying bond to use as input into a yield to maturity algorithm.
I haven’t found a way to do it. I found some cme resources that I interpreted to mean that if I use their conversion factor table I can arrive at the price.

table

The conversion factor for a 10 year with coupon 2.25 is .7210.

Current futures quote for 10 year ( ZN 06-17 ) is 124 10/32.
Cash price quote is 98 15/32 ( 98.46875 )
So 124.3125 x .7210 should == 98.46875 but it doesn’t… it’s 89.629

Does anyone know of an algorithm to convert the futures contract price of a bond to it’s cash based deliverable?

Visit my NexusFi Trade Journal Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
NexusFi Journal Challenge - May 2024
Feedback and Announcements
REcommedations for programming help
Sierra Chart
Better Renko Gaps
The Elite Circle
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
Trade idea based off three indicators.
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Spoo-nalysis ES e-mini futures S&P 500
48 thanks
Just another trading journal: PA, Wyckoff & Trends
34 thanks
Tao te Trade: way of the WLD
24 thanks
Bigger Wins or Fewer Losses?
24 thanks
GFIs1 1 DAX trade per day journal
22 thanks
  #3 (permalink)
 
rleplae's Avatar
 rleplae 
Gits (Hooglede) Belgium
Legendary Market Wizard
 
Experience: Master
Platform: NinjaTrader, Proprietary,
Broker: Ninjabrokerage/IQfeed + Synthetic datafeed
Trading: 6A, 6B, 6C, 6E, 6J, 6S, ES, NQ, YM, AEX, CL, NG, ZB, ZN, ZC, ZS, GC
Posts: 3,003 since Sep 2013
Thanks Given: 2,442
Thanks Received: 5,863


It will never be exact, you can not calculate it lineair, as there can be contango or backwardation, the premium also depends on the time to expiry and will be bigger just after the roll-over and smaller when roll-over is approaching.

Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #4 (permalink)
 timendaGain 
New York, NY
 
Experience: Beginner
Platform: NinjaTrader
Broker: NinjaTrader
Trading: ES MES
Posts: 792 since Nov 2010
Thanks Given: 149
Thanks Received: 235


rleplae View Post
It will never be exact, you can not calculate it lineair, as there can be contango or backwardation, the premium also depends on the time to expiry and will be bigger just after the roll-over and smaller when roll-over is approaching.

Approximation might be enough help. I found a method to do that but it does depend on getting the real time price of the cash bond/note on some interval ( daily or intra-day if the market moves a lot ):

Using this feed periodically calculate a conversion factor:
cash price divided by futures price = conversion factor

Then in real time:
futures price * conversion factor = cash price (approximately).

As long as the noise in the approximation remains somewhat consistent throughout a day it may be useful for tracking the movement of the YTM throughout the day. And then on to yield spreads, that which is the ultimate goal I have for all of this!

Visit my NexusFi Trade Journal Started this thread Reply With Quote
Thanked by:
  #5 (permalink)
 
rleplae's Avatar
 rleplae 
Gits (Hooglede) Belgium
Legendary Market Wizard
 
Experience: Master
Platform: NinjaTrader, Proprietary,
Broker: Ninjabrokerage/IQfeed + Synthetic datafeed
Trading: 6A, 6B, 6C, 6E, 6J, 6S, ES, NQ, YM, AEX, CL, NG, ZB, ZN, ZC, ZS, GC
Posts: 3,003 since Sep 2013
Thanks Given: 2,442
Thanks Received: 5,863

OK I understand, like this :


Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
  #6 (permalink)
 timendaGain 
New York, NY
 
Experience: Beginner
Platform: NinjaTrader
Broker: NinjaTrader
Trading: ES MES
Posts: 792 since Nov 2010
Thanks Given: 149
Thanks Received: 235


rleplae View Post
OK I understand, like this :

Yes exactly. I want to create a data series of YTM spreads using real-time futures ( for each leg in the spread... ZN - ZT or ZB - ZN ( NOB ). I have all the pieces now except for a "free" price feed for "occasional" cash note/bond quotes ( to generate the conversion factor). If I can't find that then all is kaputt!

Visit my NexusFi Trade Journal Started this thread Reply With Quote
  #7 (permalink)
 
rleplae's Avatar
 rleplae 
Gits (Hooglede) Belgium
Legendary Market Wizard
 
Experience: Master
Platform: NinjaTrader, Proprietary,
Broker: Ninjabrokerage/IQfeed + Synthetic datafeed
Trading: 6A, 6B, 6C, 6E, 6J, 6S, ES, NQ, YM, AEX, CL, NG, ZB, ZN, ZC, ZS, GC
Posts: 3,003 since Sep 2013
Thanks Given: 2,442
Thanks Received: 5,863

you can just scrape the yield from any website.

https://www.bloomberg.com/quote/USGG2YR:IND

will be more accurate in my opinion than try and derive it from the future on the underlying

Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
  #8 (permalink)
 timendaGain 
New York, NY
 
Experience: Beginner
Platform: NinjaTrader
Broker: NinjaTrader
Trading: ES MES
Posts: 792 since Nov 2010
Thanks Given: 149
Thanks Received: 235

Yes perhaps you're right and my approach is overkill. After all I have not eliminated the need to scrape a website or get some web service quote. but I didn't tell you that I want to compare the yield spread to other instruments in a multi-data series chart. I don't know what time frames are going to be interesting to me ( or others ). If it's a small tight time-frame one would prefer the futures contract derived spread as it's sure to keep lockstep correlation pace with the prices other instruments being compared.... I would expect.

If I were not so cheap I would just buy the data feed but I have 2 other purposes besides tying to use the end result: one: learn ( and that I'm doing a lot of ) and two: make this available to other cheap-skates!

Visit my NexusFi Trade Journal Started this thread Reply With Quote
  #9 (permalink)
 
rleplae's Avatar
 rleplae 
Gits (Hooglede) Belgium
Legendary Market Wizard
 
Experience: Master
Platform: NinjaTrader, Proprietary,
Broker: Ninjabrokerage/IQfeed + Synthetic datafeed
Trading: 6A, 6B, 6C, 6E, 6J, 6S, ES, NQ, YM, AEX, CL, NG, ZB, ZN, ZC, ZS, GC
Posts: 3,003 since Sep 2013
Thanks Given: 2,442
Thanks Received: 5,863

I agree, it's a good school, I went through that previously.

Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote




Last Updated on March 22, 2017


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts