Prototipo · Versión preliminar: todos los servidores del registro oficial, sincronizados cada 30 minutos. Inicia sesión con Google para escribir reseñas.Prototipo · se actualiza cada 30 min
PopNx MCPServidores MCP para quienes usan IA · en palabras sencillas

Foresea Forecasting

de pareelamreversión 1.0.0i★ 0iSe ejecuta en la nube
Nombre en el registroink.foresea/forecasting

Cómo instalar

What it does

Forecast future events and scan prediction-market edges.

  • Connects Se ejecuta en la nube
  • Account or key No key needed
  • Category Viajes, mapas y clima

Instalación

Elige la app de IA que usas y copia la configuración.

Pasó 4/5 revisiones · Lo que preguntas pasa por el servidor del autor (foresea.ink) · ✓ Comandos revisados el 13 nov 2026

Primero: ¿qué IA usas?

Elige tu app y los pasos aparecen abajo.

Funciona con Claude · unos 2 min

Sin clave y sin instalar nada · Configúralo una vez en claude.ai o en la app de escritorio y úsalo en el chat · las cuentas gratis pueden añadir 1 · en Team/Enterprise lo añade un Owner

  1. Abre la página Connectors de Claude

    CustomizeConnectors

    CustomizeConnectors1Add2https://…3Add4
  2. Pulsa “Add” → “Custom” → “Web” y completa estos 2 campos

    Copia cada valor al campo con el mismo nombre en Claude y pulsa Continue

    Name · NombreForesea Forecasting
    Remote MCP server URL · Direcciónhttps://foresea.ink/mcp/

    Pulsa Continue en la pantalla de inicio de sesión que detectó Claude · en Authentication elige lo que indique el autor (Sign in now, Sign in when needed o No sign in) y pulsa Add

  3. Actívalo en un chat

    +ConnectorsForesea Forecasting

  4. Pruébalo

    Usa Foresea Forecasting y dime qué puedes hacer por mí; luego muéstrame una cosa

    ✓ Si Claude dice que está usando Foresea Forecasting o muestra una herramienta de Foresea Forecasting en la respuesta, ya está conectado

Nombres de menú comprobados con la ayuda de Anthropic el 11 nov 2026 · tu pantalla puede variar un poco según la versión

Funciona con ChatGPT según tu plan

MCP completo: ChatGPT Business, Enterprise o Edu en la web · Pro: conecta con permisos de lectura/obtención, así que las herramientas que cambian datos pueden no funcionar · Plus: no confirmado en la documentación; si ves una opción para añadir MCP propio en la página de plugins puedes probar · solo web

  1. Abre la página para añadir MCP en ChatGPT web

    Plugins+Add custom MCP server

    ChatGPTPlugins1+2https://…3Create4
  2. Escribe el nombre y la dirección

    Pon un nombre, pega la dirección en Connection, marca el aviso de riesgo y pulsa Create as a plugin

    Name · NombreForesea Forecasting
    Connection · Direcciónhttps://foresea.ink/mcp/
  3. Elige Foresea Forecasting en un chat

    Abre un chat nuevo y elige Foresea Forecasting en tus plugins antes de escribir

  4. Pruébalo

    Usa Foresea Forecasting y dime qué puedes hacer por mí; luego muéstrame una cosa

    ✓ Si ChatGPT dice que está usando Foresea Forecasting o muestra una herramienta de Foresea Forecasting en la respuesta, ya está conectado

Nombres de menú comprobados con la ayuda de OpenAI el 11 nov 2026 · tu pantalla puede variar un poco según la versión

Funciona con Claude Code · unos 2 min

Sin clave y sin instalar nada

  1. Abre la Terminal

    Mac: pulsa Command+Espacio y escribe Terminal · Windows: abre PowerShell

  2. Pega este comando y pulsa Enter

    claude mcp add --transport http --scope user forecasting https://foresea.ink/mcp/
  3. Escribe /mcp en Claude Code

    Deberías ver Foresea Forecasting en la lista como conectado

  4. Pruébalo

    Usa Foresea Forecasting y dime qué puedes hacer por mí; luego muéstrame una cosa

    ✓ Si Claude Code dice que está usando Foresea Forecasting o muestra una herramienta de Foresea Forecasting en la respuesta, ya está conectado

