RepositoryPythonCNChina
EthanAlgoX

EthanAlgoX/AIStock

One person can become their own super-analyst. Try it online: https://myaistock.top

363stars
92forks
0issues
3views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: ai-trading

#1 Repository of the month

1
TINIX TRENDING·Topic: exchange

#1 Repository of the month

1
TINIX TRENDING·Topic: nofx

#1 Repository of the month

AI Stock

AI Stock

Empower every stock trader with AI to become a one-person research powerhouse.

Research assistant · Expert roundtable · Stock research · Strategy screening · Trade simulation

CI License: MIT Python 3.10+ React 19 FastAPI

English · 简体中文 · 繁體中文

AI Stock is a financial decision workspace for mainland China, Hong Kong, and US equities. It supports research and paper-trading experiments; it does not present model output as investment advice or bypass deterministic risk and execution controls.

Previously named LLM TradeBot and InvestCrew. The product is now AI Stock; the GitHub repository remains EthanAlgoX/InvestCrew. Clone it into an AI-Stock directory.

Start with a question, keep the research

Ask a question in the Research assistant, invite independent experts to examine it, or run a focused research strategy. AI Stock combines Agent reasoning with Skills, tools, MCP connections, and market data to produce reports you can revisit and discuss.

  • Conversation first. Create separate conversations, revisit history, and use suggested questions that combine available analysis methods with stocks recognized from recent conversations.
  • Optional expert collaboration. Select individual experts and their collaboration mode beside the message composer. Use the assistant for the final report or the roundtable to follow each participant's contributions.
  • Reports first. Stock research, screening, and trade simulation open around report history and a reading area. Configuration is available when starting a new task.
  • A ready-to-run starting point. Default plans use configured watchlists or fixed demonstration stocks and match available strategies and capabilities through rules. Review the selection rationale or customize the plan before running.
  • Background execution. Structured tasks continue when you change pages. Returning or refreshing restores their status and saved results; partial output and failures remain explicit.

Six connected workspaces

The site opens in Research assistant. Desktop navigation follows the order below; mobile navigation places Market radar in the workspace menu.

WorkspaceRouteWhat you can do
Market radar/market-intelligenceFollow market snapshots, news, macro observations, and published analysis subscriptions
Research assistant/overviewAsk questions, manage conversations, and optionally request an expert synthesis
Expert roundtable/expert-reviewDiscuss a topic in a persistent group conversation with named expert messages and a moderator's summary
Stock research/stock-researchRun a research strategy and read its conclusions, evidence, risks, and historical reports
Strategy screening/screeningApply screening rules, review ranked candidates and their rationale, and optionally research candidates further
Trade simulation/tradingExplore paper-trading proposals, risk assessments, and signal evaluation results

Schedules, run history, model usage, settings, and the Capability Center support these workspaces. Market coverage depends on the selected strategy and available data; built-in full-market screening rules currently target A-shares.

Independent experts, three ways to collaborate

Each selected expert runs as an independent Agent with its own role and permitted capabilities. A moderator coordinates the work and synthesizes the results. You select experts directly, without having to create a named panel first.

ModeHow it works
PipelineThe moderator divides the task; experts complete their assigned parts, using earlier results where relevant
DebateExperts form independent views, challenge one another, and respond before the moderator summarizes agreement and unresolved differences
VotingExperts submit independent reports; separate reviewer Agents vote, and the moderator reports the tally and selected view, or an inconclusive outcome

The assistant emphasizes the final report. The roundtable exposes completed contributions, coordination, rebuttals, and voting records in a group-chat timeline, with follow-up questions in the same conversation. These are saved messages, not a live display of private model reasoning.

How Agents and strategies fit together

The Agent is the common interaction and orchestration layer. A strategy defines the research objective and execution constraints; Skills supply the analysis methods. Published research and screening strategies can combine deterministic data preparation and calculations with LLM analysis, and the Agent invokes them through governed tools.

CapabilityResponsibility
SkillVersioned financial methods and task instructions
Built-in ToolSchema-defined, deterministic read or compute operations
MCPConnections to external tools, resources, and systems
Data sourceMarket, fundamental, news, and other factual inputs
Expert AgentIndependent role-specific analysis, review, and collaboration

Structured executions save the task definition, selected capabilities, data-source context, status, and report artifacts. The run ledger connects these records so that a finished execution can be distinguished from a successful, partial, empty, or blocked research outcome. See the workspace architecture for the detailed contracts.

