691 B
691 B
alpaca-llm-bot-v1
Autonomous 2-hour trading loop powered by:
- Alpaca trading API
- Ollama local model inference
- Searx web data ingestion
- FastAPI dark dashboard
Safety defaults
PAPER_MODE=true- max order notional
$5 - confidence gate
>= 0.55before order placement
Quick start
cp .env.example .env
# fill ALPACA_API_KEY / ALPACA_API_SECRET
chmod +x run.sh
./run.sh
Open dashboard:
http://<host>:8089/
Trigger immediate cycle:
curl -X POST http://127.0.0.1:8089/run-now
Production notes
- Put behind reverse proxy + auth
- Keep paper mode until behavior validated
- Add hard stop-loss and max daily drawdown before enabling live mode