mirror of
https://github.com/chrisnov-it/quantumbotx.git
synced 2026-07-27 18:57:47 +00:00
Fix health endpoint, bump MT5 dep, polish README
- Fix health check: mt5.isinitialize() → mt5.terminal_info() (was crashing) - Bump MetaTrader5 5.0.5120 → >=5.0.5735 (old version removed from PyPI) - README: add dev status note, restructure strategy table with 14 active - README: Hybrid & Crypto reclassified as Intermediate (not Expert) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -1,10 +1,14 @@
|
||||
# QuantumBotX
|
||||
|
||||
QuantumBotX is a Windows-first trading bot and backtesting platform for
|
||||
QuantumBotX is a **Windows-first trading bot and backtesting platform** for
|
||||
MetaTrader 5. The `main` branch is intentionally kept focused on MT5 so users
|
||||
can install, test, and run the current app without confusion from experimental
|
||||
cross-platform work.
|
||||
|
||||
> 🚧 **Development Status:** Actively maintained but built in spare time.
|
||||
> New features and fixes land when the developer's schedule allows.
|
||||
> Contributions, ideas, and bug reports are always welcome.
|
||||
|
||||
Use this project for education, research, demo trading, and strategy validation.
|
||||
Always test on a demo account before considering any live trading.
|
||||
|
||||
@@ -169,33 +173,13 @@ Supported markets depend on the connected MT5 broker. Common examples include:
|
||||
- Indices such as US30, US100, US500, DE30, UK100, when available.
|
||||
- Crypto CFD symbols such as BTCUSD or ETHUSD, when available through MT5.
|
||||
|
||||
## Strategy Collection
|
||||
## Strategy Collection (14 Active)
|
||||
|
||||
Beginner-friendly:
|
||||
|
||||
- MA Crossover
|
||||
- RSI Crossover
|
||||
- Turtle Breakout
|
||||
|
||||
Intermediate:
|
||||
|
||||
- Bollinger Reversion
|
||||
- Bollinger Squeeze
|
||||
- Ichimoku Cloud
|
||||
- Pulse Sync
|
||||
- Index Momentum
|
||||
|
||||
Advanced:
|
||||
|
||||
- Quantum Velocity
|
||||
- Mercy Edge
|
||||
- Dynamic Breakout
|
||||
- Index Breakout Pro
|
||||
|
||||
Expert:
|
||||
|
||||
- QuantumBotX Hybrid
|
||||
- QuantumBotX Crypto
|
||||
| Difficulty | Strategies |
|
||||
|------------|------------|
|
||||
| 🟢 Beginner | MA Crossover, RSI Crossover, Turtle Breakout |
|
||||
| 🟡 Intermediate | Bollinger Reversion, Bollinger Squeeze, Ichimoku Cloud, Pulse Sync, Index Momentum, QuantumBotX Hybrid, QuantumBotX Crypto |
|
||||
| 🔴 Advanced | Quantum Velocity, Mercy Edge, Dynamic Breakout, Index Breakout Pro |
|
||||
|
||||
Strategy availability and behavior are validated by:
|
||||
|
||||
|
||||
+1
-1
@@ -8,7 +8,7 @@ idna==3.10
|
||||
itsdangerous==2.2.0
|
||||
Jinja2==3.1.6
|
||||
MarkupSafe==3.0.2
|
||||
MetaTrader5==5.0.5120
|
||||
MetaTrader5>=5.0.5735; platform_system == "Windows"
|
||||
numpy>=1.26.4,<3
|
||||
pandas==2.3.1
|
||||
python-dateutil==2.9.0.post0
|
||||
|
||||
@@ -29,7 +29,8 @@ app = create_app()
|
||||
@app.route('/api/health')
|
||||
def health_check():
|
||||
"""Endpoint untuk memastikan server berjalan."""
|
||||
mt5_status = "MT5 connected" if mt5.isinitialize() else "MT5 not connected" # pyright: ignore[reportAttributeAccessIssue]
|
||||
mt5_status = "MT5 connected" if mt5.terminal_info() else "MT5 not connected"
|
||||
# pyright: ignore[reportAttributeAccessIssue]
|
||||
return jsonify({"status": "ok", "message": "Server is running", "mt5": mt5_status})
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
||||
Reference in New Issue
Block a user