TradeX v1.2.0
TradeX v1.2.0 - Security & Feature Enhancements
Release Highlights
This release introduces significant security improvements, enhanced logging functionality, and streamlined credential management for a better and more secure user experience.
🔒 Security Enhancements
- Credential Management Update:
.env.examplenow requires credentials to be generated dynamically usinggenerate_credentials.pyinstead of hardcoded values.FLASK_SECRET_KEYandDASHBOARD_PASSWORDare now securely generated.- Default password handling is removed from
config.py.
- Password Hashing:
- Passwords are now stored and verified using
bcrypt. - Secure authentication implemented in
dashboard_app.py.
- Passwords are now stored and verified using
🚀 New Features & Improvements
- Log Management:
- New
/logsAPI endpoint added to fetch logs dynamically. - Users can now view logs directly in the dashboard.
- Added UI elements in
dashboard.htmlfor log selection and display.
- New
- Improved Error Handling & Validation:
- Enhanced error logging for missing or invalid signal fields in
signal_handler.py. - Numeric validations added for
QUANTITYandPRICEfields.
- Enhanced error logging for missing or invalid signal fields in
- Automated Secret Generation:
generate_credentials.pyadded to generate secure environment variables.- Users are prompted to input a password, which is securely hashed.
📈 Dependency Updates
- New Dependencies Added:
bcryptfor secure password handling.- Various Python packages updated in
requirements.txtandrequirements-dev.txtfor improved stability and security.
🛠️ Bug Fixes
- Fixed missing
.gitignoreentries forlogs/andideas.txt. - Minor UI fixes in
dashboard.html.