explaingit

leekhub/leek-fund

Analysis updated 2026-07-03

3,712TypeScriptAudience · developerComplexity · 1/5Setup · easy

TLDR

A VS Code extension that shows live stock prices, mutual fund values, and futures in a sidebar panel while you code, tracks your fund holdings' profit and loss in real time and fires price alerts for stocks.

Mindmap

mindmap
  root((Leek Fund))
    What it does
      Live prices in VS Code
      Fund P&L tracking
      Futures markets
      Stops on market close
    Markets
      Chinese A-shares
      Hong Kong stocks
      US stocks
      Chinese futures
    Features
      Real-time fund P&L
      Price alerts
      Trend charts
      Status bar ticker
    Customization
      Display templates
      Configurable colors
      Graphical search
    Tech
      TypeScript
      VS Code extension
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Watch Chinese A-share, Hong Kong, and US stock prices update in real time inside VS Code without switching to a browser.

USE CASE 2

Track your mutual fund holdings and see profit or loss calculated live as fund values change throughout the trading day.

USE CASE 3

Set price alerts for individual stocks so VS Code notifies you when a ticker crosses a threshold you define.

USE CASE 4

Search for stocks and funds by name or ticker code through VS Code's graphical interface and add them to your watchlist instantly.

What is it built with?

TypeScriptVisual Studio Code

How does it compare?

leekhub/leek-fundsupermemoryai/cloudflare-saas-stackrejetto/hfs
Stars3,7123,7143,709
LanguageTypeScriptTypeScriptTypeScript
Setup difficultyeasymoderateeasy
Complexity1/53/52/5
Audiencedevelopervibe codergeneral

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min

Install from the VS Code Marketplace, requires VS Code 1.44 or later.

In plain English

Leek Fund (or Leek Box in its Chinese name) is a Visual Studio Code extension that displays live financial data inside your code editor. VS Code is a popular text editor used mainly by software developers. This extension adds a panel to the side of the editor where you can watch stock prices, mutual fund values, and futures contracts update in real time without switching to a browser or separate app. It supports Chinese A-shares, Hong Kong stocks, and US stocks, as well as domestic Chinese futures markets and overseas funds. A status bar at the bottom of the editor can show selected ticker symbols at a glance while you work. The extension automatically stops polling for data on weekends and public holidays when markets are closed. For funds, you can see real-time percentage changes, trend charts for the current day and historical periods, fund rankings, and your current holdings. If you enter how much you have invested in a fund, the extension calculates your profit or loss dynamically as prices move. For stocks, you can set price alerts for when a stock rises or falls past a threshold you define. Adding or removing funds and stocks is done through a graphical search interface inside VS Code. You can search by name or by ticker code. Display colors for gains and losses are configurable, and the status bar and sidebar support custom template formats for how information is shown. Since version 3.20.5, the extension also integrates an AI Agent feature, though the README does not detail what that does beyond the version note. The extension is published on the Visual Studio Code Marketplace and requires VS Code version 1.44 or later. The source code is open source.

Copy-paste prompts

Prompt 1
Using the Leek Fund VS Code extension, show me how to add a Chinese A-share and a US stock to my watchlist and display them in the status bar.
Prompt 2
How do I enter my fund investment amount in Leek Fund so it shows my real-time profit or loss as the fund's net value changes?
Prompt 3
Walk me through setting up a price alert in Leek Fund so VS Code tells me when a stock rises above a price I set.
Prompt 4
How do I customize the status bar template in Leek Fund to show only specific tickers in a format I choose?

Frequently asked questions

What is leek-fund?

A VS Code extension that shows live stock prices, mutual fund values, and futures in a sidebar panel while you code, tracks your fund holdings' profit and loss in real time and fires price alerts for stocks.

What language is leek-fund written in?

Mainly TypeScript. The stack also includes TypeScript, Visual Studio Code.

How hard is leek-fund to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is leek-fund for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Scan in gitsafehub Deploy in gitdeployhub leekhub on gitmyhub

Verify against the repo before relying on details.