AI-Trader/scripts/main_crypto_step3.sh
2025-11-10 12:17:26 +08:00

13 lines
342 B
Bash
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/bin/bash
# 获取项目根目录scripts/ 的父目录)
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PROJECT_ROOT="$( cd "$SCRIPT_DIR/.." && pwd )"
cd "$PROJECT_ROOT"
echo "🤖 Now starting the cryptocurrencies trading agent..."
python main.py configs/default_crypto_config.json
echo "✅ AI-Trader 已停止"