Nombres de menú comprobados con la ayuda de Anthropic el 11 nov 2026 · tu pantalla puede variar un poco según la versión

Funciona con Cursor · unos 2 min

Sin clave y sin instalar nada

  1. Pulsa este botón para abrir Cursor

    Abrir en Cursor

    Cursor te pedirá confirmar; pulsa Install

  2. Abre el chat de IA de Cursor en modo Agent

  3. Pruébalo

    Usa Foresea Forecasting y dime qué puedes hacer por mí; luego muéstrame una cosa

    ✓ Si Cursor dice que está usando Foresea Forecasting o muestra una herramienta de Foresea Forecasting en la respuesta, ya está conectado

Nombres de menú comprobados con la ayuda de Cursor el 11 nov 2026 · tu pantalla puede variar un poco según la versión

Funciona con VS Code · unos 2 min

Sin clave y sin instalar nada

  1. Pulsa este botón para abrir VS Code

    Abrir en VS Code

    VS Code te pedirá confirmar; pulsa Install

  2. Abre el chat de IA de VS Code en modo Agent

  3. Pruébalo

    Usa Foresea Forecasting y dime qué puedes hacer por mí; luego muéstrame una cosa

    ✓ Si VS Code dice que está usando Foresea Forecasting o muestra una herramienta de Foresea Forecasting en la respuesta, ya está conectado

Nombres de menú comprobados con la ayuda de VS Code el 11 nov 2026 · tu pantalla puede variar un poco según la versión

Otras apps que usan MCP, como Windsurf, Zed o Gemini CLI, añaden servidores de forma distinta. Míralo en la lista de apps

Ver todas las apps que usan MCP →

Dirección para apps que se conectan por la web

Direcciónhttps://foresea.ink/mcp/

La configuración JSON está en “Para desarrolladores”, abajo

¿Te atascaste? Pregunta a quien usa Foresea Forecasting💬 Conversación →
Para desarrolladores: comandos de Terminal y configuración JSON

Por la web

Claude Code

claude mcp add --transport http --scope user forecasting https://foresea.ink/mcp/

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "forecasting": {
      "url": "https://foresea.ink/mcp/"
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "forecasting": {
      "type": "http",
      "url": "https://foresea.ink/mcp/"
    }
  }
}

Esta configuración se genera a partir de la ficha del creador en el registro. Si el README dice otra cosa, sigue el README.

De un vistazo

Descargas por semanai
No está en npm/PyPI
Dominio verificado
✓ foresea.ink
Conexión
Se ejecuta en la nube
Transporte
streamable-http
Última versióni
1.0.0
Publicado en el registroi
6 jun 2026
Último cambio de códigoi
13 nov 2026
Creador
pareelamre
Sitio web
foresea.ink
Estado en el registro
Activo

Qué apps pueden usarlo

Según cómo se conecta este servidor y la documentación de cada app, comprobado el 10 nov 2026.

Se conectan por internet en

ClaudeChatGPTGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatOpen WebUIRaycast

Todas las apps, con ventajas y desventajas →

Qué puede hacer

