Skip to content

programming-club-knit/protrader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ProTrader — React challenge

Welcome to the ProTrader dashboard team. This is a small React app that simulates a high-frequency trading dashboard used by brokers. The code intentionally contains a number of architectural and lifecycle bugs (race conditions, memory leaks, and performance regressions) — your mission is to find and fix them using modern React patterns.


Setup

  1. Install dependencies
npm install
  1. Start the app
npm run dev
  1. Open the site in your browser

Visit http://localhost:5173 (or the URL shown in your terminal). Keep your browser DevTools (Console) open to inspect logs while debugging.


Key files to inspect

Work on the following files to fix the critical issues:

  • src/hooks/useStockPrice.js
  • src/components/LiveTicker.jsx
  • src/components/TradeForm.jsx
  • src/components/Portfolio.jsx
  • src/context/UserContext.jsx

Tasks

Read issue.md for the exact list of critical bugs and recommended fixes. Your objectives:

  • Fix all 5 Critical Bugs listed in issue.md.
  • If you have extra time, complete the Advanced Add‑ons.

How to submit

  1. Fork this repository on GitHub
  2. Create a branch for each issue or a single feature branch
  3. Implement fixes and add tests where appropriate
  4. Open a Pull Request, and in the PR description explain:
    • What caused the bug (technical root cause)
    • How you fixed it (code-level explanation)

Good luck — and feel free to ask for help or propose which bug you'd like to fix first!

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •