EOD
FreeValueStandardPro
Fetch end-of-day interest rate history.
- Returns the interest rate reported. Depending on the rate, reports can occur in the morning or the afternoon.
- Valid
symbolvalues per upstreamRateTypeenum:SOFR,TREASURY_M1,TREASURY_M3,TREASURY_M6,TREASURY_Y1,TREASURY_Y2,TREASURY_Y3,TREASURY_Y5,TREASURY_Y7,TREASURY_Y10,TREASURY_Y20,TREASURY_Y30.
SOFR · 20250303 · 20250306
from thetadatadx import Client
client = Client.from_env()
rows = client.market_data.interest_rate_history_eod(
"SOFR", "20250303", "20250306",
)
for t in rows:
print(t.date, t.rate)Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
symbol | string | yes | — | Ticker symbol (e.g. AAPL) |
start_date | date | yes | — | Start date YYYYMMDD |
end_date | date | yes | — | End date YYYYMMDD |
timeout_ms | int | no | — | Per-request deadline in milliseconds. 0 means no deadline. |
Response
Rows of InterestRateTick:
| Field | Type | Description |
|---|---|---|
date | i32 | Report creation date as a YYYYMMDD integer. |
rate | f64 | Interest rate expressed as a percent (1.25 means 1.25%). |