How manvendra27saini/algo-trading works
Project type and purpose
• This is a single‐page application (SPA) front‐end for an algorithmic trading platform. Users configure and backtest trading strategies entirely in the browser. There is no custom server code in the repository—everything runs client-side and is hosted as static assets (Vercel + Vite).
File structure
• Top level:
• package.json / package-lock.json, vite.config.js, postcss.config.js, tailwind.config.js → build and CSS pipelines
• public/ + index.html → static hosting root
• data.json, stock.json → sample/historical data stores
• UI/ → prebuilt demo components and shared UI primitives (input, label, sparkles, etc.)
• src/ → core React app
– main.jsx, App.jsx
– components/ → page components (Home, About, Backtesting, StrategyBuilder, Discuss, etc.)
– components/backtesComp/ → backtesting subcomponents (form, results, plots, summary tabs)
• bundler: Vite; styling: Tailwind + PostCSS; deployment: vercel.json
README for additional insights
• Describes four main user flows: strategy customization, backtesting, optimization, community collaboration.
• No mention of a custom backend API—assume future integration points to external data services or community forums.
Detail
• How backtesting parameters flow from StrategyBuilder → backtesComp/BacktestForm → simulation code → Plotlychart components → OverallSummaryTab
• Build steps: source files feed into Vite → output bundles CSS/JS → deployed to Vercel