Skip to content

TradeX v1.2.0

Choose a tag to compare

@Sentello Sentello released this 15 Mar 12:58
· 33 commits to main since this release

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.example now requires credentials to be generated dynamically using generate_credentials.py instead of hardcoded values.
    • FLASK_SECRET_KEY and DASHBOARD_PASSWORD are 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.

🚀 New Features & Improvements

  • Log Management:
    • New /logs API endpoint added to fetch logs dynamically.
    • Users can now view logs directly in the dashboard.
    • Added UI elements in dashboard.html for log selection and display.
  • Improved Error Handling & Validation:
    • Enhanced error logging for missing or invalid signal fields in signal_handler.py.
    • Numeric validations added for QUANTITY and PRICE fields.
  • Automated Secret Generation:
    • generate_credentials.py added to generate secure environment variables.
    • Users are prompted to input a password, which is securely hashed.

📈 Dependency Updates

  • New Dependencies Added:
    • bcrypt for secure password handling.
    • Various Python packages updated in requirements.txt and requirements-dev.txt for improved stability and security.

🛠️ Bug Fixes

  • Fixed missing .gitignore entries for logs/ and ideas.txt.
  • Minor UI fixes in dashboard.html.