ai strategy lab for crypto

Describe a trading strategy. Get an honest backtest. Run it.

Tell Claude, ChatGPT, Claude Code or Codex your idea in plain words. OptAlgo backtests the code on real exchange data, grades how honest the result is, runs it on paper around the clock, and takes it live on your exchange when you confirm.

Works withClaudeChatGPTClaude CodeCodex

Official Binance broker · Non-custodial · Live only when you confirm

sample data

how it works

From an idea to a running bot, in one conversation.

No platform to learn and no code to write yourself. Your AI does the typing, OptAlgo does the honest testing and the execution.

  1. 1
    your AI

    Describe it

    Say it like you would to a trader friend. Your AI writes a strategy.py with the OptAlgo SDK: plain Python you can read, download and keep.

  2. 2
    free

    Validate

    A free dry run lists every problem at once (code, symbols, data, plan limits, cost), each with its fix. No quota spent.

  3. 3
    graded A–D

    Backtest

    Real candles, fees, funding and exchange rules with minute-level fills. You get an honesty grade and an overfit verdict before any return figure.

  4. 4
    paper

    Run on OptAlgo

    Deploy the backtest in one click. OptAlgo runs your code at every bar close in a sandbox and trades it on paper in My Bots. Watch every decision.

  5. 5
    you confirm

    Go live

    When the paper record holds up, switch it live on your exchange. Your AI can ask for it. Only you can confirm it.

backtest engine

Backtests that tell you when they are lying.

Most backtests flatter you: perfect fills, no funding, a hundred tweaks on the same data until something looks good. OptAlgo grades every run and counts every try, so the number you see is one you can act on.

  • Aevery fill settled on real data
  • Ba few standard assumptions
  • Cusable, read the findings
  • Dnot realistic: fix and rerun
How the grading works

sample data

Honesty grade A–D

A means every fill settled on real data with fees, funding and exchange rules. D means unrealistic: fix it and rerun. The result lists what was simulated and how it differs from live.

Overfit check

OptAlgo counts how many variants you tried on the same data and computes a deflated Sharpe ratio. Verdict: ok, caution, likely overfit or no edge.

No lookahead, no luck

Every strategy is checked for peeking at future bars and for non-deterministic code before it runs. Same code and data, same result, every time.

Research runs

Walk-forward, nested walk-forward, purged and combinatorial cross-validation, Monte Carlo and permutation tests. Robust, inconclusive or likely overfit.

Real costs, real fills

Exchange fees, exact funding payments, minimum order sizes and intrabar fills replayed on 1-minute data. No mid-price fantasies.

Baskets in one run

Test the same rules on several coins at once with capital split equally. The grade is the worst symbol's, not the best.

connect your ai

Use the AI you already pay for.

No new chat app to learn. OptAlgo plugs into Claude, ChatGPT and terminal agents through MCP and a REST API, with guardrails the server enforces, not the prompt.

Claude.ai & ChatGPT

MCP connector

Add OptAlgo as a custom connector, sign in and approve. Backtest and paper-trade from the chat, on web, desktop or mobile.

https://mcp.optalgo.com/mcp

Claude Code

MCP over HTTP

One command, then /mcp to sign in. Your coding agent writes, validates and backtests strategies next to your own code.

claude mcp add --transport http optalgo https://mcp.optalgo.com/mcp

Codex & any terminal agent

one prompt

Your agent reads one guide, logs in with a device code (the key never enters the chat) and runs the whole loop, deploys included.

Read https://docs.optalgo.com/optalgo-llm.md and connect to my OptAlgo account.

REST API

/v1 · X-API-Key

Scoped keys for read, backtest, paper bots and live trading. OpenAPI schema, idempotency keys and clear errors with fixes.

https://api.optalgo.com/v1/openapi.json

Guardrails, enforced by the server

Connector setup guide →
  • Chat connectors are paper-only. They can never move real money.
  • Scoped API keys: read · backtest · paper bots · live trade.
  • Per-key max allocation, max leverage and daily loss limit.
  • Going live always waits for your confirmation in the app.
  • Every call logged. Telegram notice on money-moving actions.

tradingview bots

Already trading TradingView alerts? Keep them.

Point any TradingView strategy or indicator alert at OptAlgo and it trades on your exchange in seconds. Single-symbol, automatic or multi-symbol bots, partial closes, paper or live. No browser extension, no machine left running.

  1. 01Add the free OptAlgo Backtest template to your chart and pick any indicator as the signal.
  2. 02Backtest on the chart, then paste your Strategy Key from the OptAlgo dashboard.
  3. 03Create the alert. Your bot trades around the clock and pings Telegram on every fill.

Free TradingView backtest templates, 14,000+ boosts

free

OptAlgo Backtest

Turn any indicator into a testable strategy. Trading hours, ATR stops, risk rules.

invite

OptAlgo Backtest Plus

Mean reversion filters, adaptive volatility management, liquidation detection.

open source

FreedX Grid Backtest

Grid strategies with exchange-accurate fills, leverage and price ranges.

Our TradingView scripts ↗

features

Everything between the idea and the fill.

Paper trading

Fills at live prices in milliseconds, no exchange needed. Run any strategy against the market with zero risk before it touches money.

