Files
dienakdz c3cf230104 feat(trading-assistant): refactor strategy creation and enhance script mode functionality
- Removed conditional rendering for the assistant guide bar.
- Simplified strategy overview and strategy list item components.
- Introduced a new modal for selecting strategy mode.
- Enhanced strategy creation modal to support script strategies with a dedicated editor.
- Updated form handling for script strategies, including validation and submission logic.
- Improved user experience with better messaging and streamlined UI components.
- Updated translations for better clarity in Chinese.
2026-04-08 07:27:26 +07:00

26 lines
695 B
Bash

#!/bin/bash
# QuantDinger Python API startup script
# Activate the virtual environment if one is used
# source venv/bin/activate
# Check whether dependencies are installed
if ! python -c "import flask" 2>/dev/null; then
echo "Installing dependencies..."
pip install -r requirements.txt
fi
# Start the service
echo "Starting QuantDinger Python API service..."
echo "Service address: http://0.0.0.0:5000"
# Create the log directory
mkdir -p logs
# Development environment (uses the new entry file)
python run.py
# Production environment (uses gunicorn)
# gunicorn -w 4 -b 0.0.0.0:5000 --timeout 120 --access-logfile logs/access.log --error-logfile logs/error.log "run:create_app()"