← Open Source

JASTX Market - AI-native quantitative trading system by NOKI Research Group. Project Home: https://jastx.com | Trading Portal: https://www.jastxmarket.com/ |Born from the Core DNA of TradingView. Pioneering the AI Era of Global Quantitative Trading.

TypeScript
Momentum
+0stars in 24 hours0.0%
218
Stars
0
Forks
1
Contributors
Created 2026-12-05 Β· Updated 2026-12-06 Β· #27763 today
Top developers
nazribenla
README


JASTX Market

Born from the Core DNA of TradingView. Pioneering the AI Era of Global Quantitative Trading.

We are the JASTX Automated Quantitative Research Groupβ€”an elite engineering and quant team rooted directly within the TradingView ecosystem. For years, we have built and witnessed the charting and automated execution infrastructure relied upon by tens of millions of traders worldwide. Yet, as large language models and autonomous agents reshape the technological landscape, legacy rule-based frameworks are reaching their limits. Rising to meet this paradigm shift, we made a bold decision: to break free from conventional constraints, architect a next-generation AI quantitative trading platform from the ground up, and release it 100% open-source to empower the global developer and trading community.

JASTX is far more than a trading toolβ€”it is a full-stack intelligent execution engine bridging premier financial data with frontier AI intelligence:

Native Fusion of Full-Spectrum TradingView Indicators & Dynamic Standards: Backed by our native heritage, the platform natively unifies TradingView’s exhaustive library of technical indicators, multi-timeframe pattern algorithms, and real-time dynamic market benchmarks. Rather than reacting to fragmented price ticks, your AI operates with a panoramic, institutional-grade view of the entire market.

Flagship High-Throughput AI Data Engine: Purpose-built for low-latency financial reasoning, our core data engine ingests, normalizes, and vectorizes massive streams of multi-dimensional market signals in real timeβ€”enabling frontier AI models to synthesize market sentiment, evaluate complex factors, and formulate high-conviction execution decisions within milliseconds.

Institutional-Grade Security & Ultra-Resilient Capital Vault: Speed means nothing without absolute trust. Engineered with defense-in-depth security protocols, deterministic hard-coded risk circuit breakers, and an isolated, high-security Capital Vault, NOKI safeguards every API execution, portfolio rebalance, and asset custody workflow under strict cryptographic and programmatic control.

From real-time market perception and autonomous reasoning to frictionless automated execution, JASTX is eliminating the technological divide between institutions and independent buildersβ€”accelerating the future of AI-driven trading automation. The codebase is open. The new era begins now. Join JASTX and help us forge the next global standard in intelligent trading. Institutional AI quant & TradingView automation, minus the paywall.
JASTX Market is an open-source, full-stack AI quantitative trading platform built by the JASTX Automated Quantitative Research Groupβ€”unifying TradingView Pine Script transpilation, NautilusTrader Rust execution, Man Group ArcticDB versioned storage, a 4-Agent AI Investment Committee, and an isolated Capital Vault. - Project Homepage: https://jastx.com

Use our official portals above, or self-host your own copy with every feature unlocked.

Note

JASTX Market is an open-source quantitative engineering platform and not a registered brokerage. Market data freshness depends on your configured data provider (Finnhub / Yahoo Finance / IBKR). Nothing in this repository constitutes financial or investment advice.


πŸ“‹ Table of Contents

  1. πŸ”‹ Features
  2. πŸ“Έ Live Terminal Screenshots
  3. ⏱️ How Fresh Is the Data
  4. πŸ—οΈ Panoramic Architecture
  5. βš™οΈ Tech Stack
  6. πŸš€ Quick Start
  7. πŸ” Environment Variables
  8. 🐳 Self-Hosting: Docker, Railway, Vercel
  9. 🧱 Project Structure
  10. 🌍 Market Support
  11. πŸ§ͺ Scripts and Tests
  12. πŸ›‘οΈ Security & Capital Vault
  13. πŸ’Ž Plans & Managed Subscriptions
  14. 🌱 NOKI Research Group Manifesto
  15. 🀝 Contributing, License & Acknowledgements

