- Modified `refresh_data.py` to include "CBBTCUSD" and "GLOBAL_M2" in the DEFAULT_SERIES for enhanced data analysis.
- Updated `fred.db` to reflect changes in the data structure.
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.
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.
- Correct markdown formatting for links in the instructions.
- Clarify command usage for running scripts, including direct module invocation.
- Enhance descriptions of the data refresh and chart generation processes.
Updated the instructions to emphasize that after invoking `./startup.sh`, users should not run `python scripts/<script>.py` directly, as it will lead to import errors. Removed outdated example and reinforced the importance of the `startup.sh` wrapper for module execution.
Clarify the usage of the `startup.sh` wrapper for running Python scripts, emphasizing the importance of module execution and correct import resolution. Include examples for preferred script invocation and reinforce the need to avoid running `refresh_data.py` in environments without internet access. Adjust language for clarity and consistency throughout the document.
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.
- 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.
- 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.