Skip to content

Real-time stock tickers from the command-line based on Java

Notifications You must be signed in to change notification settings

DaegiKim/java-stock-ticker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

java-stock-ticker

Real-time stock tickers from the command-line based on Java

java-stock-ticker

Requirements

  • Java 10+
  • Dependencies
    • org.apache.httpcomponents:httpclient:4.5.9
    • org.json:json:20180813

Usage

First, build the project to generate the jar file.

# Single symbol with refresh interval 500 millis:
$ java -jar ./java-stock-ticker.jar 500 207760.KQ  
 
# Multiple symbols with refresh interval 500 millis:
$ java -jar ./java-stock-ticker.jar 500 ^KS11 ^KQ11 GOOG AAPL BTC-USD 207760.KQ 263750.KQ

Note

Data on the US stock market is updated in real time, but most other countries has delays(10~20min). link

Inspired by ticker.sh