kabuka is command line tool for display stock price.
Show Japanese market stock price.
$ kabuka 3994.T
8090 3994.T
$ kabuka 4373
2782 4373.TAlso show US market stock price.
$ kabuka AAPL
150.02 AAPLkabuka supports detailed output with the -d / --detail flag.
$ kabuka -d 3994.T
symbol price change change% open high low volume
------ ----- ------ ------- ---- ---- --- ------
3994.T 4208 +120 +2.93% 4100 4250 4080 341200
## same as
$ kabuka --detail 3994.Tkabuka supports json format.
$ kabuka 3994.T -f=json
{"symbol":"3994.T","current_price":"8420"}
## same as
$ kabuka 3994.T --format=jsonand also supports csv format.
$ kabuka 3994.T -f=csv
symbol,current_price
3994.T,5850
## same as
$ kabuka 3994.T --format=csvkabuka command depends on Yahoo! Japan Finance website. It fetch stock price info from the website. https://finance.yahoo.co.jp/