Skip to content
tejas-mlPublic

About

Real-time stock and options trading simulator with Black–Scholes pricing, Greeks, live P&L, and portfolio tracking.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TradeSim

A real-time stock and options trading simulator built with plain HTML, CSS, and JavaScript — no frameworks, no dependencies.

Live demo: https://tejas-ml.github.io/TradeSim/

Features

  • Live price chart with configurable market modes (Bull / Neutral / Bear)
  • Stock trading — buy and sell shares with real-time P&L
  • Options chain powered by Black-Scholes pricing
    • Buy (long) or sell/write (short) calls and puts
    • 1-minute and 3-minute expiries
    • Live bid/ask spreads, breakeven prices, and per-position P&L
    • Early close at market bid/ask; auto-settlement at expiry
  • Portfolio breakdown — cash, shares, and options mark-to-market
  • Activity log for all trades and expirations

License

MIT. See LICENSE.

About

Real-time stock and options trading simulator with Black–Scholes pricing, Greeks, live P&L, and portfolio tracking.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages