Skip to content

abhimana2003/Stock-Trading-Engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Stock-Trading-Engine

Anjali Bhimanadham

Project Folders Structure

/Stock-Trading-Engine
  /src
    Main.java
    Order.java
    StockTradingEngine.java
  /bin
  /.vscode
  README.md

Compilation and Execution

Compiling the Project

  • Need to be at project's root folder To compile all the Java files in the src file, run this command:
javac -d bin src/*.java

Running the Simulation

After compiling the project, you can run the stock trading engine simulator using:

java -cp bin Main

File Descriptions

  • Main.java: The main entry point for the simulation.
  • Order.java: defines the Order class for buying and selling stock orders
  • StockTradingEngine.java: defines the Stock Trading Engine class and all the methods for it, including addOrder and matchOrder

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages