Documentation

Instrument your bot in three lines.

The SDK taps the events your bot already produces and mirrors them to ElevateMind. It never touches your broker connection, your orders, or your credentials.

⚠ Preview — the SDK & dashboard ship with the private beta backend. APIs may change.

Install

# Python 3.10+
pip install elevate-monitor

Quickstart

Create a monitor once, then call it on the event points you already have.

from elevate import Monitor

mon = Monitor(
    api_key="em_live_…",   # from your dashboard
    bot="olivera_es",
    mode="live",            # "live" or "paper"
)

# on a signal
mon.signal(sym="ES", side="long", reason="NR7_breakout", price=5100.25,
           meta={"vol_z": 2.1, "ofi": "pos"})

# on an order + fill
mon.order(sym="ES", side="buy", qty=3, type="market")
mon.fill(sym="ES", qty=3, price=5100.50, slip_ticks=1)

# on exit + risk
mon.exit(sym="ES", qty=3, price=5104.25, pnl=187.50, reason="target")
mon.risk(daily=-180.0, trailing_used=360.0, halted=False)

Event reference

MethodPurpose
signal(sym, side, reason, price, meta)A strategy decision — with the reason and any indicator values behind it.
order(sym, side, qty, type, price)An order your bot sent to the broker.
fill(sym, qty, price, slip_ticks)A fill received, with optional slippage vs intended price.
exit(sym, qty, price, pnl, reason)A position close, with realized P&L and reason.
risk(daily, trailing_used, halted)Current risk usage against your prop-firm limits.
pnl(realized, unrealized)A P&L snapshot between trades.
halt(reason)A safety halt — daily loss, trailing DD, news blackout, etc.

All calls are non-blocking: events are queued and sent asynchronously, so the SDK never adds latency to your trading loop. If ElevateMind is unreachable, your bot keeps trading and events are dropped silently.

TradingView webhooks (no Python)

Running a Pine Script strategy on TradingView? Point its alert at ElevateMind and your signals show up on the dashboard — no SDK, no Python. In the alert dialog, set the Webhook URL to:

https://app.elevatemindstudio.net/api/webhook/tv/YOUR_API_KEY

Then put a JSON message in the alert body (TradingView placeholders like {{ticker}} and {{close}} work):

{"type":"signal","sym":"{{ticker}}","side":"long","price":{{close}},"reason":"RSI cross"}
{"type":"fill","sym":"ES","side":"buy","qty":1,"price":5100.25}
{"type":"exit","sym":"ES","pnl":120.0,"reason":"target"}

No JSON? Plain text works too: signal ES long 5100.25 RSI_cross or exit ES 120.50 target. The bot name defaults to your key's label; mode defaults to live. Same event types as the SDK.

AI code review

Upload your strategy files from the dashboard. Each file is analyzed individually, then together — and your code is never executed. No sandbox, no broker, no risk.

What it checks

  • Logic flaws — conditions that can never be true, unreachable exits
  • Risk handling — missing stops, unbounded position sizing
  • Prop-firm compliance — daily loss / trailing DD respected?
  • Concurrency & error handling on fills and disconnects

How your code is treated

  • Analyzed to produce your report, then not retained
  • Never shared, sold, or used to train models
  • Static analysis only — code is read, never run
  • Delete your reports and data anytime

Bot won't connect or no data showing? See Troubleshooting — step-by-step checks for the common issues. Other questions? Request a beta invite and we’ll get you set up.