{"source":"terminalfeed-pro","endpoint":"/api/pro/correlation-matrix","generated_at":"2026-08-04T09:42:01.330Z","window":"30d","method":"Pearson correlation on daily simple returns","assets":[{"symbol":"TREASURY_10Y","asset_class":"rates","observations":28},{"symbol":"TREASURY_2Y","asset_class":"rates","observations":28},{"symbol":"USD_INDEX","asset_class":"fx","observations":28},{"symbol":"OIL_WTI","asset_class":"commodity","observations":27}],"pairs":[{"a":"TREASURY_10Y","b":"TREASURY_2Y","pearson_r":0.7324,"n_observations":28,"relationship":"strong","direction":"positive"},{"a":"USD_INDEX","b":"OIL_WTI","pearson_r":0.2818,"n_observations":27,"relationship":"weak","direction":"positive"},{"a":"TREASURY_2Y","b":"OIL_WTI","pearson_r":-0.2325,"n_observations":27,"relationship":"weak","direction":"negative"},{"a":"TREASURY_10Y","b":"OIL_WTI","pearson_r":-0.2187,"n_observations":27,"relationship":"weak","direction":"negative"},{"a":"TREASURY_2Y","b":"USD_INDEX","pearson_r":0.1301,"n_observations":28,"relationship":"negligible","direction":"positive"},{"a":"TREASURY_10Y","b":"USD_INDEX","pearson_r":0.0893,"n_observations":28,"relationship":"negligible","direction":"positive"}],"matrix":{"TREASURY_10Y":{"TREASURY_10Y":1,"TREASURY_2Y":0.7324,"USD_INDEX":0.0893,"OIL_WTI":-0.2187},"TREASURY_2Y":{"TREASURY_10Y":0.7324,"TREASURY_2Y":1,"USD_INDEX":0.1301,"OIL_WTI":-0.2325},"USD_INDEX":{"TREASURY_10Y":0.0893,"TREASURY_2Y":0.1301,"USD_INDEX":1,"OIL_WTI":0.2818},"OIL_WTI":{"TREASURY_10Y":-0.2187,"TREASURY_2Y":-0.2325,"USD_INDEX":0.2818,"OIL_WTI":1}},"sample_size":{"assets_requested":4,"assets_with_data":4,"data_availability":{"TREASURY_10Y":29,"TREASURY_2Y":29,"USD_INDEX":29,"OIL_WTI":28}},"notes":{"use_case":"Use to size positions, build hedges, or detect regime shifts across macro drivers. A tightening 10Y-vs-USD-index coupling, for example, signals a rates-led regime; a sharp drop in correlation often precedes a regime change.","methodology":"Daily simple returns r_t = (P_t - P_{t-1}) / P_{t-1}. Pearson r computed on overlapping observations only. Minimum 10 observations to report a pair.","sources":"All series from FRED (US gov, public domain): 10Y and 2Y treasury yields, trade-weighted USD index, and WTI crude oil. No crypto or equity legs (removed 2026-07-23 for market-data licensing compliance).","asset_universe":"Four macro series across three classes: rates (10Y treasury yield, 2Y treasury yield), fx (trade-weighted USD index), and commodities (WTI crude oil). All FRED-sourced; they populate when FRED_API_KEY is set on the Worker.","caveat":"Pearson assumes linear relationships and stationary distributions. For tail-risk analysis, supplement with rank correlation or copula-based methods. Correlations can flip sign in stress regimes.","cache_ttl":"30 minutes. Daily-return correlations move slowly within a day."},"_meta":{"generated_at":"2026-08-04T09:42:01.330Z","endpoint":"/api/pro/correlation-matrix","tier":"premium","sources":[{"name":"FRED.DGS10_30d","status":"live","fetched_at":"2026-08-04T09:41:59.781Z","latency_ms":1549},{"name":"FRED.DGS2_30d","status":"live","fetched_at":"2026-08-04T09:41:59.781Z","latency_ms":1549},{"name":"FRED.DTWEXBGS_30d","status":"live","fetched_at":"2026-08-04T09:41:59.781Z","latency_ms":1549},{"name":"FRED.DCOILWTICO_30d","status":"live","fetched_at":"2026-08-04T09:41:59.781Z","latency_ms":1549}],"sanitized":true,"sanitizer_version":"1.0"},"_cached":false,"_cache_age_seconds":0,"captured_at":"2026-08-04T09:42:01.330Z","suggested_next_calls":[{"url":"https://terminalfeed.io/api/pro/macro","method":"GET","why":"The macro indicators that compose the correlation series. Drill into any single series here.","credits":2},{"url":"https://terminalfeed.io/api/economic-data","method":"GET","why":"Free FRED rollup (Fed rate, CPI, unemployment) behind the series in this matrix.","credits":0}],"billing":{"tier":"free_trial","credits_charged":0,"credits_remaining":0,"no_charge_reason":"free_trial","afta_doc":"https://terminalfeed.io/agent-fair-trade","free_trial_used_today":1,"free_trial_remaining":99,"free_trial_limit":100,"free_trial_resets_at":"2026-08-05T09:41:59.781Z","upgrade_when_ready":"https://terminalfeed.io/api/payment/buy-credits"},"receipt":{"v":1,"id":"rcpt_8eccc4016ccd573e","endpoint":"/api/pro/correlation-matrix","method":"GET","token_short":"free_trial","credits_charged":0,"credits_remaining":0,"request_hash":"sha256:6052fa057d2b05a09526bfd795a712ae39691da50e20316a724fde0aa52092d3","response_hash":"sha256:10522070d6c9257b3de2e6794059d2ebfca174a19756f9accde5ff9ff9a59fd7","captured_at":"2026-08-04T09:42:01.330Z","server_time":"2026-08-04T09:42:01.527Z","no_charge_reason":"free_trial","freshness_sla_seconds":3600,"signature":"ltlDatTsgpQwL03GUXuCT_WgP8vjzn-gv0l1eRJL_eEedP1RXkGjYMDJTkdTdslbg85Mopotjfac-wnhl0MhCw","key_id":"512774f98d56bb02","signing_alg":"EdDSA","signing_curve":"Ed25519","canonical_form":"tensorfeed-canonical-json-v1","verify_doc":"https://terminalfeed.io/agent-fair-trade#receipts"}}