Settings
Bot configuration and account details
Account
Loading…
Risk parameters
Max risk / trade2% of equity
Max portfolio risk8% of equity
Daily loss kill-switch-3% of equity
Max concurrent positions15
Max position size10% of equity
Min position size$100
Edit these in config.py on the VPS, then restart with sudo systemctl restart tradingbot.
Going live
Before flipping to live trading: paper-trade for ≥3 months, verify drawdown stays within tolerance, setALPACA_BASE_URL=https://api.alpaca.marketsin .env, restart, and start with capital you can afford to lose 100% of.
Operating commands
# Live tail logs ssh debian@15.204.117.68 'tail -f /home/debian/trading-bot/logs/bot_*.log' # Restart bot (after config changes) ssh debian@15.204.117.68 'sudo systemctl restart tradingbot' # Status ssh debian@15.204.117.68 'sudo systemctl status tradingbot'