How vrushaldeshpande01/vrdcapital works
VrdCapital is a portfolio-management platform for professional managers. The main workflow runs from browser-based sign-in and client selection into trading or portfolio views; order placement is validated and executed by the order service, while broker sync updates portfolio holdings and reports can be generated as PDF/XLSX. The graph also preserves client administration, market data, notifications, and alerts. Inter-service arrows follow README documentation or shown source references; unsampled integrations are not inferred.
Main entry points: client.ts API client · order_pipeline.py Order pipeline · portfolio.py Portfolio service · sync_engine.py Broker sync
Components 20
Web application
- React application
frontend/src/App.tsx - API client
frontend/src/api/client.ts
Identity and clients
- Authentication
services/auth-service/app/routes/auth.py - User management
services/auth-service/app/routes/users.py - Client profiles
services/client-service/app/routes/clients.py
Trading and brokers
- Order API
services/order-service/app/routes/orders.py - Order pipeline
services/order-service/app/services/order_pipeline.py - Margin checks
services/order-service/app/services/margin_service.py - Order execution
services/order-service/app/services/order_executor.py - Resting-order triggers
services/order-service/app/services/trigger_engine.py - Broker adapters
services/broker-service/app/adapters - Broker sync
services/broker-service/app/services/sync_engine.py - Market data
services/broker-service/app/services/price_streamer.py
Portfolio and reporting
- Portfolio service
services/portfolio-service/app/routes/portfolio.py - Holdings and positions
services/portfolio-service/app/routes/holdings.py - Report generation
services/report-service/app/routes/reports.py - PDF and XLSX output
services/report-service/app/generators/pdf_generator.py
Notifications
- Notifications and alerts
services/notification-service/app/routes/notifications.py - WebSocket connections
services/notification-service/app/services/connection_manager.py
Other components
- Portfolio manager
Connections 20
- Portfolio manager → React application: uses
README.md - React application → API client: requests through
frontend/src/App.tsx - API client → Authentication: calls auth API
README.md - API client → Client profiles: calls client API
README.md - API client → Order API: calls orders API
README.md - API client → Portfolio service: calls portfolio API
README.md - API client → Report generation: calls reports API
README.md - API client → Notifications and alerts: calls notification API
- Order API → Order pipeline: delegates to
services/order-service/app/routes/orders.py - Order pipeline → Margin checks: checks margin
services/order-service/app/services/order_pipeline.py - Order pipeline → Order execution: executes through
services/order-service/app/services/order_pipeline.py - Resting-order triggers → Order pipeline: submits triggered orders
services/order-service/app/services/trigger_engine.py - Broker sync → Broker adapters: fetches broker data
services/broker-service/app/services/sync_engine.py - Broker sync → Holdings and positions: updates holdings
services/broker-service/app/services/sync_engine.py - Broker sync → Portfolio service: updates cash balances
services/broker-service/app/services/sync_engine.py - Market data → Resting-order triggers: provides price ticks
- Report generation → PDF and XLSX output: generates files
README.md - Notifications and alerts → WebSocket connections: pushes updates
services/notification-service/app/main.py - Order API → Portfolio service: publishes executed-order events
- Portfolio service → Holdings and positions: serves holdings data
README.md