πŸ”‹ Features

  • πŸ€– 4-Agent AI Investment Committee (AI Quant Desk) β€” Enter any US ticker and a natural-language strategy objective; four specialized agents (Macro Regime Sentinel, Technical & RSI-2 Scanner, GS Chief Risk Officer, AI Strategy Architect) collaborate, execute a live NautilusTrader backtest, and return a 0–100 consensus verdict.
  • 🧬 Pine Lab (TradingView β†’ Rust Transpiler) β€” Paste any TradingView Pine Script v4/v5/v6 strategy to auto-compile into NautilusTrader Python and run offline US equity backtests with zero TradingView paywalls.
  • ⚑ 7 Built-In Battle-Tested Strategies β€” ATR SuperTrend, Connors RSI-2 + EMA200, Donchian Turtle Breakout, Bollinger Volatility Breakout, EMA Trend Crossover, MACD Momentum, and RSI(14) Mean Reversion.
  • πŸ—„οΈ Man Group ArcticDB Storage β€” Institutional versioned DataFrame storage (lmdb://) with automatic snapshot versioning and sub-millisecond reads.
  • πŸ“Š Goldman-Style Institutional Risk Matrix β€” 1D VaR (95%), CVaR / Expected Shortfall, Sortino Ratio, Calmar Ratio, Annualized Volatility, Half-Kelly optimal sizing, Monthly Returns Heatmap, and strict Look-Ahead Bias Audit telemetry.
  • πŸ“‘ US Equity Signal Radar & Live TradingView Charts β€” Real-time embedded TradingView charting, Finnhub multi-key round-robin quotes (with automatic Yahoo Finance fallback), and live ^VIX + SPY EMA200 Macro Regime detection.
  • 🧩 Grid Parameter Optimizer & Multi-Asset Portfolio β€” In-memory parameter grid search ranked by Sharpe/Return with one-click Apply & Run, plus equal-weight multi-symbol basket backtesting with per-asset attribution.
  • πŸ”’ Isolated Capital Vault & IBKR Runner β€” Hard-coded risk circuit breakers (GET /api/v1/vault/status) and a paper-first Interactive Brokers TradingNode runner (python -m jastx.live.ibkr_runner --dry-run).

πŸ“Έ Live Terminal Screenshots & Video Showcase

Product Showcase Videos

01 Β· AI Quantitative Execution & Terminal Overview

demo.mp4

02 Β· Real-Time Market Signals & Strategy Analytics

demo2.mp4

03 Β· Autonomous AI Trading Workflow

demo3.mp4

AI Quant Desk β€” 4-Agent Investment Committee, TradingView Live Feed & Capital Vault

Pine Lab β€” TradingView Pine Script v5 β†’ NautilusTrader Rust Transpiler & Backtest


⏱️ How Fresh Is the Data

  • Live Charts: Real-time US equity candles via TradingView embeds (NASDAQ, NYSE, AMEX).
  • Quotes: Cached for 60s by default (JASTX_QUOTE_CACHE_TTL_SECONDS). Configure multiple comma-separated free keys in JASTX_FINNHUB_API_KEYS for round-robin rotation (60 req/min per key); falls back automatically to free Yahoo Finance if unconfigured.
  • Backtest Historical Bars: Stored locally in Man Group ArcticDB with versioned snapshots and millisecond telemetry.
  • Offline / CI Mode: Pass data_source: "synthetic" for 100% deterministic offline testing.

πŸ—οΈ Panoramic Architecture

flowchart TB
    subgraph L1["1. Perception & TradingView Native Fusion"]
        TV["TradingView Real-Time Charts<br/>& Full-Spectrum Indicators"]
        Pine["Pine Lab Transpiler<br/>(Pine v4/v5/v6 -> Nautilus Python)"]
        Feed["Multi-Key Finnhub + Yahoo Feed<br/>& US Equity Signal Radar"]
    end

    subgraph L2["2. High-Throughput AI & Data Engine"]
        Arctic["Man Group ArcticDB<br/>(Versioned Time-Series Store)"]
        Agents["4-Agent AI Investment Committee<br/>(Macro VIX Β· Tech RSI-2 Β· GS Risk Β· Architect)"]
        Rust["NautilusTrader Rust Core<br/>(Strict Event-Driven Β· Zero Look-Ahead)"]
    end

    subgraph L3["3. Institutional Security & Capital Vault"]
        Risk["GS-Style Risk Matrix<br/>(VaR 95% Β· CVaR Β· Sortino Β· Calmar Β· Kelly)"]
        Vault["Isolated Capital Vault<br/>(Daily Loss Breaker Β· Dynamic Cash Floor)"]
        Exec["Execution Gate<br/>(IBKR Paper/Live TradingNode)"]
    end

    TV --> Agents
    Pine --> Rust
    Feed --> Arctic
    Arctic --> Rust
    Agents --> Rust
    Rust --> Risk
    Risk --> Vault
    Vault --> Exec
Loading

βš™οΈ Tech Stack

Layer Technology
Execution & Backtest Core NautilusTrader (Rust + Python 3.11)
Financial Time-Series DB Man Group ArcticDB (lmdb:// versioned store)
API Orchestrator FastAPI, Pydantic v2, Uvicorn
Frontend Terminal Next.js 15, React 19, TypeScript, Tailwind CSS v4, Recharts, TradingView Embeds
Market Data & Broker Finnhub (multi-key), Yahoo Finance (yfinance), Interactive Brokers (TradingNode)
DevOps & CI Docker Compose, GitHub Actions (ubuntu-22.04 + Node 20), Vercel, Railway

πŸš€ Quick Start

# 1. Verify local prerequisites (Python 3.11+, uv, Node 20+)
node scripts/check-env.mjs

# 2. Start the Backend (NautilusTrader + ArcticDB + FastAPI)
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

# 3. Start the Frontend Terminal (in a second terminal)
cd frontend
npm install
npm run dev

Open http://localhost:3000 (JASTX.COM System Homepage), http://localhost:3000/terminal (AI Quant Terminal), http://localhost:3000/manifesto (NOKI Manifesto), and http://localhost:8000/docs (Swagger API). See API_DOCS.md for full endpoint documentation.


πŸ” Environment Variables

Copy .env.example to .env. Everything runs out of the box with zero API keys required; optional keys unlock live Finnhub quotes and LLM-enhanced summaries:

Variable Required Default Description
JASTX_FINNHUB_API_KEYS No "" Comma-separated Finnhub keys for round-robin rotation (60 req/min each)
JASTX_QUOTE_CACHE_TTL_SECONDS No 60 Quote memory cache TTL in seconds
JASTX_OPENAI_API_KEY No "" Optional OpenAI-compatible key for LLM-enhanced attribution reports
JASTX_OPENAI_BASE_URL No https://api.openai.com/v1 Custom OpenAI-compatible endpoint (OpenRouter, DeepSeek, local vLLM, etc.)
JASTX_OPENAI_MODEL No gpt-4o-mini Model ID used when JASTX_OPENAI_API_KEY is configured
NEXT_PUBLIC_API_BASE No http://localhost:8000/api/v1 Backend API URL consumed by Next.js frontend

🐳 Self-Hosting: Docker, Railway, Vercel

  • Docker Compose (Full Stack):
    cp .env.example .env
    docker compose up --build -d
  • Railway (Backend): Pre-configured via railway.json using backend/Dockerfile with /api/v1/health healthcheck.
  • Vercel (Frontend): Pre-configured via vercel.json pointing to frontend/. Set NEXT_PUBLIC_API_BASE to your deployed backend URL.

🧱 Project Structure

jastxmarket/
β”œβ”€β”€ .github/
β”‚   β”œβ”€β”€ ISSUE_TEMPLATE/          # Bug report & feature request templates
β”‚   β”œβ”€β”€ PULL_REQUEST_TEMPLATE.md
β”‚   └── workflows/ci.yml         # Automated Pytest (Nautilus + ArcticDB) & Next.js build CI
β”œβ”€β”€ backend/
β”‚   β”œβ”€β”€ Dockerfile
β”‚   β”œβ”€β”€ pyproject.toml
β”‚   β”œβ”€β”€ src/jastx/
β”‚   β”‚   β”œβ”€β”€ ai/                  # 4-Agent Quant Desk, VIX Regime, Pine Transpiler, AI Analyst
β”‚   β”‚   β”œβ”€β”€ api/                 # FastAPI endpoints & Pydantic v2 schemas
β”‚   β”‚   β”œβ”€β”€ data/                # Man Group ArcticDB store, Finnhub/Yahoo quotes, OHLCV adapters
β”‚   β”‚   β”œβ”€β”€ engine/              # NautilusTrader BacktestEngine, Risk Engine, Portfolio orchestrator
β”‚   β”‚   β”œβ”€β”€ live/                # Interactive Brokers (IBKR) paper/live runner with guardrails
β”‚   β”‚   └── strategies/          # 7 native NautilusTrader strategies (SuperTrend, RSI-2, Turtle, etc.)
β”‚   └── tests/                   # Pytest unit & API integration suite
β”œβ”€β”€ frontend/
β”‚   β”œβ”€β”€ Dockerfile
β”‚   └── src/
β”‚       β”œβ”€β”€ app/                 # Quant Terminal (/) & NOKI Manifesto (/manifesto)
β”‚       └── components/          # QuantWorkbench, PineLabPanel, TradingViewChart
β”œβ”€β”€ docs/
β”‚   β”œβ”€β”€ banner.svg               # Custom hero banner
β”‚   └── screenshots/             # Live terminal HD screenshots
β”œβ”€β”€ scripts/
β”‚   β”œβ”€β”€ check-env.mjs            # Environment preflight check
β”‚   └── seed-arcticdb.py         # Pre-warm ArcticDB with US equities
β”œβ”€β”€ API_DOCS.md                  # REST API reference
β”œβ”€β”€ CHANGELOG.md                 # Version history
β”œβ”€β”€ CODE_OF_CONDUCT.md
β”œβ”€β”€ CONTRIBUTING.md
β”œβ”€β”€ MARKET_SUPPORT.md            # Global market & feed coverage matrix
β”œβ”€β”€ Makefile                     # Common dev/test/docker shortcuts
β”œβ”€β”€ SECURITY.md                  # Capital Vault security policy
β”œβ”€β”€ docker-compose.yml
β”œβ”€β”€ railway.json
└── vercel.json

🌍 Market Support

Full exchange and data-feed coverage matrix is documented in MARKET_SUPPORT.md.


πŸ§ͺ Scripts and Tests

# Check local toolchain
node scripts/check-env.mjs

# Run all 9 backend unit & API tests (NautilusTrader + ArcticDB + Pine Lab + AI Desk)
cd backend && .venv/Scripts/pytest -v

# Pre-warm ArcticDB with top US equities & ETFs
cd backend && .venv/Scripts/python ../scripts/seed-arcticdb.py

# Dry-run Interactive Brokers paper trading configuration
cd backend && .venv/Scripts/python -m jastx.live.ibkr_runner --symbol AAPL --strategy rsi2_connors --dry-run

# Verify Next.js production build
cd frontend && npm run build

πŸ›‘οΈ Security & Capital Vault

JASTX Market enforces paper-first broker port guards, hard-coded max daily loss & order notional limits, and VIX-driven dynamic cash floors. See SECURITY.md for architecture details and responsible vulnerability disclosure.


πŸ’Ž Plans & Managed Subscriptions

JASTX Market follows an Open-Core model: the full backtesting engine, Pine Lab transpiler, and local terminal are 100% open-source (MIT) forever. For active traders and institutional desks who want managed low-latency infrastructure, dedicated data feeds, and SLA-backed execution support, we offer managed plans on jastx.com/#pricing and jastxmarket.com:

Capability Open-Source ($0 / forever) Pro Quant ($999 / month) Institutional Desk ($2,999 / month)
NautilusTrader Rust Core & 7 Built-In Strategies βœ… Included βœ… Included βœ… Included
Local Man Group ArcticDB & Docker Self-Host βœ… Included βœ… Included βœ… Managed S3 Cluster
Pine Lab (TradingView Pine v4/v5/v6 β†’ Rust) βœ… Standard βœ… Full Auto-Transpiler βœ… Bespoke Porting by NOKI
4-Agent AI Investment Committee BYO API Key βœ… Unlimited Managed LLM βœ… Dedicated Private Models
Live US Market Feeds & Liquidity Heatmap Free Tier (Yahoo / BYO Finnhub) βœ… Managed Low-Latency Feeds βœ… Multi-Venue Institutional Feeds
IBKR Paper/Live Execution & Capital Vault Self-Managed βœ… Managed Bridge + Alerts βœ… Isolated Multi-Account Vault
Engineering Support & SLA GitHub Community Priority Updates βœ… 1-on-1 NOKI Quant Support

🌱 NOKI Research Group Manifesto

Born from the Core DNA of TradingView. Pioneering the AI Era of Global Quantitative Trading.

We are the NOKI Automated Quantitative Research Groupβ€”an elite engineering and quant team rooted directly within the TradingView ecosystem. For years, we have built and witnessed the charting and automated execution infrastructure relied upon by tens of millions of traders worldwide. Yet, as large language models and autonomous agents reshape the technological landscape, legacy rule-based frameworks are reaching their limits.

Rising to meet this paradigm shift, we made a bold decision: to break free from conventional constraints, architect JASTX Market from the ground up, and release it 100% open-source to empower the global developer and trading community.

From real-time market perception and autonomous reasoning to frictionless automated execution, JASTX Market is eliminating the technological divide between institutions and independent buildersβ€”accelerating the future of AI-driven trading automation.

The codebase is open. The new era begins now. Join us and help forge the next global standard in intelligent trading.


πŸ† Contributors

OpenStock is built by everyone below: the people who wrote the code and the people whose issues led to a fix. Every release, and who made it happen, is on the changelog.

@ravixalgorithm founded and maintains OpenStock, and built it from the ground up: authentication, UI design, API and AI integration, and deployment.


ravixalgorithm

Maintainer Β· 54 PRs

keshav-005

7 PRs

ahmaddirar-ios

3 PRs

gugamorato-svg

3 PRs

octo-patch

3 PRs

pawisoon

3 PRs

akoweicollinxx

2 PRs

alexander-schneider

1 PR

BambaSatoru

1 PR

Bortlesboat

1 PR

chinnsenn

1 PR

Chukwuebuka-2003

1 PR

cosark

1 PR

cosmind-rusu

1 PR

CrixusWen

1 PR

dajiaohuang

1 PR

ettoreciolli

1 PR

fuxicodex

1 PR

inshu5757

1 PR

kuishou68

1 PR

makeev

1 PR

mhatipog

1 PR

mjmcg

1 PR

Mubashirrrr

1 PR

muskanbandta23

1 PR

nb-src

1 PR

NicolasBohn

1 PR

parmeetkxur

1 PR

samki6576

1 PR

TPTBusiness

1 PR

Yi-111-a

1 PR

nexitpl

6 issues

soarkit

6 issues

a-lacruz

1 issue

aaronwork1205

1 issue

brainistry10

1 issue

cn-zeus-jp

1 issue

danieldanielecki

1 issue

Greatz08

1 issue

juipeter-pixel

1 issue

k2alzhang

1 issue

khajaG321

1 issue

kumetin

1 issue

maplelaef0320

1 issue

maxsyst

1 issue

raclure

1 issue

saschabrockel

1 issue

soonfatt

1 issue

Terry0930

1 issue

Also thanks to Priyanshuu00007, who designed the OpenStock logo and visual identity, and koevoet1221, who fixed the MongoDB Docker build. Their GitHub accounts are no longer available, so they aren't linked above.

Want to be here? Pick a good first issue or report a bug you hit.

🀝 Contributing, License & Acknowledgements

Nearby in the ranking

AI Rank for iPhone

Follow AI model rankings

Download on the App Store