Skip to content

Polymarket Btc 5M Agent

Trading engine for Polymarket's five-minute Bitcoin up-or-down market: code computes P(Up) from a Chainlink feed, and Jev contributes a regime score plus vetoes on anomalous windows and direction.

Stars
2
Language
Python
License
MIT
Published by
Community
Author
BrunooMoniz
Last verified
Oct 2026

Agente de trading para o mercado BTC Up/Down de 5 minutos da Polymarket: modelo em código, Jev (TypeSafe System One) como portão, ordens maker, calibração e shadows em paper

Forks
0
Last pushed
Updated Sep 2026

Repo stats from the GitHub API, cached Oct 2026.

About this project

Agente para o mercado btc-updown-5m-{ts} da Polymarket. O código precifica; o Jev (TypeSafe System One) dá bom senso e veta. Nunca opera live por omissão. Mercado pela slug da janela (Gamma). clobTokenIds[0] = Up, [1] = Down. Price to Beat pelo endpoint crypto-price?variant=fiveminute (abertura Chainlink). Feed Chainlink BTC/USD ao vivo (wss://ws-live-data.polymarket.com), a mesma série que resolve. P(Up) = Φ(d / (σ·√τ)) em código, com σ realizada por segundo do próprio feed.

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

Highlights

  • P(Up) is computed in code as a normal CDF of d over sigma times root tau, with sigma realised per second from the settling feed.
  • Jev receives state without odds: a Score for regime that adjusts sigma, and two Nouls, an anomaly veto and a direction veto.
  • JEV_GATE and JEV_REGIME_ADJUST separate the two roles, and with both off the engine never calls the model at all.
  • A paired report compares each shadow against control only on windows both resolved, since engines born at different hours see different windows.

Watch out

Default EXECUTION_MODE is paper; live mode requires POLYMARKET_PRIVATE_KEY and POLYMARKET_PROXY_WALLET and sends real orders that lose real money. The README states that Polymarket restricts position opening in several jurisdictions, that the engine checks the exit country and refuses to operate from where it cannot, and that complying with the terms of service and local law is the operator's responsibility. On whether Jev earns its place, the author measured the direction question at Brier 0.247 against 0.194 for the model with correlation -0.07 to model error, so the shipped configuration keeps the model and not the direction call. Operational limits are explicit: skip the first 30 s and last 25 s of each window, a daily loss stop and a kill switch file. ASSET=btc, eth or sol switches market, and one engine handles one asset. Copy reviewed against the repository README on 2026-10-04, not from running it.

Questions about this entry

Short answers drawn from the linked project or page.

More Jev resources like this

9GitHub stars
Research-memory skill that keeps experiment claims traceable with ten operations, provenance gates, and optional batched Jev audits over memory files.
Jev Practices & Patterns#community#awesomejev#catalog-import
11GitHub stars
Local memory layer that stores verbatim agent quotes in per-project SQLite and grades them with Jev into stale, wrong, unsupported, or keep verdicts.
Jev Practices & Patterns#community#awesomejev#catalog-import
20GitHub stars
Local harness that runs the open Laya decision model on your own machine and wires it into browser agents through a TypeSafe-compatible /v1/systemone dialect.
Jev Practices & Patterns#community#awesomejev#catalog-import
7GitHub stars
Python client and decision toolkit for the Jev System One endpoint with noul, choice, and score primitives, batched asks, composition helpers, concurrent evaluation, and an MCP server.
Jev Practices & Patterns#community#jevbest#catalog-import
7GitHub stars
Independent open-source agent runtime where Jev makes typed tool decisions, an LLM authors text only when needed and reviews low-confidence calls, and code owns execution.
Jev Practices & Patterns#community#awesomejev#catalog-import
3GitHub stars
Companion code comparing Google ADK and Microsoft Agent Framework on one Pydantic VideoTimeline schema, with the same Jev client checking every generated segment for sane captions and durations.
Jev Practices & Patterns#community#awesomejev#catalog-import

From the Jev guides

Original write-ups on what this entry is for.

Most Jev accuracy problems are state problems. What belongs in a state, what is a pre-made judgment to leave out, and why naming the slice you ask about matters more than the wording.
Jev Practices & Patterns#state#design#primitives
Read article
A Noul returns one number and no separate confidence. How to read the value, pin its boundary with criteria, split compound questions, and set a per-action threshold that matches the cost of being wrong.
Jev Practices & Patterns#noul#primitives#confidence
Read article
A Score is a weighted position, not a ruler. Why the number can land between levels, why levels are judged separately, and how to combine several atomic scores in code instead of one crowded rubric.
Jev Practices & Patterns#score#primitives#scoring
Read article
Back to all resources

From the Jev community

Posts from builders shipping with Jev right now.

Follow @typesafeai