Nombres y descripciones de las herramientas tal como los informó el servidor el 10 nov 2026. Los escribió el creador, no nosotros; los mostramos como texto sin formato.

  • foresea_forecast

    Call this whenever the user asks about probability, likelihood, or whether something will happen. Good triggers: "Will X happen?", "What are the chances of Y?", "How likely is Z?", "What's the probability that…", "Do you think X will…", "Should I bet on…". Returns a calibrated YE

  • foresea_analyze_market

    Call this when the user mentions a specific prediction market by URL, slug, or ticker — or asks whether a particular market is over/underpriced. Good triggers: "Is this Polymarket fair?", "What's the edge on kalshi:XXXXX?", "Should I buy/sell this market?", user pastes a Polymark

  • foresea_scan_markets

    Call this when the user wants to find mispriced or interesting markets, not evaluate a specific one. Good triggers: "What should I bet on?", "Find me trading opportunities", "Which markets are mispriced right now?", "What's Foresea's best edge today?", "Scan Polymarket for opport

  • foresea_batch_quotes

    Call this when the user wants current price/volume for several markets at once -- a watchlist, a portfolio, "check on these 5 markets" -- instead of calling foresea_analyze_market once per market. Each ref is "platform:ident", e.g. "kalshi:KXFED-25JUN-H" or "polymarket:some-marke

  • foresea_check_run

    Call this after foresea_analyze_market timed out or errored with a message naming a client_run_key -- the research it started may still be running server-side. Returns {"status": "running", ...} if it's not done yet (call again in a bit), or the full report once it is. Do not cal

  • foresea_track_record

    Call this when the user asks how reliable or accurate Foresea is, or wants to know whether to trust a forecast. Good triggers: "How good is Foresea?", "What's the track record?", "Has it been right before?", "Is it calibrated?", "What's the Brier score?". Returns accuracy, Brier

  • foresea_edge_board

    Call this when the user wants the current top trading opportunities with explicit trade directions and historical backing. Good triggers: "What are the best bets right now?", "Show me the edge board", "Which model is winning the paper-trading competition?", "What's the strongest

  • foresea_venue_data

    Read public historical markets/candles/trades, batch books/midpoints/spreads, fees, holders, open interest, event volume, milestones and weather. Omit operation to discover operation names and schemas. No account or write access.

  • foresea_exchange_status

    Call this to check Kalshi exchange operational status (trading active flag) and operational hours/schedule.

  • foresea_orderbook

    Call this to fetch the live bids and asks orderbook depth for a Kalshi market ticker (e.g. 'KXFED-25JUN-H') or Polymarket YES-token ID.

  • foresea_market_tags

    Call this to sample Polymarket's category vocabulary. Each entry is a label and the slug that identifies it. This is one page of at most 100 tags, not the full taxonomy: Polymarket has tens of thousands, and the endpoint returns a fixed slice that is ordered neither alphabeticall

  • foresea_price_history

    Call this to retrieve historical price series or OHLC candlesticks for a market (e.g. Kalshi ticker or Polymarket token/slug).

  • foresea_live_data

    Call this to fetch real-time sports game statistics, play-by-play data, and live event feeds from Kalshi. Provide event_ticker for event charts, or milestone_id with data_type="game_stats" for play-by-play.

  • foresea_polymarket_meta

    Call this to fetch Polymarket metadata: event series listings, community discussion comments for a market, or sports league metadata (target: 'series', 'comments', 'sports', 'teams'). 'series' lists the series and how many events each holds, not the events themselves -- fetch a s

  • foresea_recent_trades

    Call this to fetch recent public executed trades / trade tape (prices, sizes, timestamps) on Kalshi or Polymarket.

  • foresea_market_leaderboard

    Call this to fetch the top profitable prediction market trader leaderboard and rankings from Polymarket.

  • foresea_debate_market

    Conduct an adversarial multi-agent debate (Bull vs. Bear vs. Chief Risk Judge) to cross-examine evidence and isolate blind spots on a forecasting question.

  • foresea_optimize_portfolio

    Calculate optimal mathematical Fractional Kelly capital allocations and position sizes across live Grade A/B prediction market opportunities.

  • foresea_feed_latest

    Fetch the real-time unified Foresea Alpha & Agent Feed, combining live prediction market edge signals, autonomous agent trades & theses, and leaderboard standings.

  • foresea_weather_radar

    Scan live temperature and weather prediction markets (Kalshi KXHIGHNY, KXHIGHCHI, KXHIGHMIA, KXHIGHAUS, KXHIGHDEN, KXHIGHPHIL, etc.) against neural weather models (Google DeepMind WeatherNext 3 / MetNet) and high-resolution multi-model ensembles, calibrated with station microclim

  • foresea_weather_forecast

    Retrieve neural model weather forecasts (Google Maps Weather API / WeatherNext 3 / MetNet, ECMWF, GFS, GraphCast) with empirical station bias correction (e.g. KNYC Central Park, KMDW Chicago Midway, KDEN Denver) and strike bracket probability calculations for weather prediction m

  • foresea_batch_forecast

    Submit up to 25 forecasting questions concurrently and receive structured predictions with confidence probabilities, bull/bear factor decomposition, key catalysts, and evidence citations for each question.

  • foresea_crypto_edge

    Scan real-time Kalshi cryptocurrency prediction markets (KXBTCD threshold contracts) scored against Black-Scholes zero-drift diffusion models and spot volatility. Returns tradeable market mispricings, implied odds, calibration reliability, and realized paper equity curves.

  • foresea_webhook_subscribe

    Subscribe an external agent HTTP callback webhook to receive real-time dispatches for new forecasts and market edge opportunities. The response contains an HMAC secret (X-Foresea-Signature) for validating incoming payloads.

  • foresea_trade_account_status

    Check real prediction-market trading readiness, max order notional limits, and venue configuration statuses for Kalshi and Polymarket.

  • foresea_preview_order

    Validate, normalize, and simulate guardrail checks for a real Kalshi or Polymarket order without submitting it to the exchange.

  • foresea_place_order

    Submit a guarded real order to Kalshi or Polymarket. Live execution requires confirmation='PLACE REAL ORDER' and execute=True, and is protected by server notional ceilings and exchange guardrails.

  • foresea_cancel_order

    Cancel an active open order on Kalshi or Polymarket using its venue order ID.

