Spaces:
Running
Running
metadata
title: Taiwan Stock Predictor
emoji: 📈
colorFrom: blue
colorTo: indigo
sdk: docker
app_port: 7860
pinned: false
Taiwan Stock ML Predictor API
FastAPI backend with RandomForest ML model for Taiwan stock prediction (TWSE/TPEX).
Hugging Face Free CPU Notes
This Docker Space is tuned for Hugging Face CPU Basic:
LIGHTWEIGHT_MODE=1MODEL_MEM_CACHE_SIZE=3INSTITUTIONAL_FLOW_DAYS=60INSTITUTIONAL_FLOW_WORKERS=2WARMUP_STOCKS=""- one
uvicornworker on port7860
These defaults keep cold starts and memory use modest on the free 2 vCPU / 16 GB RAM Space while preserving the 5-day prediction flow. For backtests or accuracy experiments outside the free Space, increase INSTITUTIONAL_FLOW_DAYS to 260 and enable warmup stocks explicitly.