Releases: Sentello/TradeX
TradeX v1.3.1
🚀 TradeX v1.3.1 – Position Closure Fix for Bybit
🛠️ Release Highlights
This is a small but important patch release targeting Bybit position closure logic.
🐛 Bugfix
- Fixed an edge case where closing a LONG position on Bybit could accidentally trigger a doubling of contracts instead of closing it properly.
- The issue was caused by the
sidedetection logic not accounting for"long"in addition to"buy".
Updated logic:side = "sell" if (pos["side"] == "buy" or pos["side"] == "long") else "buy"
TradeX v1.3.0
🚀 TradeX v1.3.0 - Dashboard Redesign & UI Polishing
Release Highlights
This version focuses on a complete front-end makeover! The dashboard has been rebuilt and restyled for clarity, better UX, and mobile responsiveness—plus, several bugs squashed under the hood. Whether you're watching your PNL or clearing positions like a pro, it’s smoother, cleaner, and faster.
🎨 UI & Front-End Overhaul
- Fully refactored
dashboard.htmlwith improved structure and indentation. - Responsive layout enhancements for mobile and tablet views.
- Updated color palette, font sizes, spacing, and button styling for a more modern look.
- Added clear section headers: Summary Stats, Open Positions, Pending Orders, and Logs.
- Buttons (
Close,Close All) now have better hover effects and clearer feedback. - Enhanced tables with improved formatting, alignment, and visual separation.
📊 Functional Improvements
- Added real-time log viewing with dynamic file selection via dropdown.
- Logs now load automatically on dashboard load with fallback error handling.
fetchLogs,fetchPositions,fetchPendingOrders, andfetchSummaryStatsnow auto-refresh every 15 seconds.- Error handling improved with visible messages in case of backend issues.
🧼 Code Cleanup & Structure
- Removed redundant code blocks and merged duplicated sections.
- Aligned HTML and JS logic more clearly for maintainability.
- Organized JavaScript functions for better readability and debugging.
- Standardized CSS styles into a clean, dark-theme layout.
🐞 Bug Fixes
- Fixed layout inconsistencies between different dashboard sections.
- Corrected errors in dynamic data rendering for logs and positions.
- Cleaned up broken spacing and duplicated HTML tags.
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.
TradeX v1.1.1
Release v1.1.1 🎉
New Dashboard Statistics
🚀 What’s New:
In this update, I’m adding new stats to the web dashboard for better insights into your performance!
✨ New Features:
- Dashboard Statistics:
A new statistics section has been added to the web dashboard.
TradeX v1.1.0
Release v1.1.0 🎉
Enhanced Order Processing & Dashboard Improvements
🚀 What’s New:
I’m excited to bring you a more versatile and user-friendly experience with this update! Here’s what’s fresh in v1.1.0:
✨ New Features:
- Email Alerts as Orders:
You can now process email alerts from TradingView as orders! This gives users more flexibility in how they integrate their trading strategies. - Dual Integration Support:
Choose between Webhook, Email Alerts, or both for seamless order processing based on your preferences.
🛠️ Improvements:
- Dashboard Enhancements:
- Added red and green PNL indicators for open positions, making it easier to track performance at a glance.
- Small UI refinements for a smoother and more intuitive experience.
- Codebase Refinements:
Under-the-hood optimizations to improve stability, readability, and maintainability of the code.
TradeX v1.0.0
Release v1.0.0 🎉
First Version
🚀 Features:
- Processes webhook alarms from TradingView
- Web Dashboard