nazribenla/jastxmarket
FinanceQuant tradingAn open-source full-stack quantitative trading platform with AI agents, Pine Script transpilation, and NautilusTrader backtesting for US equities.
What it does
JASTX Market packages a quantitative research and execution workflow for US equities into a self-hostable full-stack application. The backend is FastAPI with a NautilusTrader (Rust + Python) backtest engine and Man Group ArcticDB as versioned time-series storage; the terminal is a Next.js 15 / React 19 frontend README.
Key pieces described in the project:
- AI Quant Desk: four named agents (macro regime, technical/RSI-2 scanner, risk officer, strategy architect) take a ticker and a natural-language objective, run a NautilusTrader backtest, and return a 0–100 consensus verdict.
- Pine Lab: accepts Pine Script v4/v5/v6 strategies and transpiles them toward NautilusTrader Python for offline backtests.
- Strategy library: seven built-in strategies such as ATR SuperTrend, Connors RSI-2 + EMA200, Donchian Turtle breakout and MACD momentum.
- Risk and execution: VaR/CVaR, Sortino, Calmar, Kelly sizing, an isolated Capital Vault with hard-coded risk breakers, and a paper-first Interactive Brokers runner features.
It targets developers and quant-minded traders who want to read, modify and self-host the stack rather than rent a hosted terminal. The README includes a research overview and API reference.
Quick start
Prerequisites: Python 3.11+, uv, Node 20+. The README provides a preflight check script.
node scripts/check-env.mjs
cd backend
uv venv --python 3.11
uv pip install -e ".[dev]"
.venv/Scripts/uvicorn jastx.api.app:app --reload --port 8000
# macOS / Linux: .venv/bin/uvicorn jastx.api.app:app --reload --port 8000
In a second terminal:
cd frontend
npm install
npm run dev
Then open http://localhost:3000 for the homepage, http://localhost:3000/terminal for the AI Quant Terminal, and http://localhost:8000/docs for the Swagger API quick start.
For a containerized run, copy .env.example to .env and use docker compose up --build -d self-hosting. Railway and Vercel configs are also included for backend and frontend deployment respectively.
Configuration and data sources
The application runs with no API keys, falling back to Yahoo Finance. Optional variables include JASTX_FINNHUB_API_KEYS (comma-separated keys for quote rotation), JASTX_QUOTE_CACHE_TTL_SECONDS, JASTX_OPENAI_API_KEY, JASTX_OPENAI_BASE_URL and NEXT_PUBLIC_API_BASE environment variables. Passing data_source: "synthetic" enables deterministic offline testing.
Constraints
- The platform is not a brokerage; it is a system that you point at your own data and broker configuration. Market data freshness depends on Finnhub, Yahoo Finance or IBKR.
- The README's built-in strategies and backtests target US equities; the full exchange coverage matrix lives in MARKET_SUPPORT.md.
- Live execution is paper-first by design, with hard-coded daily-loss and order-notional limits described in the security policy.
- The open-source core is MIT-licensed, but managed plans at $999 and $2,999 per month are promoted on the project homepage. The repository is not a substitute for financial advice, and the README explicitly states this.
HotRepo's take
The project recorded 108 stars and 0 forks on the HotRepo new-project list for 2026-12-05, its first recorded day. That is a single snapshot with no prior history, so it only confirms an early burst of attention; it does not establish adoption or the accuracy of the backtests. The bundled strategy set and the AI agent layer are the parts worth reading against the code, especially because the README's contributor table still references "OpenStock" and a different maintainer, which suggests inconsistent documentation contributors.
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
- HKUDS/Vibe-TradingA Python agent for market research, backtesting, paper trading and opt-in broker execution.
- jackson-cmd/risk-aware-trading-agentsAn open-source framework for US stock trading agents with look-ahead-safe news backtesting, macro regime detection and paper trading.
- tradermonty/claude-trading-skillsClaude Skills toolkit that structures market review, trade planning, risk checks, and journaling for time-constrained retail investors.
- Jakeschincariol/day-trader-skillClaude skills that turn free public market data into a day-trading workflow, from chart scan to simulated odds.
- nautechsystems/nautilus_traderAn event-driven Rust trading engine that runs the same Python strategy code in backtest and live execution.