Skip to content

scala akka-stream real-time stock websocket Yahoo Finance API

Notifications You must be signed in to change notification settings

aharjati/play-streaming-stock-scala

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

play-streaming-stock-scala

This is a simple application for watching a stock quote in real time. Scala, Play, and Akka-stream are used to implement this application and sbt helps to easily run my program. Yahoo Finance API is used to feed real time stock prices. http://financequotes-api.com

  1. Download the template:

     git clone [email protected]:ychoi27/play-streaming-stock-scala.git
    

    Or, if you don't have git installed, download and unzip the files manually from here.

  2. To run your program, in SBT:

     cd play-streaming-stock-scala
     sbt run
    
  3. Interact with UI:

    Go to http://localhost:9000/ 
    

    It has a really simple ui. A user can add symbol with the input text field and the add button. Once a user click the button, the stock quote card will be added. To delete the card, just click the Remove button.
    Finally, the real time data is available during trading hours.

Image description

About

scala akka-stream real-time stock websocket Yahoo Finance API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Scala 76.9%
  • HTML 8.9%
  • CoffeeScript 7.3%
  • CSS 6.9%