Skip to content

Rate Endpoints (1)

Historical interest rate data for use in options pricing, Greeks computation, and risk analysis.

Endpoints

EndpointDescription
interest_rate_history_eodEnd-of-day interest rate history

Quick Example

rust
let rates: Vec<InterestRateTick> = tdx.interest_rate_history_eod(
    "SOFR", "20240101", "20240301"
).await?;
python
result = tdx.interest_rate_history_eod("SOFR", "20240101", "20240301")
go
result, _ := client.InterestRateHistoryEOD("SOFR", "20240101", "20240301")
cpp
auto result = client.interest_rate_history_eod("SOFR", "20240101", "20240301");

Available Rate Symbols

SymbolDescription
SOFRSecured Overnight Financing Rate
TREASURY_M11-month Treasury
TREASURY_M33-month Treasury
TREASURY_M66-month Treasury
TREASURY_Y11-year Treasury
TREASURY_Y22-year Treasury
TREASURY_Y33-year Treasury
TREASURY_Y55-year Treasury
TREASURY_Y77-year Treasury
TREASURY_Y1010-year Treasury
TREASURY_Y2020-year Treasury
TREASURY_Y3030-year Treasury

TIP

Use interest rate data to set the risk-free rate parameter when computing option Greeks locally.

Released under the GPL-3.0-or-later License.