Revisiones básicasi

Revisamos información que cualquiera puede ver; no hemos leído el código. Las revisiones que no aplican no se cuentan. · Revisado el 13 nov 2026

  • ! Precaución

    El creador coincide con el repo

    Quien lo publicó (foresea.ink) no es el dueño del repo (pareelamre); puede que otra persona lo haya listado

  • ✓ Superada

    Sigue en mantenimiento

    Último cambio de código: hoy

  • ✓ Superada

    Tiene licencia

    Usa MIT

  • ✓ Superada

    El endpoint responde

    Respondió en 112 ms (HTTP 200)

  • – No aplica

    Inicio de sesión con OAuth

    No hace falta iniciar sesión

  • ✓ Superada

    Sin instrucciones ocultas en las descripciones de herramientas

    Leímos 28 descripciones de herramientas y no encontramos instrucciones ocultas para la IA

Conversación

Pregunta, comparte un consejo o avisa de que no funciona. Ordenado por lo que la gente marcó como útil.

Aún no hay publicaciones. Sé la primera persona en preguntar o compartir.

Lo publicado aquí lo escriben usuarios, no el equipo de PopNx.

Inicia sesión con Google para publicar

Reseñas de usuarios

Aún no hay reseñas

Inicia sesión con Google para escribir una reseña

Comparado con otros en Viajes, mapas y climai

  • Más estrellas que el 0% de los otros 1877 servidores de esta categoría
  • Publicado en el registro más recientemente que el 9% de los otros 1877 servidores de esta categoría
  • Revisiones básicas iguales o mejores que el 64% de los otros 1877 servidores de esta categoría

Comparado con todos los servidores activos de esta categoría en el registro. Las estrellas solo cuentan cuando quien lo publica es dueño del repo.

Preguntas frecuentes

¿Es seguro Foresea Forecasting?

Superó 4 de 5 revisiones básicas aplicables. No hemos leído el código. Antes de agregar una clave o un token, revisa qué acceso pide el servidor y usa una clave que tenga solo los permisos que necesitas.

¿Qué claves o códigos necesita?

El registro no indica ninguna clave obligatoria, aunque algunos servidores te piden iniciar sesión la primera vez que los usas.

¿Se ejecuta en mi computadora o en la nube?

Se ejecuta en la nube del creador. Te conectas por internet sin instalar nada, pero lo que envías pasa por los servidores del creador.

¿Sigue en mantenimiento?

El repo de GitHub cambió por última vez hoy, y la última versión (1.0.0) llegó al registro hace 5 meses.

¿Qué apps pueden usarlo?

