Skip to content

Jev directory

CommunityJev Cookbooks

Warrenduffer

An intraday trading bot for the Nifty 50: Jev ranks names every 15 seconds through the Vercel AI Gateway, and code sizes positions, stops, and flatten times.
Stars
98
Language
TypeScript
License
MIT
Reading time
3 min
Published by
Community
Author
arimanyus
Last verified
Sep 2026

arimanyus/warrenduffer

User repository on GitHub

View on GitHub

AI-driven intraday trading bot for Indian stocks. Jev ranks the Nifty 50 every 15s; code sizes each trade and places the stop; orders go live through Zerodha Kite or Kotak Neo. Day replay, kill switch, daily loss halt, terminal dashboard.

Forks
30
Last pushed
Updated Sep 2026

Repo stats from the GitHub API, cached Oct 2026.

About this project

Single Node process: broker REST client (Kotak Neo or Zerodha Kite), Jev (TypeSafe AI via Vercel AI Gateway) as a two-stage ranker over Nifty-50 names, live MIS orders, SQLite audit log, terminal-style dashboard on 127.0.0.1:8080. Jev classifies, ranks, and decides take-profit. Code sizes, places the stop, and enforces the loss halt.

Quoted from the project's README. Read the full README.

Highlights

  • Jev runs through the Vercel AI Gateway model typesafe-ai/jev via experimental_evaluate with a 2,500 ms timeout.
  • Defaults: capital 100,000, three positions, daily loss cap 1,000, a 15-second decision interval, and flatten at 15:10 IST.
  • A terminal dashboard runs on port 8080 and a date replay with 1x to MAX speed on 8081.
  • Safety includes a kill-switch file, per-position exchange stops, an 80% margin check, and adopt-or-flatten on restart.

Quickstart

bash
cp .env.example .env
pnpm install
pnpm probe
pnpm calibrate
pnpm start

Watch out

Places real orders with no paper mode. Needs broker credentials and TOTP plus an AI Gateway or TypeSafe key; only the Kotak path is verified live, Zerodha is written against the docs.

Questions about this entry

Short answers drawn from the linked project or page.

Reactions & coverage

Posts, threads, and videos about this entry from around the web.

X: A trading loop with Jev and GPT-6 Astra

X: News sentiment in a trading terminal

X: A Jev trading bot on Telegram

From the Jev guides

Original write-ups on what this entry is for.

From the Jev AI model community

Posts from builders shipping with Jev right now.

Follow @typesafeai