How internalforces/quant_al works
MB Quant resolves Korean and US stock names or tickers, then serves price snapshots and MB-based signals and return comparisons through a React dashboard and Telegram bot; it also supports scheduled email reports. The graph preserves these separate entry points and domain stages. Edges are limited to relationships shown in excerpts, the source index, or README; unsampled implementation details are not inferred.
Main entry points: analysis.py FastAPI routes · App.jsx Dashboard · AnalysisResult.jsx Analysis view · ticker_resolver.py Ticker resolver
Components 29
Web dashboard
- Dashboard
frontend/src/App.jsx - Ticker search
frontend/src/components/SearchBar.jsx - API client
frontend/src/api/client.js - Analysis view
frontend/src/components/AnalysisResult.jsx - Price view
frontend/src/components/StockPrice.jsx - Signal card
frontend/src/components/SignalCard.jsx - Stats table
frontend/src/components/StatsTable.jsx - Price chart
frontend/src/components/PriceChart.jsx - Return chart
frontend/src/components/ReturnChart.jsx
API and analysis
- FastAPI routes
backend/routers/analysis.py - Response schemas
backend/schemas/models.py - Ticker resolver
backend/services/ticker_resolver.py - Yahoo search client
backend/services/ticker_search.py - Price lookup
backend/services/price.py - Signal analysis
backend/services/analysis.py - MB strategy
backend/services/strategy.py
Telegram bot
- Telegram commands
telegram_bot/main.py - Chat aliases
telegram_bot/aliases.py - SQLite store
Email reporting
- Signal report
mb_main.py - SMTP sender
module/mail.py
Other components
- User
- KRX listings
- Yahoo search
- Yahoo Finance data
- Telegram user
- Scheduled runner
- SMTP service
- Email recipient
Connections 29
- User → Dashboard: uses
README.md - Dashboard → Ticker search: renders
frontend/src/App.jsx - Ticker search → API client: searches
frontend/src/components/SearchBar.jsx - Dashboard → API client: requests analysis and price
frontend/src/App.jsx - Dashboard → Analysis view: renders
frontend/src/App.jsx - Dashboard → Price view: renders
frontend/src/App.jsx - Analysis view → Signal card: renders
frontend/src/components/AnalysisResult.jsx - Analysis view → Stats table: renders
frontend/src/components/AnalysisResult.jsx - Analysis view → Price chart: renders
frontend/src/components/AnalysisResult.jsx - Analysis view → Return chart: renders
frontend/src/components/AnalysisResult.jsx - API client → FastAPI routes: calls
frontend/src/api/client.js - FastAPI routes → Response schemas: validates responses
backend/routers/analysis.py - FastAPI routes → Ticker resolver: resolves queries
backend/routers/analysis.py - FastAPI routes → Price lookup: loads prices
backend/routers/analysis.py - FastAPI routes → Signal analysis: runs analysis
backend/routers/analysis.py - Ticker resolver → Yahoo search client: searches candidates
backend/services/ticker_resolver.py - Ticker resolver → KRX listings: looks up listings
backend/services/ticker_resolver.py - Yahoo search client → Yahoo search: queries
backend/services/ticker_search.py - Price lookup → Yahoo Finance data: fetches market data
README.md - Signal analysis → MB strategy: builds analysis
backend/services/analysis.py - Telegram user → Telegram commands: sends commands
README.md - Telegram commands → FastAPI routes: requests price and signals
telegram_bot/main.py - Telegram commands → Chat aliases: manages aliases
telegram_bot/main.py - Chat aliases → SQLite store: reads and writes
telegram_bot/aliases.py - Scheduled runner → Signal report: starts
README.md - Signal report → MB strategy: uses strategy
mb_main.py - Signal report → SMTP sender: sends report
mb_main.py - SMTP sender → SMTP service: delivers email
module/mail.py - SMTP service → Email recipient: delivers
README.md