Las apps compatibles con MCP, como Claude Desktop, Claude Code, Cursor y VS Code. Se conecta por URL, así que también sirve en apps que aceptan MCP remoto, como ChatGPT en la web (MCP completo en Business y superiores; Pro solo lectura).

¿Qué puedo usar en su lugar?

En la misma categoría: LetsFG — Flights & Hotels, Google Maps MCP Server, Mu

Otros de la misma categoría

Servidores de la misma categoría hechos por otros creadores, ordenados por estrellas.

Cómo leer una tarjeta:↓ Descargas por semanai★ Estrellas de GitHubiTres pilares: reseñas · revisiones · usoiActualizado = fecha en que se publicó la última versión en el registroi

LetsFG — Flights & Hotels

Search and book flights and hotels: hundreds of airlines, plus bookable hotel rates.

de LetsFGMuy usado↓ 204/sem★ 2,3 milActualizado hace 2 meses

Computadora o nube

Google Maps MCP Server

18 Google Maps tools for AI agents — geocode, search, directions, weather, and more.

de cablateEn crecimiento↓ 1,3 mil/sem★ 496Actualizado hace 2 meses

Se ejecuta en tu computadora

Mu

News, web search, mail, markets, weather, places, files, calendar, contacts. 67 tools, one endpoint.

de microEn crecimiento★ 439Actualizado hace 3 meses

Se ejecuta en la nube✓ micro.mu

README del creador

Abrir el README

Copiado tal cual del repo del creador. PopNx MCP no lo ha revisado ni lo respalda. Se quitaron HTML, imágenes y scripts. Los enlaces llevan fuera de este sitio.

Foresea: Autonomous Prediction Market Intelligence & LLM Rationale Benchmark

Foresea (foresea.ink) is an autonomous prediction market intelligence platform and empirical research framework. It combines real-time probability forecasting across Polymarket and Kalshi, statistical edge discovery, multi-model shadow trading tournaments, an autonomous 19-tool ReAct execution agent, and a public Model Context Protocol (MCP) server.

The repository also serves as the artifact for research studying how explicit rationale instructions, evidence injection, and reasoning structures affect LLM forecasting behavior and calibration on Metaculus-style questions.


📑 Table of Contents

  • Live Platform & Web Views
  • Edge Board & Autonomous Shadow Trading Desk
  • 5-Minute Crypto Micro-Markets
  • Production Deployment & Infrastructure
  • Using the API & Endpoints
  • Agent: Automated Intelligence Layer & ReAct Tools
  • Model Context Protocol (MCP) Integration
  • Custom Integrations & Ecosystem Tools
  • Trading Execution & KMS Guardrails
  • Repository Contents & Prompt Variants
  • Foresea Autoresearch
  • Reproducing Core Outputs & SQL Analytics
  • Quality Checks & Development

Live Platform & Web Views

Deployed on Google Cloud Run with high-concurrency scaling, streaming responses, and continuous delivery:

https://foresea.ink
Core Web Applications & Routes
  • Market Desk (`/`): Real-time landing view with market radar, model-vs-market gap highlights, and interactive walkthroughs.
  • Forecasting Chat (`/chat`, `/chat/:id`): Conversational interface with streaming rationale, news evidence citation, and multi-turn market analysis.
  • Edge Board (`/edge`, `/edge/markets`): Ranked live Foresea-vs-market pricing discrepancies across Polymarket and Kalshi, backed by calibration and lead-time scores.
  • Mark-to-Market View (`/edge/mtm`): Continuous mark-to-market valuation and PnL tracking for resolved and open market predictions.
  • Agentic Trading Desk (`/edge/agentic`): Multi-model autonomous trading tournament. Independent $10,000 shadow accounts for each model (Gemma 4 26B, Qwen 3.8 27B, GPT-OSS 120B, GLM 5.3, GLM 5.3 Flash, DeepSeek V4 Flash, MiniMax M3, Llama 3.3 70B) executing real-time paper trades, tracking equity curves, and logging hourly cycle health.
  • Trading Terminal (`/trade`): Non-custodial, client-side order preview and execution terminal with Cloud KMS envelope encryption for Polymarket and Kalshi credentials.
  • Watchlist (`/watchlist`): Follow specific markets with automated daily digest emails.
  • Public Forecasts (`/forecast/:share_id`): Shareable forecast permalinks with rationale cards and provenance.
