Skip to content

zakudriver/achive

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A-Chive

Achive - a chive, means a chive in the A-shares.

Achive is a plug-in based on api of Sina that creates a dashboard displaying real-time data of a-share indexs and stocks. Thanks for the super-fast Sina api, achive performs so well to update data automatically.

Screencast

./imgs/achive.png

Installation

Download el file to your load-path.

Usage

(use-package achive
  :load-path "~/.emacs.d/site-lisp/achive"
  :bind
  ("C-c a a" . achive)
  :custom
  (achive-auto-refresh t)
  (achive-refresh-seconds 5)
  (achive-stock-list '("sh600036" "sh601012" "sz000625" "sz002050" "sz002013" "sh600176")))

Customization

VariableDefaulttypeDescription
achive-index-list’(“sh000001” “sz399001” “sz399006”)listList of composite index.
achive-stock-list’(“sh600036” “sz000625”)listList of stocks.
achive-buffer-nameA ChivestringBuffer name of achive board.
achive-search-buffer-nameA Chive - results -stringBuffer name of achive search board.
achive-auto-refreshtbooleanWhether to refresh automatically.
achive-refresh-seconds5integerSeconds of automatic refresh time.
achive-cache-path(concat user-emacs-directory “.achive”)stringPath of cache.
achive-colouringtbooleanWhether to apply face. If it’s nil will be low-key, you can peek at it at company time.

Command

CommandDescription
achiveLaunch achive and switch to visual buffer.
achive-refreshManual refresh and render.
achive-searchSearch stocks by codes.
achive-addAdd favorite stocks by codes
achive-removeRemove favorite stocks.
achive-switch-colouringManual switch colouring. It’s handy for emergencies.

For traders

bought and forget.

About

Real-time board for A shares.

Resources

License

Stars

Watchers

Forks

Packages

No packages published