ricky5932TW/market-terminal
FinanceStock researchA local trading terminal for TW/US/JP charts with price forecasts, multi-market portfolio tracking and macro indicators.
What it is
market-terminal is a self-hosted browser terminal for market research. It combines candlestick charts powered by TradingView Lightweight Charts with two forecast paths: a "QuantGlass" AI engine that streams four models (kronos-small, darts-conformal, neuralforecast-nhits and autogluon-tabular) over SSE through a local gateway, and a browser-side Monte Carlo fallback that simulates GBM paths from HV20/HV60 volatility to produce q10–q90 percentile fans. The core backend is written in Python with no third-party dependencies.
Beyond charting, it offers multi-market bookkeeping for TW, TWO, US and JP holdings with currency conversion into TWD, target weights with rebalancing suggestions at whole-share granularity, and daily net-value snapshots written to portfolio_ledger.json. A macro dashboard aggregates indicators such as the CNN Fear & Greed index, a Fed hawk/dove index, the 10Y-2Y spread and USD/TWD.
Getting started
The base terminal requires only Python 3.10+ and no extra packages. Download the ZIP, unzip it, and on Windows double-click start.bat; macOS uses start.command (right-click → Open if Gatekeeper blocks it) and Linux runs ./start.sh. The browser then opens http://localhost:4173. Developers can instead clone the repository and run:
git clone https://github.com/ricky5932TW/market-terminal.git
cd market-terminal
python server.py --port 4173
To enable the four-model AI engine, run forecast_engine/scripts/setup_models.ps1 (PowerShell, with -CpuOnly for machines without an NVIDIA GPU) or setup_models.sh, then start_models.bat / start_models.sh. That launches workers on ports 8002, 8004 and 8006, the gateway on 8000 and the terminal on 4173. Models can be installed in separate virtual environments with uv acceleration when available and a venv + pip fallback otherwise.
Once open, search a ticker (e.g. 2330, NVDA, 7203.T, ^TWII), toggle indicators from the chart toolbar, choose a forecast horizon from 10D to 90D and click run, then turn on the chart overlay to view percentile bands. Portfolio entries are added under the bookkeeping workspace.
Requirements and limits
- The zero-dependency path supports charts and local Monte Carlo forecasts only; the QuantGlass AI models require the separate multi-environment installation and, for GPU mode, NVIDIA hardware.
- Market data comes from Yahoo Finance, TWSE, TPEX, FinMind, FINRA and treasury sources via the project's HTTP pipeline; availability of specific quotes or macro fields depends on those sources.
- The project is MIT-licensed and is explicitly positioned as a research and personal bookkeeping tool, not investment advice.
HotRepo's take
In HotRepo's new-project snapshot for 2026-12-03, the repository recorded 110 stars and 15 forks, all gained within a growth window starting 2026-12-02, without a recorded GitHub daily-rank position. That single early snapshot does not establish a trend. The technically notable part is the split design: a dependency-free Python backend serving a chart UI, alongside an optional four-model forecasting stack distributed as separate workers behind a local gateway, which lets users keep the core terminal usable while the heavier AI setup stays optional.
Written by AI from the project's public information and HotRepo's records, updated . The project's own docs are the source of truth.
You might also like
- ErTasselli/OpenTerminalRun a local, keyboard-driven market terminal for US stocks, crypto, macro data and a small portfolio tracker.
- spovalova/openterminalAn AI-driven market terminal that turns plain questions into live chart, table and option-chain workspaces tied to your own data keys.
- Open-Dev-Society/OpenStockA self-hostable stock market dashboard for tracking quotes, watchlists, alerts and company data across eight markets.
- ZhuLinsen/daily_stock_analysisLLM-driven multi-market stock watchlist analyzer that produces daily decision dashboards and pushes them to chat and email channels.
- ArvinLovegood/go-stockA desktop stock analysis app for A-share, Hong Kong and US markets with local data and LLM-driven research tools.