# easy-stock

> Local-first desktop AI research workbench for the China A-share market

- Category: Agents & Automation / Finance & Market Agents
- Language: Go (backend), TypeScript/React (frontend), Electron (desktop)
- Licence: PolyForm Noncommercial 1.0.0 (source-available; commercial use requires the author's written permission)
- Repository: https://github.com/jundizhou/easy-stock
- Canonical page: https://ai-tldr.dev/tools/easy-stock/
- Updated: 2026-10-04

## In short

easy-stock is a desktop research workbench for individual investors who follow the China A-share market. It sits in the Finance & Market Agents category of the Agents & Automation tools and is open-source, written in Go (backend), TypeScript/React (frontend), Electron (desktop) and licensed PolyForm Noncommercial 1.0.0 (source-available; commercial use requires the author's written permission).

## Overview

easy-stock is a desktop research workbench for individual investors who follow the China A-share market. It pulls quotes, K-lines, themes, limit-up pools and news from sources such as Kaipanla, Eastmoney, Sina and Cailianpress into one local data model, then layers AI on top: per-stock research reports, portfolio inspections, and digests of what A-share commentators wrote after the close. The project describes itself plainly as a research and information-organisation tool, not a source of investment advice, and it does not place trades.

The design idea is that the model should never reason over isolated numbers. A Go backend first turns trends, theme rankings, the consecutive limit-up ladder, sentiment history and relative strength into a structured domain model, computes quantitative baselines without any model call, and keeps the source, fetch time and degradation state of every data point. Only then does an agent read that evidence, write its judgement and conditions, and have its references validated. Stock research is staged with checkpoints so an interrupted run can resume.

Under the hood it is an Electron app that bundles the Go backend, a React + TypeScript interface, Python, and two agent runtimes — Hermes and Codex — that share model profiles, reasoning settings, Skills and MCP configuration. Model providers are your own: the README lists OpenAI, DeepSeek, Qwen, Moonshot, Anthropic and custom compatible endpoints, with Codex requiring a Responses-protocol connection. Articles, sessions, analysis records and caches live on your machine in SQLite. The interface and most docs are Chinese-first, and the code is source-available under the PolyForm Noncommercial License 1.0.0, so commercial use needs the author's written permission.

## What it does

- Market overview that unifies core indices, news flashes, sector money flow, the Dragon-Tiger list, announcements and institutional research, each page stamped with its data source and fetch time
- Limit-up ladder and sentiment-cycle view: the limit-up pool, consecutive-board ladder, yesterday's follow-through, promotion rates and a daily sentiment timeline
- Theme radar that ranks themes by momentum, money flow, breadth and streak length and breaks them down through a theme map
- AI stock analysis that first classifies a stock's likely path (sentiment ladder, trend, range-bound or weak) and then writes a scored report with conditional decisions, fact chains and risk boundaries
- Portfolio inspection for up to 10 holdings with a trading style and position weights, producing a health score, concentration and correlation flags, and a per-stock action with confirmation and invalidation conditions
- Post-market review digest: browser bridges sync subscribed Xueqiu or TaoGuba commentators, archive and deduplicate their articles, and distil a cross-author consensus with disagreements and next-session watch conditions
- Hermes or Codex agent runtime with shared model profiles, Skills and MCP, plus Feishu and DingTalk bot notifications

## Getting started

Most people install the desktop build — the README says no Node.js, Go or Python is needed for that. You bring your own LLM API key. Building from source needs Node.js 22, npm and Go 1.26 (per the developer guide).

1. Download the desktop installer

   Grab the build for your OS from GitHub Releases. The v1.4.0 release ships a macOS Apple-silicon DMG, a macOS Intel DMG and a Windows x64 setup executable, with a `SHA256SUMS.txt` file for checking the download.

2. Connect a model

   Open System Settings → Hermes model runtime and add a configuration. The user guide's DeepSeek example uses the values below with the Chat Completions protocol; paste your API key and click save-and-test until the connection reports as available. Kimi, MiniMax, GLM, Qwen and other OpenAI-compatible endpoints work the same way.

```text
API Base URL: https://api.deepseek.com
Model:        deepseek-v4-pro   (or deepseek-v4-flash)
Protocol:     Chat Completions
```

3. Optionally log in to Xueqiu or TaoGuba for review sync

   Under System Settings → review automation, add a Xueqiu or TaoGuba configuration, open the login window and sign in on the platform's own page. Then paste a commentator's profile URL into the auto-subscribe panel of the review diary, add the subscription and run a sync; new articles are checked on the schedule you set. Keys and login state stay on your machine.

4. Or run it from source

   `npm ci` installs the frontend, Electron and browser-helper dependencies. `npm run restart` builds both halves and starts the web workbench in the background: the frontend on 127.0.0.1:20073 and the Go backend on 127.0.0.1:20081, with logs in `.runtime/`.

```bash
git clone https://github.com/jundizhou/easy-stock.git
cd easy-stock
npm ci
npm run restart
```

5. Develop the desktop app

   For Electron development, run the frontend dev server in one terminal and the desktop host in another. The desktop command rebuilds the Go backend first, picks a free local port and injects a one-time token.

```bash
# terminal 1
npm run dev:frontend

# terminal 2
npm run dev:desktop
```

## When to use it

- Keep a daily A-share research routine — intraday themes, the limit-up ladder, post-market review — in one local app instead of several terminals and news sites
- Turn a dozen scattered commentator posts into one consensus-and-disagreement summary you can check against the next session
- Get a structured, evidence-cited write-up on a single stock or a small portfolio, with the conditions that would confirm or invalidate the read
- Run AI research against your own model provider while keeping articles, sessions and keys on your own machine

## Version history

- 2026-10-04 v1.4.0: Redesigned portfolio AI analysis: successful single-stock reports from the past 24 hours are reused, and portfolios get a four-dimension score covering thesis quality, structure, risk tolerance and strategy fit, with retry of only the failed parts.
