Starting with the update on June 21, 2019, the Treasury bond data used in calculating interest rate spreads is obtained directly from the U.S. Treasury Department.Series is calculated as the spread between 10-Year Treasury Constant Maturity (BC10YEAR) and 2-Year Treasury Constant Maturity (BC2YEAR). Both underlying series are published at the U.S. Treasury Department.
DATE | T10Y2Y |
---|---|
2000-03-21 | -0.37 |
2000-03-22 | -0.37 |
2000-03-23 | -0.44 |
2000-03-24 | -0.44 |
# Search
curl -X POST "https://search.dria.co/hnsw/search" \
-H "x-api-key: <YOUR_API_KEY>" \
-H "Content-Type: application/json" \
-d '{"rerank": true, "top_n": 10, "contract_id": "EaiaqudEy3oE37fdlM_ikmE1EWZWfiOeWt-FO3t1J7Q", "query": "What is alexanDRIA library?"}'
# Query
curl -X POST "https://search.dria.co/hnsw/query" \
-H "x-api-key: <YOUR_API_KEY>" \
-H "Content-Type: application/json" \
-d '{"vector": [0.123, 0.5236], "top_n": 10, "contract_id": "EaiaqudEy3oE37fdlM_ikmE1EWZWfiOeWt-FO3t1J7Q", "level": 2}'