AN INDEX OF CURIOSITY
tushar.ravaliya18@gmail.com
BACK TO SELECTED WORK
FIELD NOTE 02 /PAPER TRADING / MERN

GhostTrade.

What can building a trading simulator teach you about state?

STATUS
Built project
CONTENT BASIS
Source reviewed
BUILT WITH
React
Express
MongoDB
Node.js
Lightweight Charts
EXPLORE THE SOURCE
GitHub repository

A collaborative MERN paper trading project with a virtual balance, stock search, market data, interactive charts, holdings, and a transaction history. The buy and sell controllers update virtual balances and portfolio positions and record transactions.

01

A trade is a chain of changes

The Express trade controllers check available virtual funds or holdings, update portfolio quantities and average purchase prices, and append a transaction with the resulting balance.

02

Making market data readable

The React client includes stock search, market views, individual stock pages, and time-series charts. The server integrates with TwelveData for market information.

03

An end-to-end application

JWT and cookie-based authentication connect the interface to protected portfolio and trading routes. MongoDB stores users, holdings, and transactions. Docker configuration supports running the client and server.

THE SYSTEM, AT A GLANCE
  1. 01React interface
  2. 02Express API
  3. 03Trade controller
  4. 04MongoDB
KEEP EXPLORING / FIELD NOTE 03

Real-Time Chat