Initial commit: Mad Turtle v2.0 ML EA for XAUUSD H1 with Python inference server and MQL5 EA
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
#!/bin/bash
|
||||
# setup.sh — One-command environment setup for Mad Turtle v2.0
|
||||
|
||||
set -e
|
||||
|
||||
echo "=== Mad Turtle v2.0 Setup ==="
|
||||
|
||||
# Python venv
|
||||
if [ ! -d .venv ]; then
|
||||
python3 -m venv .venv
|
||||
echo "Created .venv"
|
||||
fi
|
||||
|
||||
source .venv/bin/activate
|
||||
|
||||
pip install --upgrade pip setuptools wheel
|
||||
pip install numpy onnx onnxruntime fastapi uvicorn pydantic
|
||||
|
||||
# Optional: for training real models (requires Python 3.11/3.12 + Xcode CLT)
|
||||
# pip install scikit-learn skl2onnx pandas
|
||||
|
||||
echo "=== Setup complete ==="
|
||||
echo "Activate venv: source .venv/bin/activate"
|
||||
echo "Start server: python python/run_server.py"
|
||||
echo "Then attach MadTurtle.mq5 to MT5."
|
||||
Reference in New Issue
Block a user