Commit Graph
22 Commits
Author SHA1 Message Date
thePR0M3TH3AN 50a43139ce Use logging for script messages 2025-05-31 17:57:20 -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
thePR0M3TH3AN 4b3eeb21cc Add argparse options to refresh_data 2025-05-31 07:38:12 -04:00
thePR0M3TH3AN 53eedd1929 Add output option for chart scripts 2025-05-31 07:17:41 -04:00
thePR0M3TH3AN 47700e9304 Add custom chart script and docs 2025-05-31 07:11:07 -04:00
thePR0M3TH3AN 467a0a72ed Return figure from plot_lagged and add tests 2025-05-31 07:04:22 -04:00
thePR0M3TH3AN 5ee2695b21 Remove unnecessary comments and formatting from lagged_oil_unrate_chart_styled.py 2025-05-31 06:59:34 -04:00
thePR0M3TH3AN d12831c146 Delete repository context file and update lagged oil chart script
Removed the `repo-context.txt` file, which contained project documentation and directory structure. Made modifications to `scripts/lagged_oil_unrate_chart_styled.py` to enhance functionality and maintainability.
2025-05-30 18:35:40 -04:00
thePR0M3TH3AN 6d68db0906 feat(charts): add series validation 2025-05-30 18:20:55 -04:00
thePR0M3TH3AN 8797ef1d04 Refactor README and scripts for Lagged Oil-Unemployment Chart
Update README.md to reflect new project focus on lagged oil and unemployment charting. Revise installation instructions, quickstart guide, and repository structure. Modify scripts for data fetching and plotting, and add a new SQLite database for storing FRED data. Introduce a startup script to streamline setup and execution.
2025-05-30 16:49:06 -04:00
thePR0M3TH3AN 71e3bf4ab9 Add refresh_data script and startup script for offline data setup
- Introduced `scripts/refresh_data.py` to download UNRATE and WTI data from FRED and store it in a SQLite database.
- Added `startup.sh` script to set up a Python virtual environment and install dependencies for offline use.
- Updated `repo-context.txt` to reflect the new scripts and their purposes.
2025-05-30 16:06:04 -04:00
thePR0M3TH3AN 175e9ba4e2 Vendored wheels and FRED snapshot 2025-05-30 16:02:18 -04:00
thePR0M3TH3AN 89accfa168 Delete lagged oil unemployment rate chart script and add new files
Removed the `lagged_oil_unrate_chart_styled.py` script as it is no longer needed. Added a `.gitignore` file, a `requirements.txt` for dependencies, and a `scripts/` directory for future development.
2025-05-29 17:22:50 -04:00