Created
December 15, 2016 15:12
-
-
Save manoharp/959eaf27573e6c32163a9f454cf12a76 to your computer and use it in GitHub Desktop.
Quandl TY comparison
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.