Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>stockbarNew to Visual Studio Code? Get it now.
stockbar

stockbar

Flcwl

|
273 installs
| (1) | Free
A good stock monitor based on the bottom status bar of VsCode is updated in real time A\HK\US Stock Data by real-time.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Stockbar

A stock monitor plugin display on vscode bottom bar.

features

1. Search

image

2. View

image

Config

Modify user configuration and add the stock codes you need to monitor.

// Stock code array to configure that need to be monitored.
"stockbar.stocks": [
	{
		// Stock code
		"code": "sh000001",
		// Stock name alias
		"alias": "UP",
		// Cost per share purchased
		"cost": "3000"
	},
  {
    "code": "sz000001",
    "alias":  "P"
  }
],

// Update data interval, unit: ms
"stockbar.updateInterval": 5000

// The color of a rising stock, following the system by default
"stockbar.riseColor": ""

// The color of stocks falling, following the system by default
"stockbar.fallColor": ""

STOCK PREFIX

PREFIX NAME 中文解释 What is it
sh 沪市,不加前缀的情况下,6 开头的代码默认加上 sh(上证指数 sh000001) Shanghai Stocks, without adding a prefix, codes starting with 6 will be added with sh by default (Shanghai Composite Index sh000001) -
sz 深市,不加前缀的情况下,除 6 开头的代码外,默认加上 sz Shenzhen Stocks, without adding a prefix, except for codes starting with 6, sz is added by default.
hk 港股,如:阿里巴巴港股 hk09988 Hong Kong stocks, such as: Alibaba Hong Kong stocks hk09988
US_ 美股,如:苹果股票 US_AAPL US stocks, such as: Apple stock US_AAPL
hkHSC 工商指数(港股指数) Industrial and Commercial Index (Hong Kong Stock Index)
hkHSCEI 恒生中国企业指数(港股指数) Hang Seng China Enterprises Index (Hong Kong Stock Index)
hkHSI 恒生指数(港股指数) Hang Seng Index (Hong Kong Stock Index)
hkHSCCI 红筹指数(港股指数) Red Chip Index (Hong Kong Stock Index)
hkHSF 恒生金融分类(港股指数) Hang Seng Financial Classification (Hong Kong Stock Index)
hkHSP 恒生地产分类(港股指数) Hang Seng Real Estate Classification (Hong Kong Stock Index)
hkHSU 恒生公用事业分类(港股指数) Hang Seng Utilities Classification (Hong Kong Stock Index)
hkGEM 标普香港创业板指(港股指数) S&P Hong Kong GEM Index (Hong Kong Stock Index)
US_DOWJONES 道琼斯指数(美股指数) Dow Jones Index (U.S. stock index)
US_NASDAQ 纳斯达克(美股指数) Nasdaq (U.S. stock index)
US_SP500 标普 500(美股指数) S&P 500 (U.S. stock index)

CHANGELOG

CHANGELOG

LICENSE

The open source of this project is based on the MIT open source license. Please see the LICENSE file for the complete license agreement.

CONTRIBUTORS

Source Code:

StockbarOriginally forked from stock-watch and refactored to support all new features above V2.

Stock Data:

  • Sina
  • XueQiu
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft