Skip to content

howardmn/StockMarketSim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

StockMarketSim

Stock market simulator

This simulator includes a trading account that tracks balance and stock holdings that mimics the stock market movements. It will also mimic the queue of requested trades that is resolved periodically in bulk batches in order of trade placements.

This project will involve the following:

  • Inheritance
  • Queue
  • Random number generation for simulations
  • Compsite Objects
  • An algorithm that allows stocks to trend in one direction to avoid chaotic up/down every turn

What I learned:

  • Creating instance variables
  • Using inheritance from Account class
  • Using array for stock positions
  • Storing pending stock trade in queue until execution
  • Using constructors

About

Stock market simulator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages