Commit Graph
87 Commits
Author SHA1 Message Date
thePR0M3TH3AN 4059b369d6 Clean outputs directory and ignore generated images 2025-06-01 11:05:37 -04:00
thePR0M3TH3AN b2db3573b6 Merge pull request #34 from PR0M3TH3AN/codex/fix-keyerror-by-adjusting-m2-crop-date
Remove forced crop in bitcoin_m2_chart
2025-06-01 10:37:10 -04:00
thePR0M3TH3AN 9dd422fdf1 Clarify docstrings and remove crop logic 2025-06-01 10:35:34 -04:00
thePR0M3TH3AN 5e87c4ae2f Update fred.db and refresh_data.py to include additional series
- 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.
2025-05-31 22:14:15 -04:00
thePR0M3TH3AN 6d9f63de1a Merge pull request #33 from PR0M3TH3AN/codex/drop-nan-rows-before-validation-in-main
Fix M2 NaN handling
2025-05-31 22:04:48 -04:00
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 c9e2f285c3 Merge pull request #32 from PR0M3TH3AN/codex/update-makefile-targets
Update Makefile and fix distutils dependency
2025-05-31 21:27:12 -04:00
thePR0M3TH3AN c696b10755 Update Makefile aliases and handle distutils 2025-05-31 21:26:35 -04:00
thePR0M3TH3AN 712b94f3b8 Merge pull request #31 from PR0M3TH3AN/codex/update-execution-commands-in-agents.md
Update AGENTS with alias examples
2025-05-31 21:08:25 -04:00
thePR0M3TH3AN d6caedcb2f docs: clarify execution commands and aliases 2025-05-31 21:07:40 -04:00
thePR0M3TH3AN c529498150 Merge pull request #30 from PR0M3TH3AN/codex/update-readme-with-new-startup.sh-aliases
Update README command aliases
2025-05-31 20:54:29 -04:00
thePR0M3TH3AN 0a045dbe48 Update README aliases 2025-05-31 20:53:51 -04:00
thePR0M3TH3AN b01ee5c675 Merge pull request #29 from PR0M3TH3AN/codex/update-startup.sh-with-new-features
Implement alias-based startup wrapper
2025-05-31 20:42:34 -04:00
thePR0M3TH3AN 3ed8123fd7 Update startup alias handling 2025-05-31 20:41:47 -04:00
thePR0M3TH3AN 924a489669 Merge pull request #28 from PR0M3TH3AN/codex/fix-null-values-in-bitcoin-series
Handle NaNs in bitcoin data
2025-05-31 20:14:41 -04:00
thePR0M3TH3AN c0cd1fb645 Fix null handling in bitcoin_m2_chart 2025-05-31 20:13:58 -04:00
thePR0M3TH3AN 0333ce85cb Add lagged oil unemployment rate chart image for analysis purposes 2025-05-31 20:02:12 -04:00
thePR0M3TH3AN 7a7231a69c Update README.md with formatting improvements and command clarifications
- 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.
2025-05-31 18:22:08 -04:00
thePR0M3TH3AN 59de89e66f Merge pull request #27 from PR0M3TH3AN/codex/wrap-datetime.fromisoformat-in-try/except
Add error handling for invalid date inputs
2025-05-31 18:14:34 -04:00
thePR0M3TH3AN b4264351be Wrap datetime parsing in try/except 2025-05-31 18:13:28 -04:00
thePR0M3TH3AN 1f01790146 Merge pull request #26 from PR0M3TH3AN/codex/enhance-refresh_data.py-to-download-only-new-data
Incremental data download for refresh_data
2025-05-31 18:03:17 -04:00
thePR0M3TH3AN 19a4140a88 Enhance incremental data refresh 2025-05-31 18:02:34 -04:00
thePR0M3TH3AN ed58cd2f43 Merge pull request #25 from PR0M3TH3AN/codex/switch-to-logging-module-for-verbosity
Use logging for script messages
2025-05-31 17:58:19 -04:00
thePR0M3TH3AN 50a43139ce Use logging for script messages 2025-05-31 17:57:20 -04:00
thePR0M3TH3AN e9750009d0 Merge pull request #24 from PR0M3TH3AN/codex/add-table-of-contents-and-license-badge-to-readme
Add license badge and ToC
2025-05-31 16:48:23 -04:00
thePR0M3TH3AN 8bcd79c938 docs: add license badge and toc 2025-05-31 16:47:43 -04:00
thePR0M3TH3AN cbfa156a31 Merge pull request #22 from PR0M3TH3AN/vtl7iz-codex/create-ci-workflow-with-caching
Add CI workflow
2025-05-31 16:16:40 -04:00
thePR0M3TH3AN 6cea763f73 Add CI workflow and offline-aware startup 2025-05-31 16:15:50 -04:00
thePR0M3TH3AN 7b49366d10 Merge pull request #16 from PR0M3TH3AN/codex/update-readme-for-bitcoin-vs-global-m2-section
Clarify Bitcoin vs. M2 data steps
2025-05-31 14:27:10 -04:00
thePR0M3TH3AN 9e35eb50ec Clarify Bitcoin-M2 data requirements 2025-05-31 14:26:57 -04:00
thePR0M3TH3AN e9877e4f3a Merge pull request #15 from PR0M3TH3AN/codex/extend-argument-parsing-for-plotting-scripts
Add figure size and display options
2025-05-31 13:56:57 -04:00
thePR0M3TH3AN 34359e51e4 Add figure size and display options 2025-05-31 13:56:42 -04:00
thePR0M3TH3AN be4256f2fb Merge pull request #14 from PR0M3TH3AN/codex/create-validate_series-function
Add series validation for Bitcoin chart
2025-05-31 12:56:27 -04:00
thePR0M3TH3AN 3f57bdf415 Add validation for bitcoin M2 chart 2025-05-31 12:56:13 -04:00
thePR0M3TH3AN 3eb94a9f76 Merge pull request #13 from PR0M3TH3AN/codex/replace-leading-spaces-with-tab-in-plot-custom-target
Fix plot-custom tab indent
2025-05-31 12:42:16 -04:00
thePR0M3TH3AN 691787adde Fix tab indentation for plot-custom target 2025-05-31 12:41:48 -04:00
thePR0M3TH3AN 6814e6a22e Merge pull request #12 from PR0M3TH3AN/codex/introduce-constants-module-for-repeated-strings
Add constants module and use DB path
2025-05-31 10:44:20 -04:00
thePR0M3TH3AN 1a7449ee5b Add constants module and use for db path 2025-05-31 10:44:08 -04:00
thePR0M3TH3AN 0ac611eed0 Merge pull request #11 from PR0M3TH3AN/codex/unify---offset-parameter-name
Unify offset argument
2025-05-31 10:31:58 -04:00
thePR0M3TH3AN 17ac445e7a Unify offset arg name and fix imports 2025-05-31 10:31:49 -04:00
thePR0M3TH3AN 738bc3dea8 Clarify usage of startup.sh in AGENTS.md documentation
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.
2025-05-31 10:17:49 -04:00
thePR0M3TH3AN d97da458dc Add lagged oil unemployment rate chart image for analysis purposes 2025-05-31 10:16:48 -04:00
thePR0M3TH3AN 15167763e7 Update AGENTS.md with detailed execution command guidelines
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.
2025-05-31 10:13:44 -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 8fd02e9e55 Merge pull request #10 from PR0M3TH3AN/codex/create-common.py-with-reusable-functions
Refactor helper functions
2025-05-31 08:55:54 -04:00
thePR0M3TH3AN e74d35dce6 Create common helpers and refactor charts 2025-05-31 08:55:43 -04:00