AAlgoStudio· Docs

Your strategies, executed in milliseconds.
Your risk, under control.

AlgoStudio turns TradingView alerts into real orders on Binance, Alpaca and Hyperliquid — through execution edges co-located with the exchange, governed by risk rules you set in one portal.

Workflow

A signal's journey — TradingView → edge → broker → you

What happens in the first second after your strategy fires. Watch it play:

The whole path typically completes in well under a second; the Tokyo edge reaches Binance in ~3 ms.
1

Strategy fires

Your TradingView alert POSTs its JSON to your personal webhook URL.

2

Edge receives

The edge you chose (Local or Tokyo) authenticates the URL token instantly.

3

Risk gate

Kill-switch, sizing caps and signal rules are checked from local memory — no database, no network, no added latency.

4

Order out

The order hits your broker over the shortest path. Execution never routes through a proxy.

5

Fill confirmed

The broker responds; the edge books the fill and reports back to the portal.

6

You see it

Dashboard updates live via websockets; Telegram pings your phone; the iPhone app shows the position.

Guide

Get started in 7 steps

From zero to your first automated trade. Start on demo/testnet — everything below works identically on paper money.

1

Create your account

Sign up at algostudio.trade/signup (email, Google or Apple). Turn on 2-factor auth under My account before adding real keys.

2

Connect a broker key

Go to Keys and add an API key from your broker:

  • Binance — enable reading + trading only, never withdrawals.
  • Alpaca — paper keys work out of the box.
  • Hyperliquid — API wallet address + key.

Keys are encrypted at rest; the portal never displays a stored secret again.

3

Create a strategy

Under Trading → Strategies, create a strategy and attach your key. You get a unique webhook URL:

https://algostudio.trade/webhook/tv/<your-token>

The token in the URL is the secret — treat it like a password.

4

Wire up TradingView

In your TradingView alert, set the webhook URL from step 3 and paste this message:

{
  "ticker":          "{{ticker}}",
  "order_contracts": "{{strategy.order.contracts}}",
  "order_action":    "{{strategy.market_position}}",
  "price":           "{{close}}"
}

order_action arrives as long / short / flat — flat closes the position. Optional fields (market type, margin mode, hedge mode) are documented on the strategy page.

Firing from an indicator instead of a strategy? Indicators have no {{strategy.*}} placeholders, so you hard-code the action and size the order in dollars (the pair's quote currency):

Entry — go long, ~1000 of the quote currency:

{
  "ticker":               "{{ticker}}",
  "order_action":         "long",
  "order_notional_quote":  "1000",
  "price":                "{{close}}"
}

Exit — close the whole position (no size needed):

{
  "ticker":       "{{ticker}}",
  "order_action": "flat"
}

Flip with no exit signal — close whatever is open first, then open the new side, in one alert:

{
  "ticker":               "{{ticker}}",
  "order_action":         "short",
  "order_notional_quote":  "1000",
  "price":                "{{close}}",
  "flat_first":           true
}

flat_first: true is for an indicator that flips direction without sending an exit — it closes any open position on the ticker first, then opens the new one. A no-op when nothing is open (a fresh entry still opens); if the pre-close fails, the new position is not opened on top. Omit it and nothing changes.

order_notional_quote sizes in the pair's quote currency — whatever {{close}} is priced in (USDT / USDC / U, not necessarily USD). Prefer a fixed quantity? Send order_contracts instead. On a Binance key set to directional, use long/short/flat (not buy/sell). Add "strategy": "a-label" to tag which indicator fired.

5

Choose your route

Per account, pick where signals execute:

  • Local — the portal cluster executes. Simple, fine for most.
  • Tokyo — the edge co-located with Binance executes (~3 ms). Pick this for latency-sensitive crypto strategies.
6

Set your risk rules

Under Risk Management → Get started, the wizard walks you through:

  • Signal rules — max size, per-symbol caps, trading windows.
  • Event sizing — auto-shrink positions around market events.
  • Kill switch — one button flattens everything, account-wide.

Rules sync to your edge ahead of time, so enforcement adds zero latency.

7

Go live & monitor

Fire a test alert from TradingView, then watch:

  • Positions — live P&L per position, per-coin Close buttons on cross-margin.
  • Telegram — connect the bot for instant fill/entry/exit pings.
  • History — every webhook, order and fill is audit-logged.

Rules of thumb

  • Start on demo/testnet; move to live only after fills look right.
  • Margin has no testnet — validate margin strategies with a small live trade.
  • Judge TradingView backtests on bar-close fills; "on order fill" inflates results.
  • One-way (non-hedge) mode fits a single TradingView strategy best.
Reference

Feature map — every surface in the portal

Where to find everything once you're logged in.

Dashboard

Positionslive positions across all accounts, real-time P&L
Cross-marginper-coin cards with true size + per-coin Close
Close / Flattenclose one leg or flatten a whole account
Kill switchaccount-wide emergency flat

Trading

Strategieswebhook strategies, keys, routing
Live ▶activations — what's armed right now
Assessstrategy assessment & scoring
Manual tradeterminal for market/limit orders with SL/TP
Copy tradingmirror a source account onto targets

Risk Management

Get startedguided setup wizard
Signal rulessize caps, symbol filters, windows
Event sizingshrink risk around scheduled events
Libraryreusable rule blocks & profiles

Market Data

Eventsmacro/economic calendar with trade blocks
News BTbacktest strategies against news history
TV sessionTradingView session sync
Whale watchlarge on-chain movement alerts

Alerts & mobile

Telegramfills, entries, exits, daily summaries
iPhone applogin, home, live positions on the go
Historyorders, fills, webhooks — full audit trail

Account

Keysbroker API keys (encrypted at rest)
My accountemail, password, 2-factor auth
Billingplan & subscription