TradingAgents/run_api.sh

17 lines
406 B
Bash
Executable File

#!/bin/bash
# Startup script for Trading Agents API
echo "Starting Trading Agents API..."
echo ""
echo "First time running? The API will automatically:"
echo " • Initialize the database"
echo " • Create a default API key (save it!)"
echo ""
echo "API will be available at: http://localhost:8002"
echo "API Documentation: http://localhost:8002/docs"
echo ""
cd "$(dirname "$0")"
python -m api.main