A Go-powered desktop application for Chinese A-share market analysis — with real-time quotes, AI-driven insights, multi-model LLM support, and professional-grade technical indicators. Built for traders who demand precision.
From zero to live market data in under 60 seconds
# Clone the repository git clone https://github.com/ArvinLovegood/go-stock.git cd go-stock # Install Go dependencies go mod download # Install Wails CLI go install github.com/wailsapp/wails/v2/cmd/wails@latest
{
"llm": {
"provider": "deepseek",
"model": "deepseek-chat",
"api_key": "sk-your-api-key",
"base_url": "https://api.deepseek.com/v1"
},
"market": {
"data_source": "eastmoney",
"refresh_interval": 5
}
}
# Development mode with hot-reload wails dev # Build production binary wails build # The app launches automatically ./bin/go-stock
import "go-stock/backend/services"
analyzer := services.NewAIAnalyzer()
result, err := analyzer.Analyze(
"600519",
services.AnalysisOpts{
Indicators: []string{"MACD","KDJ","RSI"},
TimeRange: "30d",
Model: "deepseek-v3",
},
)
Professional-grade tools wrapped in an elegant interface
Live market data from Eastmoney, Tencent Finance, and Sina Finance. Sub-second latency with tick-level quote depth.
Plug in DeepSeek, GPT-4, Claude, Gemini, Qwen, or any OpenAI-compatible LLM for intelligent market commentary.
Full suite: MACD, KDJ, RSI, Bollinger Bands, EMA, SMA, VWAP, ADX. Interactive charts with zoom and crosshair.
Aggregates financial news and runs NLP sentiment scoring. See market mood shift in real-time alongside price action.
Multi-account portfolio management with P&L tracking, cost basis, sector allocation, and risk exposure metrics.
Price alerts, volume spikes, indicator crossovers, and AI-triggered signals via native desktop notifications.
Built on Wails v2 — Go + WebView desktop framework. Native performance, ~10MB binary, no Electron bloat.
Extensible data source plugins. Add any brokerage API, alternative data, or custom indicator with Go interfaces.
Fully open source under MIT license. Inspect, extend, and contribute. Community-driven with active development.
Measured on M2 MacBook Pro · 1000-stock watchlist · 5s refresh
How go-stock stacks up against the alternatives
| Feature | go-stock | Electron App | Web App | Excel Plugin |
|---|
Go backend + WebView2 frontend — native speed, web flexibility
go-stock leverages Wails v2 to deliver a true native desktop experience — not an Electron wrapper with a bundled Chromium. The Go runtime handles all heavy computation: data fetching, indicator calculation, LLM calls, and portfolio math.
Three paths to your first live quote
# Download latest release from # GitHub Releases page: # go-stock-windows-amd64.exe # Or build from source: $env:GOARCH="amd64" $env:GOOS="windows" wails build
# Prerequisites brew install go node # Install Wails go install github.com/wailsapp/\ wails/v2/cmd/wails@latest # Build universal binary wails build \ -platform darwin/universal open ./build/bin/go-stock.app
# Install dependencies sudo apt install golang-go nodejs sudo apt install libgtk-3-dev \ libwebkit2gtk-4.0-dev # Install Wails & build go install github.com/wailsapp/\ wails/v2/cmd/wails@latest wails build