# Health check

curl https://foresea.ink/health

Single-record prediction

curl -X POST https://foresea.ink/predict \ -H "Content-Type: application/json" \ -d '{ "question": "Will X happen by date Y?", "question_type": "binary", "description": "Context here.", "news_articles": [], "attach_evidence": true, "evidence_top_k": 5, "market_platform": "Polymarket", "market_probability": 0.42, "variant": "variant0_neutral_baseline" }'

When attach_evidence is true and no news_articles are supplied, /predict fetches and ranks current news evidence from GDELT, Google News RSS, and Stooq by default, injects it into the model prompt, and returns the selected evidence_articles with the forecast. Supplying news_articles skips automatic retrieval and uses the caller-provided evidence.

The response includes both the forecast and the evidence used by the model:

{

"question_type": "binary", "predicted_answer": "Yes", "confidence": 0.86, "options": [], "range_forecast": null, "rationale": "Model-generated explanation for the forecast.", "model_rationale": "Model-generated explanation for the forecast.", "variant": "variant0_neutral_baseline", "model_key": "gpt-oss-120b", "evidence_sources": [ { "source": "Reuters", "title": "Article headline", "url": "https://example.com/article", "publish_date": "2026-05-29T00:00:00Z", "relevance_score": 0.82 } ], "evidence_articles": [ { "title": "Article headline", "summary": "Cleaned article summary.", "source": "Reuters", "url": "https://example.com/article", "publish_date": "2026-05-29T00:00:00Z", "relevance_score": 0.82, "search_query": "query used for retrieval" } ], "evidence_error": null, "market_analysis": { "platform": "Polymarket", "market_url": "https://example.com/market", "outcome": "Yes", "market_probability": 0.42, "model_probability": 0.86, "edge": 0.44, "stance": "model_above_market", "summary": "Foresea is 44 percentage points above the market on Yes." } }

Use evidence_sources when a client only needs the source list and links. Use evidence_articles when a client needs the article-level details that were attached to the model prompt. rationale and model_rationale are generated by gpt-oss-120b and explain why the model chose its answer and confidence. When market_probability is supplied, market_analysis is computed deterministically from the model probability and the market-implied probability.

Edge Board & Autonomous Shadow Trading Desk

Foresea continuously evaluates state-of-the-art LLMs against real-world prediction markets, tracking statistical edge, calibration accuracy, and shadow portfolio performance across three dedicated views:

1. Live Markets Disagreement (/edge or /edge/markets)
  • Real-Time Edge Ranking: Quantifies the statistical gap between model forecasts and live market pricing across Polymarket and Kalshi: $$\text{Edge} = P_{\text{model}} - P_{\text{market}}$$
  • Sizing & Recommendation: Computes Fractional Kelly allocations and categorizes actionable trades (buy_yes, buy_no, hold).
  • Calibration & Resolution: Backed by hourly snapshots committed to static/track_record_live.json, calculating Brier scores, Expected Calibration Error (ECE), and lead-time skill once markets resolve.
2. Mark-to-Market Evaluation (/edge/mtm)
  • Continuous Portfolio Valuation: Evaluates paper positions at live bid/ask quotes rather than relying on eventual settlement alone.
  • Unrealized vs. Realized PnL: Provides an institutional-grade view of trade trajectory and volatility exposure across open horizons.
