How thorbeck20/theredqueen works
TheRedQueen is an investment-information website bringing financial resources into one interface. The visible workflow is a user navigating the React app to bond tools, which request FRED series metadata and observations through FastAPI and display yields or chart data; Polymarket event previews provide a separate market-information branch. The README also names stock fundamentals from yfinance as a planned capability, but the sampled Stocks page is empty. Backend wiring for dividends and the Polymarket service is not shown, so those links are omitted where unsupported.
Main entry points: App.jsx App shell and routes · main.py FastAPI app · fred_bonds.py FRED requests · Bonds.jsx Bond dashboard
Components 18
Investment UI
- App shell and routes
TRQ-frontend/src/App.jsx - Navigation and theme
TRQ-frontend/src/components/Navbar/Navbar.jsx - Bond dashboard
TRQ-frontend/src/components/BondsPage/Bonds.jsx - Yield comparisons
TRQ-frontend/src/components/BondsPage/YieldSpreadComp.jsx - Series charting
TRQ-frontend/src/components/ChartComponents/ChartContainer.jsx - Stock information
TRQ-frontend/src/components/Stockspage/Stocks.jsx - Options page
TRQ-frontend/src/components/OptionsPage/Options.jsx - Event preview
TRQ-frontend/src/components/PolyMarketComponents/EventsPreview.jsx
API backend
- FastAPI app
Backend/main.py - Bond series route
Backend/routers/bonds.py - FRED requests
Backend/services/fred_bonds.py - Dividend route
Backend/routers/dividends.py - Polymarket route
Backend/routers/polymarket.py - Polymarket service
Backend/services/polymarket.py
Market data
- FRED API
- Polymarket API
- yfinance
Other components
- Investor
Connections 17
- Investor → App shell and routes: uses
- App shell and routes → Navigation and theme: renders
- App shell and routes → Bond dashboard: routes
- App shell and routes → Stock information: routes
- App shell and routes → Options page: routes
- Bond dashboard → Yield comparisons: renders
- Yield comparisons → FastAPI app: requests yields
- Series charting → FastAPI app: requests series
- FastAPI app → Bond series route: mounts
- Bond series route → FRED requests: fetches series
- FRED requests → FRED API: requests data
- Event preview → FastAPI app: requests event
- FastAPI app → Polymarket route: mounts
- Polymarket route → Polymarket service: calls
- Polymarket service → Polymarket API: fetches markets
- Dividend route → FRED requests
- Stock information → yfinance: planned fundamentals