Spaces:
Running
Running
Bibhu Mishra
Add GitHub Actions CI/CD, HF Space deployment, market hours guard, and static serving
abc493d | import { Controller, Get, UseGuards } from '@nestjs/common'; | |
| import { JwtAuthGuard } from '../auth/jwt-auth.guard'; | |
| import { DashboardService } from './dashboard.service'; | |
| ('dashboard') | |
| (JwtAuthGuard) | |
| export class DashboardController { | |
| constructor(private svc: DashboardService) {} | |
| ('monthly-pnl') monthlyPnl() { return this.svc.monthlyPnl(); } | |
| ('portfolio-value') portfolioHistory() { return this.svc.portfolioHistory(); } | |
| ('win-rate') winRate() { return this.svc.winRate(); } | |
| ('sector-breakdown') sectorBreakdown() { return this.svc.sectorBreakdown(); } | |
| ('agent-status') agentStatus() { return this.svc.agentStatus(); } | |
| } | |