From 9e35eb50ecdcabda9a8cb07c570ae83c881a9841 Mon Sep 17 00:00:00 2001 From: thePR0M3TH3AN <53631862+PR0M3TH3AN@users.noreply.github.com> Date: Sat, 31 May 2025 14:26:57 -0400 Subject: [PATCH] Clarify Bitcoin-M2 data requirements --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a7ac1ac..84209bd 100644 --- a/README.md +++ b/README.md @@ -167,7 +167,15 @@ You can plot any combination of FRED series stored in `data/fred.db` using `scri ### Bitcoin vs. Global M2 -After downloading the required series, generate the Bitcoin‐Global M2 overlay chart: +Before running `bitcoin_m2_chart.py`, make sure the Bitcoin price +(`CBBTCUSD`) and global M2 (`GLOBAL_M2`) series exist in `data/fred.db`. +If the database is missing these tables, fetch them with `refresh_data.py`: + +```bash +./startup.sh python scripts/refresh_data.py --series CBBTCUSD GLOBAL_M2 --start 2010-01-01 +``` + +Once the data is present, generate the Bitcoin‐Global M2 overlay chart: ```bash ./startup.sh python scripts/bitcoin_m2_chart.py --btc-series CBBTCUSD --m2-series GLOBAL_M2 --output outputs/chart.png