Safety and governance

  • Workspace allowlists and request-local grants restrict which Skills, Tools, MCP servers, data sources, experts, and stocks a task can use.
  • Built-in Tools and MCP servers are separate capability types with separate configuration pages and permissions.
  • Independent Agent execution must advertise task-capability isolation; unsupported runtimes fail closed.
  • The website owns tasks, artifacts, approvals, audit records, and trading boundaries. The Agent may analyze and propose, but it cannot bypass risk checks or create live orders.
  • Secrets remain in environment or protected settings and are never returned in capability catalogs.

Quick start

Requirements: Python 3.10+, Node.js 20.19–26.x, and npm 10+. The commands below use a macOS/Linux shell; on Windows PowerShell, activate the environment with .venv\Scripts\Activate.ps1.

1. Install and prepare configuration

git clone https://github.com/EthanAlgoX/InvestCrew.git AI-Stock
cd AI-Stock

python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
cp .env.example .env

If you already have a .env, keep it and compare it with the example rather than copying over it. Configure a model provider in .env before running analysis, or use the website's model settings after startup. For example, enable and fill DEEPSEEK_API_KEY for DeepSeek; provider-specific and multi-channel options are documented in the configuration guide (Chinese).

The default AGENT_BACKEND=auto uses the configured model route. Agent tasks need a working tool-calling model; starting the Web server alone does not make analysis available. A separate Agent runtime is optional: see runtime integration.

2. Build and launch

cd apps/dsa-web
npm ci
npm run build
cd ../..

python main.py --serve-only --host 127.0.0.1 --port 8000

Open the Web workspace at http://127.0.0.1:8000 and API documentation at http://127.0.0.1:8000/docs. Port 8000 is an example; change --port if it is occupied. The Web build is served by the Python application.

3. Run your first analysis

  1. Check model availability in Settings and enabled Skills, experts, and data connections in the Capability Center.
  2. Ask a question in Research assistant, or open Stock research and run the default plan. Default plans still require the relevant model, published strategy, and tools to be available.
  3. Read the saved report. To compare perspectives, start an Expert roundtable, choose experts and a collaboration mode, and submit a topic.

The header includes a persistent Chinese/English language selector. The main workspaces, research configuration, default plans, and report controls follow this setting. Saved report prose, user-defined names, and source news retain their original language; switching the interface does not translate or rewrite research data.

For frontend development, run npm run dev under apps/dsa-web alongside the backend. Vite defaults to http://127.0.0.1:5173 and proxies /api to port 8000; set DSA_WEB_API_PROXY_TARGET if the backend address differs.

Development checks

./scripts/ci_gate.sh

cd apps/dsa-web
npm run lint
npm run build

Documentation

License and disclaimer

This project is licensed under the MIT License. It is intended for software engineering, investment research, and controlled historical or paper experiments. Research reports, screening results, proposals, and model outputs do not guarantee future performance. Users remain responsible for their own decisions and outcomes.

Similar Projects

Discover other similar projects and AI models.

RepositoryGo
NoFxAiOS/nofx

Your AI trading terminal assistant for US stocks, commodities, forex, and crypto.

13.4k
Nov 4, 2026
RepositoryPython
bmoscon/cryptofeed

Cryptocurrency Exchange Websocket Data Feed Handler

3.0k
Nov 27, 2026
RepositoryPython
ccxt/ccxt

A unified trading API with more than 100 crypto exchanges and prediction markets in JavaScript / TypeScript / Python / C# / PHP / Go / Java / Rust

45.0k
Nov 27, 2026
RepositoryPython
Drakkar-Software/OctoBot

Free open source crypto trading bot to automate AI, Grid, DCA and TradingView strategies on Binance, Hyperliquid and 15+ exchanges, with a simple interface.

7.0k
Nov 28, 2026
RepositoryPython
freqtrade/freqtrade-strategies

Free trading strategies for Freqtrade bot

5.7k
Sep 8, 2026
RepositoryPython
enarjord/passivbot

Trading bot running on Bybit, Bitget, OKX, GateIO, Binance, Kucoin, WEEX and Hyperliquid

2.2k
Dec 1, 2026
RepositoryPython
NousResearch/hermes-agent

The agent that grows with you

267.7k
Dec 2, 2026
RepositoryPython
Significant-Gravitas/AutoGPT

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

188.2k
Nov 29, 2026
RepositoryJavaScript
askmike/gekko

A bitcoin trading bot written in node - https://gekko.wizb.it/

10.2k
Feb 16, 2020