3. Agentic Autonomous Trading Tournament (/edge/agentic)
  • Multi-Model Tournament: Evaluates 8 distinct LLMs acting as autonomous portfolio managers:
  • Gemma 4 26B (gemma-4-26b-a4b-it)
  • Qwen 3.8 27B (qwen3-8-27b)
  • GPT-OSS 120B (gpt-oss-120b)
  • GLM 5.3 (glm-5-3) & GLM 5.3 Flash (glm-5-3-flash)
  • DeepSeek V4 Flash (deepseek-v4-flash)
  • MiniMax M3 (minimax-m3)
  • Llama 3.3 70B (llama-3.3-70b-instruct)
  • *Baseline*: crowd-follow (no-LLM consensus control)
  • Independent $10,000 Portfolios: Each model starts with a simulated $10,000 cash balance and autonomy to scan markets, evaluate orderbooks, and execute Immediate-or-Cancel (IOC) paper orders.
  • Equity Curves & Cycle Health: Renders cumulative returns ($10,000 reinvested), drawdown metrics, trade logs, and hourly cycle execution health (tracking provider availability, token budgets, and trade triggers).

5-minute crypto markets

The local crypto micro-market model in src/analyzing_llm_rationale/crypto_5m.py is built for 5-minute UP/DOWN markets where the goal is profitable selective trading, not constant action. It combines:

  • shrunken-drift lognormal moneyness pricing,
  • AR(1) return forecasting with EWMA volatility,
  • fixed or adaptive logistic ML features from momentum, reversal, volatility regime, range position, and volume imbalance.

Each forecast returns predicted_outcome, probability_up, component_probabilities, model-vs-market edge, and a fee-aware strategy. The strategy only recommends a trade when net expected value clears fees and the configured no-trade threshold.

.venv/bin/python scripts/crypto_5m_backtest.py \

--benchmark \ --symbols BTC,ETH,SOL \ --days 1 \ --max-candles 1600 \ --lookback-minutes 60 \ --horizon-minutes 5 \ --market-probability 0.50 \ --fee-bps 2 \ --ml-modes fixed,adaptive \ --edge-thresholds 0,0.01,0.03,0.05,0.08 \ --selection-fraction 0.6 \ --folds 4 \ --training-window 120 \ --max-rows 80 \ --benchmark-log data/crypto_5m_benchmark_runs.jsonl

Use fold_aggregate and evidence_quality before risking capital. If selection is unstable or holdout PnL is weak, the correct profitable action is to abstain. --benchmark-log appends a compact JSONL record for tracking whether the selected threshold and model mode keep working across benchmark runs. Resolve completed markets against Binance candles:

.venv/bin/python scripts/crypto_5m_backtest.py \

--resolve \ --symbol BTCUSDT \ --target-price 62400.52 \ --start-time-ms 1780000000000 \ --horizon-minutes 5 \ --predicted-outcome down

The resolver returns pending before expiry and resolved afterward with actual_outcome, resolved_price, and prediction_correct.

Record and resolve paper signals over time:

.venv/bin/python scripts/crypto_5m_backtest.py \

--paper-signal \ --symbol BTCUSDT \ --market-probability 0.50 \ --fee-bps 2 \ --signal-log data/crypto_5m_signal_log.jsonl

.venv/bin/python scripts/crypto_5m_backtest.py \ --resolve-signal-log \ --signal-log data/crypto_5m_signal_log.jsonl

.venv/bin/python scripts/crypto_5m_backtest.py \ --signal-summary \ --signal-log data/crypto_5m_signal_log.jsonl \ --min-resolved-trades 200 \ --min-total-pnl 0 \ --min-hit-rate 0.53

.venv/bin/python scripts/crypto_5m_backtest.py \ --paper-loop \ --symbols BTC,ETH,SOL \ --iterations 12 \ --sleep-seconds 60 \ --market-probability 0.50 \ --fee-bps 2 \ --signal-log data/crypto_5m_signal_log.jsonl

The signal log is the running dataset for model improvement: each record stores the forecast, recommendation, later actual_outcome, correctness, and pnl_per_contract for actual buy_up/buy_down paper trades. Use --signal-summary to audit whether resolved paper trades are positive after fees; trade_ready stays false until the configured trade count, PnL, and hit rate thresholds are met. Use --dry-run with --paper-loop to preview signals without writing the log.

Production Deployment Notes

Production is served from the custom domain:

https://foresea.ink

The Cloud Run service name, project ID, and region are set at deploy time

Solo se muestra el principio; lee el resto en el repo