liveBook · Manning

Treasury note

As explained in Investing for Programmers

A Treasury note is a medium-term debt security issued by the United States Treasury that matures in up to ten years.

A Treasury note is a medium-term, fixed-income security issued by the United States Treasury that matures in up to ten years. Investors lend money to the government, receive interest payments, and recover principal at maturity. section 5.2 section 5.5

Treat its market price as sensitive to interest-rate changes: rising Federal Reserve rates make existing lower-yield notes less attractive, while falling rates can increase their appeal. Selling before maturity therefore introduces a capital-gain or capital-loss trade-off. section 5.2

Inspecting Treasury bond data

Load US10Y data into a pandas DataFrame through an EODHD request, then plot date against adjusted_close to examine historical price movement. Treat the chart as evidence for analysis, not as a guaranteed forecast. section 5.2

How Investing for Programmers covers it

How deep it goes
Defines maturity and rate sensitivity, then demonstrates data collection and plotting without developing detailed forecasting methods.
Examples
Uses US10Y API data, a pandas DataFrame, and a plotted Treasury bond price series.
What it assumes
Assumes basic understanding of lending, interest payments, maturity, and investment comparisons while defining Treasury maturity bands.
What you can do after
Evaluate Treasury data by loading a series, plotting price movement, and relating observed changes to interest-rate conditions.
How it connects
Connects Treasury notes with bonds, Treasury bills, Treasury bonds, Federal Reserve rates, yields, prices, and fixed-income portfolios.

This explainer was generated by Manning's knowledge graph from the text of Investing for Programmers. The section links point to the parts of the book it draws on.