Git Product home page Git Product logo

atom-finance-cn's Introduction

Finance-cn

Simple plugin for checking your stock in Atom.io editor (Money 163 (網易財經) - China, Hong Kong and US markets).

ScreenShot

Installing

  1. Go to Atom -> Preferences...
  2. Then select the Install tab
  3. Enter finance-cn in the search box

Using apm

$ apm install finance-cn

Install using Git

Alternatively, if you are a git user, you can install the package and keep up to date by cloning the repo directly into your ~/.atom/packages directory.

$ git clone https://github.com/7kfpun/atom-finance-cn.git ~/.atom/packages/finance-cn

Download Manually

  1. Download the files using the GitHub .zip download option and unzip them
  2. Move the files inside the folder to ~/.atom/packages/finance-cn

Usage

Display your stock watchlist in status bar.

Plugin settings page

To access the Finance-cn Settings:

  1. Go to Atom -> Preferences... or cmd-,
  2. In the Filter Packages type finance-cn

Settings

Finance-cn has 6 settings that can be edited:

  1. Display | default: right (right, left)
  2. Format | default: <span style="color:white">{name}</span>({type}): {price} ({percent})
  3. Refresh | default: 30 (In seconds, if zero seconds only refreshes when open/close windows or trigger refresh)
  4. Scroll | default: left (left, right, fixed)
  5. Scroll Delay | default: 85
  6. Separator | default: |
  7. Watchlist | default: hkHSI,hkHSCEI,0000001,1399001,1399300,US_DOWJONES,US_NASDAQ,US_SP500

Commands

The following commands are available and are keyboard shortcuts.

  • finance-cn:toggle - Toggle - ctrl-alt-f ctrl-alt-c
  • finance-cn:refresh - Refresh - ctrl-alt-r ctrl-alt-c

Financial data from Money 163 (網易財經)

This plugin supports all exchanges and markets that Money 163 covers.

  • For Hong Kong stock exchange, ticker should start with "hk"
    • e.g. hkHSI, hkHSCEI, hk00005
  • For Shanghai stock exchange, ticker should start with "0"
    • e.g. 0000001, 0601318
  • For Shenzhen stock exchange, ticker should start with "1"
    • e.g. 1399001, 1002594
  • For US markets, ticker should start with "US_"
    • e.g. US_DOWJONES, US_NASDAQ, US_SP500
  • For others, please refer from Money 163

QuoteProperty

// Shanghai and Shenzhen stock exchange
code
percent
high
askvol3
askvol2
askvol5
askvol4
price
open
bid5
bid4
bid3
bid2
bid1
low
updown
type
bidvol1
status
bidvol3
bidvol2
symbol
update
bidvol5
bidvol4
volume
askvol1
ask5
ask4
ask1
name
ask3
ask2
arrow
time
yestclose
turnover

// Hong Kong stock exchange
suspend
share
ask_volume
datetime
high
open
bid_volume
percent
low
pe
52low
type
price
updown
symbol
market_capital
schidesp
volume
lotsze4
ask
52high
yestclose
bid
name
time
turnover

// US markets
yestclose
type
name
updown
symbol
percent
update
52high
high
low
time
52low
open
price

Related project

  • atom-finance: Simple plugin for checking your stock in Atom.io editor (Yahoo Finance).

License

Released under the MIT License.

atom-finance-cn's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.