Live trading with limits

Flip a bot from paper to live when the numbers hold up. Leverage caps, allocation limits and a daily loss limit keep exposure where you set it.

My Bots dashboard

Every bot, hosted strategy and webhook bot on one screen. Pause, resume, wind down or close, and read every decision it made.

Multi-symbol bots

One bot trades many coins: the budget splits into slots, with per-coin weights and a pause button for each coin.

Portfolio analytics

Realized and unrealized PnL in real time, monthly performance tables, allocation and leverage across exchanges and sub-accounts.

Telegram notifications

Every execution, error and status change lands in Telegram the moment it happens. Connect with a QR code in seconds.

exchanges

Your exchange. Your keys. Your funds.

BinanceBybitOKXAlpaca

Auto-connect with Binance

OptAlgo is an official Binance API partner via the Link Program. Connect with Binance's own consent screen. The key it creates is IP-restricted and cannot withdraw.

Sub-accounts everywhere

Keep bot capital ring-fenced from the rest of your portfolio, with its own exchange connection, bots and history under one plan.

Non-custodial by design

API-key connections never need withdrawal permission. Funds stay on your exchange. OptAlgo only trades.

pricing

Start free. Upgrade when it works.

Free

$0/mo

Build and test strategies with your AI. No card required.

  • 50 backtest units / month
  • 1 hosted strategy, paper
  • Claude & ChatGPT connectors
  • 200 paper trades / month
  • 10 live trades / month (webhook bots)
  • 2 bots
  • Hosted strategies live
  • Fund strategies
  • Signal priority: Low
Start free

No card required

POPULAR

Plus

$29/mo

Take tested strategies live. Unlimited trades.

  • 30 backtest units / day
  • 10 hosted strategies, paper or live
  • API keys with live trading
  • Unlimited paper & live trades
  • 30 bots · multi-symbol up to 10 coins
  • ~1 year of 1-minute history per run
  • High priority support
  • Fund strategies
  • Signal priority: High
Get Plus

14-day money-back guarantee

Pro

$99/mo

Serious research, more strategies, fund access.

  • 200 backtest units / day
  • 20 hosted strategies, paper or live
  • 10-symbol baskets · 3 runs at once
  • ~6 years of 1-minute history per run
  • 500 trials per optimisation
  • Unlimited bots · multi-symbol up to 20 coins
  • Fund strategies
  • Private support
  • Signal priority: Maximum
Get Pro

14-day money-back guarantee

Cancel anytime in one click · 14-day money-back guarantee

SSL SECUREDBILLING BY STRIPEOFFICIAL BINANCE BROKER

faq

Questions traders ask first.

Can I create a trading strategy with ChatGPT or Claude?

Yes. Connect OptAlgo to Claude.ai, ChatGPT, Claude Code or Codex, then describe your idea in plain words. Your AI writes the strategy code with the OptAlgo SDK, validates it for free and backtests it on real exchange data. You see an honesty grade and an overfit verdict before any return figure.

Do I need to know how to code?

No. Your AI writes the code and OptAlgo checks it. You can still read, download and keep every strategy.py, and developers can drive everything through the REST API. If you prefer charts, the TradingView templates are click-only.

What is the honesty grade?

Every backtest gets a grade from A to D. A means every fill was settled on real data with fees, funding and exchange rules. B relies on a few standard assumptions, C is usable with caveats the findings explain, and D is not realistic and should be fixed before you trust it.

How does OptAlgo detect overfitting?

It counts how many variants of your strategy you tried on the same data in the last 30 days and computes a deflated Sharpe ratio: the chance your result beats what the best of that many worthless variants would reach by luck. Research runs add walk-forward, cross-validation and Monte Carlo tests on data the strategy never saw.

Can my AI trade with real money?

Chat connectors (Claude.ai, ChatGPT) are paper-only and can never touch real money. A strategy goes live only when you confirm it in the OptAlgo app, on a Plus or Pro plan. API keys you create can carry a live-trading scope with server-enforced limits on allocation, leverage and daily loss.

What does OptAlgo run for me?

Deploy a backtested strategy and OptAlgo runs your code at every bar close in a sandbox, on paper first, as a bot in My Bots. You can watch every decision, pause it, wind it down, compare it with its backtest or download the code. Webhook bots from TradingView or your own scripts run alongside.

Does OptAlgo hold my funds?

No. OptAlgo is non-custodial. You connect Binance, Bybit, OKX or Alpaca with an API key (or Binance auto-connect), your funds never leave your exchange account, and withdrawal permission is never required.

Is OptAlgo free?

The Free plan includes 50 backtest units a month, one hosted strategy on paper, the Claude and ChatGPT connectors, 200 paper trades a month and 2 webhook bots. No card required. Plus and Pro add live trading for hosted strategies, more backtests and longer history.

Do I need TradingView?

No. TradingView alerts are one way in, and they work great. You can also build strategies with your AI or send signals to the REST API from your own code.

Can I cancel? Is there a refund?

You can cancel any time in one click from your account. Paid plans come with a 14-day money-back guarantee, and billing is handled by Stripe.

Your next strategy is one sentence away.
Test it honestly before it touches money.

Start free, no card

50 backtest units a month on the Free plan.