Feature/oi tracker script#3
Open
aakash-code wants to merge 7 commits into
Open
Conversation
This commit refactors the application to use a local SQLite database for instrument and contract management. This new architecture significantly improves performance and reliability by replacing slow, repetitive API calls with fast local database queries. The commit includes new scripts for database setup and contract downloading, a refactored core logic to use the database, and updated documentation with instructions for the new setup process.
Removes an unnecessary `api_client` argument from the call to `get_available_expiry_dates` in `app.py`. This aligns the function call with the new database-backed logic in `tracker_logic.py` and resolves a `TypeError` that was causing the application to crash when fetching expiry dates.
Adds the local SQLite database file (`instruments.db`) to the `.gitignore` file to prevent it from being tracked by Git.
This commit introduces a complete rewrite of the OI Tracker application, rebuilding it from the ground up with a professional, database-driven architecture using Flask and SQLite. This new version is significantly more robust, performant, and scalable. It includes a modular structure, a full-featured web interface with dynamic instrument and expiry selection, and a reliable data processing pipeline. All previous files have been replaced with the new, structured application. The `README.md` file provides comprehensive instructions for the new setup and usage, including the one-time database initialization process.
This commit introduces a complete rewrite of the OI Tracker application, rebuilding it from the ground up with a professional, database-driven architecture using Flask and SQLite. This new version is significantly more robust, performant, and scalable. It includes a modular structure, a full-featured web interface with dynamic instrument and expiry selection, and a reliable data processing pipeline. All previous files have been replaced with the new, structured application. The `README.md` file provides comprehensive instructions for the new setup and usage, including the one-time database initialization process.
Adds a new `/debug` route and template to display the exact `API Key` and `Redirect URI` being used by the application. This provides a reliable way for users to diagnose and fix configuration mismatches that cause login errors.
This commit introduces a complete rewrite of the OI Tracker application, rebuilding it from the ground up with a professional, database-driven architecture using Flask and SQLite. This new version is significantly more robust, performant, and scalable. It includes a modular structure, a full-featured web interface with dynamic instrument and expiry selection, and a reliable data processing pipeline. All previous files have been replaced with the new, structured application. The `README.md` file provides comprehensive instructions for the new setup and usage, including the one-time database initialization process.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.