Skip to content

Instantly share code, notes, and snippets.

@manoharp
Created December 15, 2016 15:12
Show Gist options
  • Save manoharp/959eaf27573e6c32163a9f454cf12a76 to your computer and use it in GitHub Desktop.
Save manoharp/959eaf27573e6c32163a9f454cf12a76 to your computer and use it in GitHub Desktop.
Quandl TY comparison
import quandl
TY1 = quandl.get("CHRIS/CME_TY1", authtoken="hzW7pRAWuHdYT_zUk88F")
TY1_SCF = quandl.get("SCF/CME_TY1_FW", authtoken="hzW7pRAWuHdYT_zUk88F")
ax = TY1.Last.plot()
TY1_SCF.Settle.plot(ax=ax)
import matplotlib.pyplot as plt
plt.savefig('myfig')
@htdbui
Copy link

htdbui commented Feb 23, 2024

Hello,
Could you please explain to me what are the object TY1 and TY1_SCF? Are they the price series of 10-year US treasury note futures? Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment