stock-tracker
is a simple interface for Emacs to track stocks in china and us markets.
CHINA stock api: Netease Stock (网易股票)
US stock api: CNBC
Install stock-tracker
from MELPA with:
M-x package-install RET stock-tracker RET
stock-tracker-start
- Start stock-tracker and display stock information with buffer
;; Refresh stock price every 5*10 secs
(customize-set-variable 'stock-tracker-refresh-interval 5)
;; Set up as green, down as red
(customize-set-variable 'stock-tracker-up-red-down-green nil)
;; Customize stocks
(customize-set-variable 'stock-tracker-list-of-stocks
'("0688516"
"0601012"
"0601058"
"0603707"
"0603131"
"1002585"
"0600905"
"1002594"
"1300014"
"1300750"
"0600563"))
;; Example Key binding
(global-set-key (kbd "C-c s") 'stock-tracker-start)
- Support CHN (SS, SZ), US stocks.
- Support asynchronous data fetching.
- Automatically save list of added stocks.
- Colorize stocks based on their price.
- Find new free api to get hk stocks.
MIT LICENSE. Copyright (c) 2019-2023 Huming Chen <chenhuming@gmail.com>