Skip to content

Feature/oi tracker script#3

Open
aakash-code wants to merge 7 commits into
mainfrom
feature/oi-tracker-script
Open

Feature/oi tracker script#3
aakash-code wants to merge 7 commits into
mainfrom
feature/oi-tracker-script

Conversation

@aakash-code

Copy link
Copy Markdown
Owner

No description provided.

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant