AI Trading Agents
Agents are autonomous strategies that run on a schedule (or on incoming signals), read live market data, and, if you allow it, place and manage real trades on your BloFin account. Everything an agent does is written to a visible audit trail. This chapter covers the full agent system: building an agent, every field in the builder, the agent's page, the Thinking feed, signal webhooks, the LLM deploy flow, and every limit and error message you may encounter.
Contents
- The three agent types
- The Agent Builder (Natural Language flow)
- Signal Agent Builder (webhook-triggered)
- LLM Agent Deploy
- How the agent interprets risk
- How an iteration works
- Reading the Thinking feed
- The agent's page
- Managing agents
- The Agent Chat (Command Terminal)
- Strategies
- Paper trading rules
- How paper trading works
- Stops between checks
- Limits, safety, and error messages
The three agent types
Every agent starts in Agents โ Build an agent (/agents/new). There are three kinds:
| Kind | Where | When to use |
|---|---|---|
| Plain-English rules | The builder form itself | You want the agent to find setups on its own using your written rules. Most people start here. |
| Signals | "follow my signals" under the form | You already have a TradingView strategy or your own bot sending alerts. |
| Your own AI | "use my own AI" under the form | You want an external AI (e.g. Claude) to backtest, deploy and edit through the platform's APIs. |
The Agent Builder (Natural Language flow)
Build an agent (/agents/new) is one page, top to bottom. There is no wizard and no assistant in the middle: what you type is what the agent reads.
- Name and rules. Four boxes: When to enter, How to manage the trade, Stop loss and target, Anything else. Be specific: numeric thresholds ("RSI(14) below 30") are compiled into deterministic checks. Indicators your rules mention are picked up automatically; Add one by hand attaches any built-in indicator or one of your scripts, and Check my rules shows how they read. Start from a template fills the boxes from a built-in strategy.
- Coins and timeframe. Up to 3 coins (10 for a vault agent) from every BloFin market, and a timeframe (or none: the agent reads it from your rules).
- Money and risk. Pick Paper (simulated money on live prices) or Live (real orders on your BloFin account). Nothing is picked for you. Then the paper balance or the live budget, Risk per trade, Max leverage, Max open positions, how often it checks the market, and Share the rules (Private, Invite only, Followers, Subscribers or Public).
- More settings (collapsed): a daily loss limit, a total loss stop, stop-loss requirement, usual leverage, max total exposure, entry types and integrations (data in, results out).
- Turn on. The agent is created already running in the mode you picked and its page opens. A live agent asks you to confirm once. Backtest first is there if you want it; it is optional.
Other ways in, under the form: follow my signals (a webhook or TradingView agent, below), use my own AI (LLM deploy, below) and turn a TradingView script into an agent.
Editing an agent (Edit on its page) opens this same page with its settings; Save changes applies them from its next check.
Backtest
Run the rules against closed BloFin candles before or after you turn it on. Rules are compiled once into exact conditions (the same ones the agent trades) and replayed with fees and funding; rules that cannot be compiled are refused with the reason. Results show the return after costs, win rate, profit factor, max drawdown, every trade, and the first 70% against the last 30% of the period.
Prop challenge mode
Set Account to Prop challenge in the backtest to test the agent against a prop firm's funded-account rules instead of your own account. Start from a preset (two-step, one-step, or two-step with time limits) or set the rules yourself: account size, and for each phase the profit target, daily loss limit, max loss, minimum trading days, time limit and consistency rule; whether max loss is static, trailing or trailing at the end of the day; what the daily loss is measured from and the hour it resets (UTC); max risk per trade, whether every trade needs a stop, max leverage, the challenge fee and the profit split.
The result says whether the agent passed each phase and, if it failed, which rule ended it and on which day. A chart shows equity against the daily and max loss floors and the target, and every day is in a table. The same challenge is then started from up to 60 other days in the period, which gives a pass rate, the most common reasons for failing, the median days to pass and the fee cost per funded account. Limits are checked against each candle's worst point, so a candle that dips through a floor and recovers still fails. A passed backtest is still only a backtest.
Signal Agent Builder (webhook-triggered)
Pick External Signal on the first screen. A signal agent sleeps in AWAITING SIGNAL status until a webhook arrives, then applies your rules to decide whether and how to act.
| Field | Required | What it does |
|---|---|---|
| Agent Name | Yes | Placeholder: "e.g. TV Scalp Executor, My Python Bot...". Also used as the default "source" tag. |
| Signal Password | Yes (builder requires it) | "Optional extra security. The bot_id below is what routes signals to this specific bot." |
| Capital (USDT) | No | "Total capital reserved for this bot. 0 = use account balance." |
| Risk / Trade (%) | Default 2 | "Hard max risk per trade. Enforced in the bot's execution rules." |
| Filter: Symbols (empty = all) | No | Only act on these symbols (e.g. "BTC, ETH, SOL"). |
| Filter: Source (empty = all) | No | Only act on signals whose "source" field matches. |
| Agent Instructions (highest priority) | Yes | "These instructions ALWAYS override strategy code. The AI receives raw signal JSON and applies your rules." Examples: "Only take signals with R:R > 3. Max risk 1% per trade. Skip signals with no stop loss." |
| Strategy Context | No | Help the AI understand what generates your signals ("This is a mean-reversion strategy using RSI oversold + volume spike..."). |
| Attach PineScript strategy | No | Checkbox; paste your Pine code as reference for the AI. |
| Also run agent on interval (independent of signals) | No | Adds a fallback scheduled run in addition to webhook triggers. |
| Trading Account | โ | Same account selector as the interval flow. |
Webhook Setup (TradingView how-to)
The Webhook Setup box shows two things you copy:
- Your Bot ID (unique identifier): e.g.
bot_ab12cd34. "This routes signals directly to THIS bot only. Include it in every webhook payload." No Bearer token or API-key header is needed; the bot ID in the JSON body is the authentication/routing. - Webhook URL: labeled "Webhook URL (paste into TradingView "Webhook URL" field)". It ends in
/functions/v1/central-signaland is displayed in full in the builder (and again in the agent-chat [CREATE AI AGENT] modal).
To wire up TradingView:
- Open your strategy/indicator on a chart and create an alert (the clock icon, or right-click the strategy โ "Add Alert").
- Under the "Notifications" tab, check "Webhook URL" and paste the URL above. No auth headers are needed: TradingView only sends the body.
- Paste the provided JSON template into the "Message" field. It pre-fills your bot ID, password, and source, and uses TradingView placeholders for the rest:
{
"bot_id": "<your bot id>",
"password": "<your password>",
"symbol": "{{ticker}}",
"trade_type": "{{strategy.order.action}}",
"entry_price": {{close}},
"stop_loss": 0,
"final_target": 0,
"take_profits": [],
"source": "<your agent name>"
}
- Set the alert name/expiration and click "Create". Signals now route directly to this bot.
Required fields are bot_id, symbol, and trade_type (LONG/SHORT/buy/sell). You can add any extra fields, the AI receives the full raw JSON and uses all of it. Supported TradingView placeholders include {{ticker}}, {{close}}, {{open}}, {{high}}, {{low}}, {{volume}}, {{time}}, {{interval}}, plus strategy placeholders like {{strategy.order.action}}, {{strategy.order.price}}, and {{strategy.market_position}}. The builder also shows ready-made Python / cURL / Any HTTP examples, any language that can POST JSON works.
Signal FAQ (from the in-app guide):
- Do I need to set up authentication headers?: "No. Your bot_id in the payload is what routes signals. No Bearer token needed."
- Can I send signals from multiple strategies to one bot?: "Yes. Use the "source" field to tag them, and add instructions like "only trade signals from X"."
- What happens if the AI rejects a signal?: "It logs the rejection reason. You can see all accepted/rejected signals in the Activity tab."
- Can the bot manage exits for me?: "Yes. Set TP/SL in your signal payload, or let the AI decide exits based on your instructions."
On deploy you'll see: Signal agent "<name>" deployed. It will execute trades when matching signals arrive at your webhook endpoint. The bot appears immediately in your task list with status AWAITING SIGNAL (cyan), and its bot ID also appears under Account โ Signals. All signal settings (bot ID, filters, capital, risk, sizing mode, Risk %, Fixed Notional, or Full Capital, leverage, password, and trigger mode Signal only vs Signal + interval) remain editable later in the task's Strategy tab under Signal Bot Settings.
LLM Agent Deploy
Pick Deploy via LLM to hand the build/backtest/deploy loop to an external AI such as Claude. The panel explains the two-paste design: Claude often rejects system prompts that embed API keys, so the system prompt contains docs only (no secrets) and your authorization message carries the credentials. Key facts stated in the panel:
- Agents deployed this way start STOPPED: you turn strategies on yourself.
- Live order placement through a linked key requires you to explicitly ask and confirm.
The three steps:
- Linked API key (from Connect): click Mint linked API key. The key is tied to your account so anything the LLM creates or deploys lands on your Tasks dashboard. Linked keys bypass x402 pay-per-use billing. (Error if signed out: "Sign in to mint a linked API key.")
- Copy into Claude (two steps): Copy Claude system prompt (no secrets), then Copy my authorization message (which includes the minted key), and optionally Copy quick-start markdown. If you launched this from the builder's Step 3 drawer, the prompt is seeded with your current builder config so Claude can backtest and edit it.
- Everything the agent can call: the full list of agent-strategy actions and gateway catalog endpoints included in the prompt, with a link to the full x402 docs. The on-screen preview is truncated; the Copy button pastes the complete prompt.
The same flow is available per-task in the dashboard's Connect tab, so Claude can iterate on an already-deployed strategy.
How the agent interprets risk
When you launch, the builder compiles your choices into a strict instruction set the agent must follow (you can read the exact compiled text any time under the task's Strategy tab as Goal / AI Prompt). The most important definitions baked into it:
- Risk is the dollar amount you lose if your stop loss is hit. It is not margin and not position size. If your budget is $100 and risk per trade is 5%, the agent must size each trade so that a stop-out loses about $5: no more, and (per your profile's hard floor) not dramatically less.
- Position size is derived from the stop distance. The agent computes the position notional as risk dollars divided by the stop distance, then uses leverage as a tool to reach that size. A tighter stop therefore means a larger position at the same risk: that is by design, and it is why the compiled prompt tells the agent not to "shrink position size to be safe" or avoid leverage when the math calls for it.
- Risk range per profile. Each risk profile carries a target, a minimum, and a maximum risk per trade (Conservative 1.5โ10%, Moderate 6.25โ20%, Aggressive 12.5โ40%). The agent must risk at least half of your selected target on every trade it takes, and never below the profile's hard floor.
- Position size validation. Before every order the agent must verify that size ร stop-distance lands close to the intended risk dollars (within roughly ยฑ50%) and recalculate if not. The TRADE PLAN entry in the Thinking feed shows this math, SL distance, computed loss at SL, and profit at TP, so you can audit every entry.
- Max Total Exposure limits margin, not loss. It caps how much capital can be deployed across all positions combined.
- Multi-asset margin allocation. When your universe has 2+ symbols, the compiled rules force a roughly even margin split: with 2 symbols the maximum skew is about 66/33 (never 100/0); with 3, about 50/30/20; with 4+, no single symbol may exceed 50% of total exposure. One trade must never consume the whole margin budget while other symbols exist in the universe.
- Profit filter. If a setup cannot yield meaningful profit relative to your balance, the agent is instructed to skip it.
- Capital caps are hard limits. A fixed budget or percent-of-balance cap is recomputed (for percent mode) from live balance at the start of every iteration, and all risk percentages are computed from the cap, not your full account balance. Vault agents run against a Vault Locked Allocation that is frozen at setup time and never grows even if you add funds to the account.
Vault agents
Agents can also be deployed as the engine behind a strategy vault (the header reads Vault Agent Builder). They differ from standard agents in three ways: the market cap rises from 3 to 10 symbols, the check-interval options add 4H and 1D, and capital is the vault's locked allocation instead of a budget field. Everything else, pipeline, Thinking feed, dashboard, is identical.
How an iteration works
Every scheduled run follows the same pipeline, and each stage writes an entry to the Thinking feed:
- Prefetch: indicators, candlestick patterns, market regime, and support/resistance are computed for every symbol and timeframe your strategy needs, plus any attached custom indicators (computed every run, per symbol). If a data source fails, the agent says so instead of guessing.
- Monitor, if this agent owns open positions, a position-management AI reviews them first: hold, adjust TP/SL, or close per your exit rules. It only manages positions this agent opened. Positions opened manually or by other agents are shown to it as FOREIGN and are strictly read-only, "you cannot set TP/SL or close it, and attempts are rejected." An unprotected owned position (no TP/SL) is the highest-priority case: the monitor must protect it before doing anything else.
- Analyst: scans your universe against the entry rules and either proposes a trade plan (symbol, direction, size, entry, SL, TP, confidence) or explains why nothing qualifies. Deterministic compiled-rule checks run first; the AI works on top of them. If the analyst needs data it doesn't have, it can request it and be re-run with the results (shown as ANALYST +DATA).
- Executor: validates the plan against your risk settings (risk-based size verification, leverage caps, R:R minimums, balance checks) and places the order with TP/SL attached. Any validation failure is logged with the reason.
- Circuit breakers: a daily-loss limit or consecutive-loss limit defined in your strategy stops new entries automatically when breached (existing positions are still managed).
Models. Task iterations run on a cost-efficient model first and automatically escalate to a stronger model if the first attempt fails to produce a valid decision: you may see model names like gpt-oss-20b and deepseek in the logs; the escalation happens once per stage and is automatic. Chat (both the agent chat and per-task Chat tab) always uses the stronger tier.
Built-in data sources. Every agent is created with a full data-source bundle enabled (visible under Data Sources in the task's Strategy tab): live market data, the economic calendar, liquidation levels, CME gaps, long/short ratio, whale activity, and web search. On top of these, agents can pull funding rates, open interest, order-book data, Heikin Ashi candles, and any custom indicator you attach, plus anything served by your own Integrations & External Data inputs.
Trading permissions. Each task carries an explicit permission set, view positions, view balances, place market orders, place limit orders, set TP/SL, close positions, view order history, modify orders, shown as green/red dots in the Strategy tab. Market/limit permissions mirror the Allowed Entry Types you chose in the builder.
Reading the Thinking feed
The Thinking tab is the audit trail: if an agent didn't trade, the reason is here. Each card carries a colored badge, the iteration number and timestamp, and expands on click for full details and token usage. An Auto-scroll ON/OFF toggle tails the feed; the header shows the entry count (capped at the last 250, e.g. "Showing last 250 of N").
| Badge | What it means | What to look for |
|---|---|---|
| PREFETCH (cyan) | Market data gathered for this iteration. | "Fetched: N results", the timeframe, duration in ms, and badges for INDICATORS, PATTERNS, REGIME, S/R LEVELS, and +N AGENT REQ (extra data the analyst requested). Expanded: every fetch, per symbol and timeframe. |
| DATA PARSER (purple) | Pre-analysis market read. | Regime (trending/ranging), trend (bullish/bearish), volatility, detected patterns, and a summary. |
| MONITOR (amber) | The position-management AI reviewed open positions. | Its market analysis and what it decided to do with each owned position. |
| MONITOR DECISION (amber) | A concrete monitor outcome for one position. | Action (HOLD / CLOSE / adjust), symbol, current PnL and PnL %, any new stop or TP level, plus reason, market analysis, and risk notes. |
| MONITOR EXEC (orange) | The monitor's adjustment was executed (TP/SL moved, position closed). | Success/failure of each action. |
| MONITOR +DATA / ANALYST +DATA | The monitor or analyst asked for extra data and was re-run with it. | The enriched decision made with the additional data. |
| ANALYST (blue) | The market scan against your entry rules. | Either a proposed setup or a plain-language explanation of why nothing qualified this iteration. |
| ANALYST SKIP (gray) | The analyst was deliberately not called this iteration, to save credits. | The reason is quoted, e.g. "Max positions (N) reached - 0 slots available.", "All universe symbols blocked (...).", "Circuit breaker: daily loss limit reached - no new entries possible.", "Circuit breaker: consecutive loss limit reached - no new entries possible.", or "Critical market data missing - execution is blocked this iteration." |
| TRADE PLAN (green) | The executor produced/validated an entry. | Expanded: Decision, Confidence (x/10), Size (notional), Leverage, Entry, Stop Loss, Take Profit, SL distance %, computed Loss at SL and Profit at TP in dollars, the reasoning, and the data sources used. |
| BLOCKED (red) | A proposed entry was rejected by a validation gate. | The blocker name (e.g. a circuit breaker) and the reason, plus details like trust score, entry quality, expected value, and regime fit. |
| CONSCIENCE / SQUIRREL | Independent review gates over a proposed trade. | A verdict, APPROVE (green), CANCEL (red), or TWEAK (amber), the proposed trade, and the reasoning. An ADVISORY tag means the verdict informed but did not block. |
| STRATEGY VIOLATION / RANK GATE / RANK MISMATCH (red/orange) | A rule- or ranking-based check fired against a plan. | The specific rule and mismatch. |
| WATCHLIST / CFE SCAN (orange/pink) | Alpha Flow (fade) tasks only: the monitored-trader watchlist and cohort scan. | Trader tables (PnL, win rate, profit factor, streaks) and any fade signals. |
| AGENT | Any other agent-level event. | The verdict/reason text on the card. |
Example interpretations:
- PREFETCH โ MONITOR โ ANALYST ("no setup meets the entry criteria"): a healthy no-trade iteration. The agent looked, found nothing that satisfied your rules, and said so.
- PREFETCH โ ANALYST SKIP ("Max positions (2) reached - 0 slots available."): your position slots are full; the agent is managing what it holds, not scanning for more. Not stuck.
- MONITOR DECISION: HOLD, PnL +$3.20, the position manager reviewed an open trade and left it alone; its reason field explains why (e.g. trend intact, TP not reached).
- TRADE PLAN followed by BLOCKED: the analyst liked a setup but a validation gate rejected it; the blocker name (circuit breaker, risk rule, ranking gate) tells you exactly which rule fired.
- CONSCIENCE: TWEAK, the review gate approved the trade in principle but adjusted it (e.g. tightened size or levels) before execution; CANCEL means it vetoed the trade outright, and the reason is on the card.
- ANALYST SKIP ("Critical market data missing - execution is blocked this iteration."): a required data feed failed this run; the agent refused to trade blind and will try again next interval. Repeated occurrences alongside SYMBOLS_NOT_TRADEABLE mean the task's symbols need fixing, not the data.
The agent's page
Open any agent on My agents (/agents) to see its page (/agents/<id>).
Header
- On / Off: one switch, with Paper or Live beside it. Off pauses it; its settings and any open positions stay. The same switch is on its row in My agents.
- The account menu (Simulated money, Main account, or another connected account) switches it between paper and live. Going live asks you to confirm.
- Ask Sqrl AI opens a chat about this agent: its decisions, trades and rules.
- Edit opens it in Build an agent.
- More (โฆ): Duplicate (a second agent with the same rules and settings, off), Refresh, Stop for good (it leaves My agents and frees its slot; its history stays under Stopped) and Delete.
- A status label shows only when the switch cannot say it: Failed (with the reason), Stopped, or In a battle (controls are locked until the battle ends).
Overview
Total P&L after fees (realised and unrealised) with its curve, then open positions, closed trades, win rate, how long it has run, checks and AI tokens. Alerts say in plain words when it cannot trade, for example "BloFin rejected this account's API key", with the button that fixes it.
Tabs
| Tab | Contents |
|---|---|
| Thinking | Every check, decision first, with its reasons (see the Thinking feed above). |
| Strategy | Its full settings: rules, coins, money and risk, data it reads, what it may do, run settings. Edit strategy opens Build an agent (vault agents edit in place). |
| Trades | Its own trades drawn on the coin's chart (an arrow at each entry, a dot at each exit with the P&L after fees, a dashed line at anything still open; chips switch coins), then the P&L curve, open positions and closed trades. |
| Log | The raw activity feed: every action, API call and error, with input and output. |
| Findings | (Phones; on desktop it is the right-hand column.) Findings and trading actions in order. |
| Backtest | The backtester on this agent's current rules. |
| Connect | Mint a linked API key and copy the two-paste Claude prompt so an external AI can backtest and edit this agent. |
Managing agents
Status
| Status | Meaning |
|---|---|
| Running | Switched on and checking the market on its interval; My agents shows when the next check is. |
| Running, waiting for a signal | A signal agent, idle until a webhook arrives. |
| Paused | Switched off: kept, not checking; turn it on any time. |
| Stopped | Ended with Stop for good; listed under Stopped in the last 30 days. |
| Stopped by an error | It hit an error it cannot get past; the reason is on its row and its page. |
My agents marks a row that needs you (an error, a rejected API key, a check that is late) and says why in one line.
Actions
- On / Off from My agents or the agent's page. Turning it off does not close open positions: close them yourself or ask Sqrl AI if you want out.
- Duplicate, from More on its page: a second agent named "
(Copy)", off, with the same rules and settings. Blocked at the 3-paper-agent cap for paper agents. - Switch paper and live from the account menu on its page.
- Stop for good and Delete from More. Both leave open positions on the exchange as they are.
The Agent Chat (Command Terminal)
The agent chat is your always-on assistant (you name it during first-time setup, along with optional standing instructions like "Always be conservative with position sizing"). The header shows your Balance and BloFin connection status (Connected / Not Connected).
- Command Terminal: talk to the agent: "What's my current balance?", "Buy 0.1 BTC", "why didn't my bot enter?". Long requests show a "Thinking..." timer.
- Live Positions panel: a collapsible strip above the chat listing every open position (LONG/SHORT, leverage, account, entry/mark, PnL) and up to 5 Pending Orders. It defaults to collapsed (so large books don't bury replies) and remembers your last open/closed choice.
- Task proposals, when the AI wants to spin up an agent it never does so silently. A card appears: AI WANTS TO CREATE A TASK, with the title, goal, type, and interval, and Confirm / Reject buttons. Caps still apply: "Cannot create task: maximum 5 running tasks allowed. Stop or complete an existing task first." and "Cannot create paper task: limit is 3 active paper tasks. Stop one first."
- Order confirmations: any live order the chat wants to place shows a red CONFIRM ORDER card (side, symbol, order type, size, leverage, price, account selector) before anything is sent.
- Sidebar: New Chat, Agent Builder (disabled at "Task Limit (5/5)"), Strategy Library, Indicator Builder, your conversations, your Tasks (click any to open its dashboard; hover to pause/resume/restart), and Past Agents.
- [CREATE AI AGENT] modal (the + next to Tasks), a lighter agent creator with quick-start templates (Funding Rate Monitor, Liquidation Watcher, Whale Flow Tracker, Signal Executor), a name, a Trigger Source choice (Interval, "Runs on a schedule autonomously", or External Signal, "TradingView / Webhook / API"), and for signal agents the same full webhook setup (bot ID, webhook URL, alert-message template, TradingView step-by-step, Python/cURL examples, filters, capital and risk-per-trade, strategy context, optional interval fallback with a 10-minute minimum).
Strategies
Built-in strategies and shared agents live in Trader's Hub โ Strategies (/strategies). Each has Open in editor (this builder, filled in) and Clone (your own agent with the same rules, stopped until you turn it on and pick paper or live). See Strategies.
Paper trading rules
- Paper fills simulate against live market prices with real contract values: no fantasy fills; paper P&L tracks what live would have done.
- Minimum 25-minute run interval, enforced everywhere: at creation, when converting a live task to paper, in the edit modal, and again at runtime by the scheduler.
- Maximum 3 concurrent paper tasks, counted across pending, running, paused, and awaiting-signal tasks, and enforced at every entry point (builder, chat proposals, duplication, account switching).
- Paper balance is per agent, defaults to $10,000, and is set in the builder (Edit). Sizing and notional caps are computed from it plus realized paper PnL.
How paper trading works
A paper agent runs the same checks and rules as a live one; only the order is simulated. This is exactly what the simulation charges and assumes.
- Entries. A market order fills at the last traded price the check read, with no slippage. There is no order book in paper, so a limit order does not rest: it fills at once at that price.
- Stops and targets. They fill at the level, or at the open of a candle that opened beyond it, with no slippage. If one candle touched both, the stop counts first, unless your strategy states that take profit has priority.
- Closes decided at a check (an exit rule, a time exit, the AI closing): fill at the price that check read.
- Fees. 0.06% of the position value on every fill: the entry, the exit and each partial close.
- Funding. Charged at every funding settlement while the position is open, from BloFin's settled rates: position value at the settlement times the rate. A long pays a positive rate and a short receives it. It is booked into the position's P&L about 15 minutes after the settlement and listed in that check as Funding.
- Margin. Isolated, at the position's leverage, the mode a live agent opens positions in. The margin held for a position is its value divided by its leverage.
- Liquidation. A position is liquidated when the price reaches entry minus (for a short: plus) entry x (1 / leverage - 0.5%). At 10x that is 9.5% from the entry. A wick that reaches it before a stop closes the position there, and its whole margin is lost. The agent sizes entries so that a stop sits inside the liquidation price, so this bites on positions that have no stop.
- Balance. The starting balance plus the P&L (funding included) minus the fees of closed trades. Open positions hold their margin.
Against the backtest. Both read your rules on closed candles, count the stop before the target inside one candle, and charge funding at every settlement. The backtest fills a signal at the next candle's open, charges 0.05% per fill with no slippage, and runs the account as cross margin (it is liquidated only when the whole account's equity runs out). Paper fills at the price of the check after the candle closes, charges 0.06% with no slippage, and liquidates each position on its own margin. With a stop in place the two liquidation rules give the same trade; paper is the slightly more expensive of the two.
Not modelled. Order book depth and partial fills, resting limit orders, maker fees, and the exchange's liquidation fee tiers. While an agent is paused or stopped, its paper positions still close at their stop or target, but they are not charged funding and are not liquidated until it runs again.
Stops between checks
An agent looks at the market at each check, not continuously. This is what guards a position in between.
- Live. The stop and the target are orders on the exchange, attached to the entry order. After the fill the agent confirms the stop is really there and places it separately if it is not; if the exchange refuses it, the position is reported as unprotected. They trigger on the exchange whether or not the agent is checking.
- Live, what waits for the next check. Exit rules, time exits, trailing and breakeven moves of the stop (the agent replaces the exchange stop at a check), and new entries. A rule that reads a closed candle is acted on at the first check after that candle closes.
- Paper. Nothing watches a paper position between checks. At each check the agent walks every candle since the check before, in time order, against the stop, the target, the liquidation price and each partial target: 1-minute candles for a gap up to about a day, coarser candles for longer gaps. A wick that touched a level between checks closes the position at that level and at that candle's time. Nothing is missed; it is booked at the next check.
- Paper, agent paused or stopped. About once an hour a sweep walks the hourly candles and closes the position at a stop or target that was touched (the stop first if one candle touched both). A stopped agent's position that touched neither closes at the price when the agent stopped.
- Stalled check. Now and then a check starts and its worker is stopped before it decides. The Thinking tab then shows "Stalled: the last check did not finish; it runs again at ..." and lists that check as Did not finish. It changed nothing. The agent runs again at its next slot; a live position keeps its exchange orders, and the next paper check walks the whole gap.
- Stale data. A check that read a candle behind the clock for its timeframe, or prices more than five minutes old, is flagged Data was stale. A rules agent makes no decision on a coin whose candle is behind and reads it again at the next check.
Verifying a decision. Each check opens to the timeframe and candle it decided on ("Decided on the 4H candle that closed 12:00"). For agents whose rules compile it lists every condition with the values on that candle and whether it held, per coin: the same numbers to compare with your chart and your backtest. The list of every series the check read (which can include 1D or 4H context) sits further down and is not the decision's timeframe.
Limits, safety, and error messages
What agents can never do:
- Trade symbols not listed on BloFin. Unlisted symbols are detected during prefetch and named in the data:
SYMBOLS_NOT_TRADEABLE: <symbols>, not listed on BloFin. They cannot be priced or traded (paper or live). The task configuration needs real instrument symbols.The Log tab shows the hint "These symbols are not listed on BloFin, edit the task and set real instruments (e.g. BTC-USDT)." If the entire universe is non-tradeable, the task cannot run until you edit the symbols, it will not loop forever pretending. - Manage positions they don't own. Manual trades and other agents' positions appear marked FOREIGN and read-only; the exchange remains the source of truth for exposure, but close/TP/SL attempts on foreign positions are rejected on ownership.
- Exceed your configured risk %, leverage cap, exposure cap, or position slots. The executor validates every plan; rejections are logged with the exact rule that fired.
- Trade through a breached circuit breaker. When your strategy defines a max daily loss or a max consecutive-loss count, breaches block new entries: you'll see "Circuit breaker: daily loss limit reached - no new entries possible." or "Circuit breaker: consecutive loss limit reached - no new entries possible." in the Thinking feed. Position management continues.
- Enter when critical market data failed to load. Execution is blocked for that iteration and the feed shows "Critical market data missing - execution is blocked this iteration." (or the specific missing-data reason).
Task limits and their exact messages:
| Limit | Message |
|---|---|
| 5 active tasks (builder) | "Maximum task limit reached (5/5). Stop or complete an existing task before creating a new one." |
| 5 active tasks (chat proposal) | "Cannot create task: maximum 5 running tasks allowed. Stop or complete an existing task first." |
| 3 paper tasks (builder) | "Paper task limit reached (3/3). Stop or delete an existing paper strategy before creating another." |
| 3 paper tasks (chat proposal) | "Cannot create paper task: limit is 3 active paper tasks. Stop one first." |
| Budget over balance (builder) | "Exceeds available balance ($X free)" / "Budget ($X USDT) exceeds your available balance ($Y USDT). Go back to Strategy and reduce the amount." |
| Launch confirmation could not verify | "Strategy may have been created but could not confirm. Please check My Strategies." |
Troubleshooting
"My agent never trades." Open the Thinking tab and read the most recent ANALYST or ANALYST SKIP entries, the reason is always stated. Common causes: entry conditions genuinely not met (healthy), all position slots full ("Max positions (N) reached - 0 slots available."), every universe symbol blocked by an existing position, an active circuit breaker, or missing critical data. If you see SYMBOLS_NOT_TRADEABLE, your universe contains symbols that don't exist on BloFin, edit the task and fix them.
"My agent entered smaller/larger than I expected." Expand the TRADE PLAN entry: it shows the stop distance and the computed loss-at-SL. Size follows from risk รท stop distance, so a wide stop shrinks the position and a tight stop grows it. Check your risk % and profile floor in the Strategy tab.
"The countdown says Running... but nothing appears." The iteration is executing; entries stream into Thinking as each stage finishes. If Auto-scroll is OFF you may simply be scrolled up.
"I switched a task to Paper and my interval changed." Expected: converting to paper rewrites the stored interval up to the 25-minute floor so the schedule and the config agree.
"A position shows in the dashboard but the agent won't touch it." It is almost certainly FOREIGN: opened manually or by another task. The agent can see it (so it knows the account's exposure) but is forbidden from closing it or setting its TP/SL.
"The chat said my request timed out." You'll see "That request did not come back in time, give it another shot.", just resend; nothing was executed without a confirmation card.
Finally: agents run 24/7 even when you're offline. Check the Tasks panel regularly, start in paper mode, and remember that pausing or stopping an agent does not close its open positions.
Start free
Central Command is free when you connect your BloFin account in one click, or open one through our referral link, for as long as you trade through us. Or take the 10-day free trial: no card, no wallet, nothing renews.
- Create an account at https://centralcommand.io/signup.
- Choose Free with BloFin and connect BloFin in one click (no BloFin account yet? open one at https://partner.blofin.com/d/centralcommand), or choose the 10-day free trial.
- Trade from the terminal at https://centralcommand.io/dataterminal, or describe a strategy in plain English at https://centralcommand.io/agents/new: backtest it, run it on paper, and go live when you choose.
BloFin's normal trading fees still apply. Central Command trades BloFin perpetual futures only.