Spaces:
Sleeping
Sleeping
Commit History
-
feat: PDF proxy, 0-qty filter, dashboard unrealized P&L, compact mobile cards
Bibhu Mishra +1: Claude Sonnet 4.6- Reports: proxy PDF through API with GITHUB_TOKEN instead of bare redirect (fixes private-repo PDFs that 401'd in the browser) - Transactions: filter quantity > 0 at query level to hide bad 0-qty records - Dashboard: add 6-card KPI row (portfolio value, unrealized P&L, realized P&L, buying power, win rate, open positions), live open-positions table with current price/unrealized P&L/target/stop/age, improved chart options - TransactionsView: tighten mobile card padding (12→8px) and font (0.85→0.78rem) so cards are visibly more compact Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>d932d1d
-
Add GitHub Actions CI/CD, HF Space deployment, market hours guard, and static serving
Bibhu Mishra +1: Claude Sonnet 4.6- Dockerfile (multi-stage Node build, port 7860 for HuggingFace) - .github/workflows/deploy-hf.yml — force-push to HF Space on every main push - .github/workflows/market_analyst.yml — cron 9:30 AM CST Mon–Fri + workflow_dispatch - .github/workflows/paper_trader.yml — crons 10 AM / 12 PM / 2:45 PM CST Mon–Fri - .github/workflows/retrospective.yml — cron Mon 5 AM UTC (Sun 11 PM CST), no market gate - agents/core/market_hours.py — check_or_exit() exits cleanly when market is closed; FORCE_RUN=true bypasses (set automatically on workflow_dispatch from admin) - Market Analyst and Paper Trader call check_or_exit() at startup - api/src/app.module.ts — ServeStaticModule serves ui/dist when present (production) - api/src/main.ts — add HuggingFace Space origin to CORS - api/src/agent-runs/agent-runs.service.ts — trigger() now dispatches GitHub Actions workflow_dispatch with force=true instead of spawning local shell scripts - ui/src/views/AdminView.vue — live market-hours banner + market tag…abc493d