sync
Update local caches of stock prices and historical FX rates. Use scope='prices' for stocks, 'fx' for exchange rates, or 'all' for both.
Instructions
Refresh local caches. scope='prices' fetches latest stock prices (US via Finnhub, non-US via Yahoo, all stored in USD; requires finnhub_api_key). scope='fx' backfills the historical FX rate cache from FRED (KRW/JPY/EUR/CNY/GBP/HKD/INR/TWD per USD, increment-only; requires fred_api_key). scope='all' (default) runs prices then fx, mirroring firma sync.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | all |