Skip to content

sejalgupta3/Stock-Market-Trading-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

###Stock Market It is a virtual stock trading system for whoever wants to learn how to invest in stocks. The system uses real-time pricing via Yahoo finance API and supports USD currency only.

Feautres

The system has two features:

  • Buying stockss
Request
“stockSymbolAndPercentage”: string (E.g. “GOOG:50%,YHOO:50%”)
“budget” : float32
Response
“tradeId”: number
“stocks”: string (E.g. “GOOG:100:$500.25”, “YHOO:200:$31.40”)
“unvestedAmount”: float32
  • Checking your portfolio (loss/gain)
Request
“tradeId”: number
Response
“stocks”: string (E.g. “GOOG:100:+$520.25”, “YHOO:200:-$30.40”)
“currentMarketValue” : float32
“unvestedAmount”: float32

The system has 2 components: client and server.

  • server: the trading engine has JSON-RPC interface for the above features.
  • client: the JSON-RPC client takes command line input and send requests the server.

About

add stock file

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages