Fix Training System: Remove Fallbacks, Add Standalone Trainers, Improve GUI Controls#21
Merged
Merged
Conversation
…ve GUI controls - Fixed Train All functionality that was flickering and auto-reverting - Removed KuCoin and other exchange fallback dependencies - Created standalone pt_trainer.py that performs actual neural network training - Added 2x2 training button grid: Train Selected/Stop Selected, Train All/Stop All - Fixed multi-exchange system to use Binance public API for data provider - Disabled auto-start behavior that was triggering training on startup - Updated exchange status display to show 'No exchange configured' by default - Added comprehensive debug logging and process monitoring - Extended training duration to 45 seconds to maintain GUI status - Fixed Python path issues for trainers running from coin subfolders - Synchronized trainer files across BTC, ETH, XRP, BNB, DOGE directories Resolves: Training GUI flickering, auto-start issues, exchange fallback errors
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.
Overview
This PR addresses critical issues with the training system including GUI flickering, auto-reverting behavior, and unwanted exchange fallback dependencies.
Key Changes
Core Training System Fixes
pt_trainer.pythat performs actual neural network training (20 epochs, 45 seconds)Fallback System Removal
pt_data_provider.pyto use only the multi-exchange systemEnhanced GUI Controls
Debug & Monitoring
File Structure Improvements
pt_trainer.pyto all coin subdirectories (BTC, ETH, XRP, BNB, DOGE)pt_trainer_standalone.pyfiles for each coinFiles Modified
pt_data_provider.py- Removed fallback system completelypt_hub.py- Enhanced GUI with 2x2 button grid and debug loggingpt_trainer.py- Replaced with standalone trainer implementationpt_multi_exchange.py- Added public access supportpt_exchange_abstraction.py- Modified ExchangeFactory for public APIpt_exchanges.py- Made API credentials optionaltrading_config.json- Enabled Binance for public data accessTesting Results
Breaking Changes
Migration Notes