Commit Graph
15 Commits
Author SHA1 Message Date
thePR0M3TH3AN f33fac02c2 Drop NaN rows before validation 2025-05-31 22:04:08 -04:00
thePR0M3TH3AN 02a89740bb Enhance Bitcoin vs M2 chart script with data cropping and shifting
Update `bitcoin_m2_chart.py` to plot Bitcoin price against global M2 money supply, rebased to 100 and shifted forward by 90 days. Limit data to start from July 1, 2024, and include error handling for missing GLOBAL_M2 data. Add dual y-axes and improve documentation for clarity. Include new output images for the updated chart.
2025-05-31 21:56:55 -04:00
thePR0M3TH3AN e32d52583c Enhance Bitcoin vs M2 chart with improved plotting and indexing
Refactor `bitcoin_m2_chart.py` to plot Bitcoin price on a log scale against a rebased M2 money supply index (base 100). Update visual elements for clarity, including color adjustments and axis labels. Extend x-axis for future projections and improve x-tick formatting for better readability. Add new output images for the updated chart.
2025-05-31 21:38:31 -04:00
thePR0M3TH3AN c0cd1fb645 Fix null handling in bitcoin_m2_chart 2025-05-31 20:13:58 -04:00
thePR0M3TH3AN b4264351be Wrap datetime parsing in try/except 2025-05-31 18:13:28 -04:00
thePR0M3TH3AN 34359e51e4 Add figure size and display options 2025-05-31 13:56:42 -04:00
thePR0M3TH3AN 3f57bdf415 Add validation for bitcoin M2 chart 2025-05-31 12:56:13 -04:00
thePR0M3TH3AN 1a7449ee5b Add constants module and use for db path 2025-05-31 10:44:08 -04:00
thePR0M3TH3AN 17ac445e7a Unify offset arg name and fix imports 2025-05-31 10:31:49 -04:00
thePR0M3TH3AN 040b45b093 Refactor imports in chart scripts to use package-qualified paths
Updated import statements in `bitcoin_m2_chart.py` and `lagged_oil_unrate_chart_styled.py` to use package-qualified paths for better clarity and consistency. Cleaned up code formatting for improved readability. Added a new output image file for the lagged oil-unrate chart.
2025-05-31 10:09:37 -04:00
thePR0M3TH3AN e5b1d091c5 Enhance documentation and scripts for handling UNRATE null values
- Add policy for managing NaN values in UNRATE series to AGENTS.md.
- Update README.md with new chart script details and usage instructions.
- Modify `lagged_oil_unrate_chart_styled.py` to implement clamping to last valid index for UNRATE data.
- Introduce new script `bitcoin_m2_chart.py` for Bitcoin vs. global M2 overlay chart.
- Ensure all scripts maintain data integrity by avoiding estimates for current month.
2025-05-31 09:59:33 -04:00
thePR0M3TH3AN 2c576c330f Refactor import paths in chart scripts and update database
- Updated import statements in `bitcoin_m2_chart.py` and `custom_chart.py` to use a simplified path for `fetch_series_db` and `save_figure`.
- Removed obsolete `chart.png` file from outputs.
- Made changes to `fred.db`, indicating updates to the database content.
2025-05-31 09:02:54 -04:00
thePR0M3TH3AN e74d35dce6 Create common helpers and refactor charts 2025-05-31 08:55:43 -04:00
thePR0M3TH3AN a8f2b4f4f6 Add timestamped default output naming 2025-05-31 08:28:40 -04:00
thePR0M3TH3AN 8c114bab87 Add Bitcoin vs Global M2 chart 2025-05-31 08:04:53 -04:00