Skip to main content
Glama

Server Details

Claude, ChatGPT, Grok or Perplexity: draw on live charts, backtest and trade on your own broker

Ownership verified
Status
Healthy
Uptime
100.0% over the last 24 hours
OAuth
Works in Glama
Last Tested
Transport
Streamable HTTP · MCP 2025-11-25
URL
ChatGPT
–
Claude
–

TDQS

A3.9/5.0

Scored across 45 tools

Disambiguation4/5

Most tools are cleanly separated by resource and action, and the riskiest overlaps are explicitly disambiguated: execute_trade vs suggest_order vs create_conditional_order, get_chart vs get_ohlc vs get_quote, and cancel/delete/update conditional orders. The large number of lifecycle variants still requires careful reading of long descriptions, so boundaries are strong but not effortless.

Naming Consistency5/5

Tool names consistently use snake_case verb_noun patterns such as get_ohlc, create_conditional_order, cancel_broker_order, modify_position, and set_auto_execution_config. Minor special cases like suggest_order and connect_ctrader still follow the same readable convention.

Tool Count2/5

At 45 tools, the server is well beyond the reasonable 3-15 range and even beyond the 16-25 borderline band, creating significant selection overhead. The scope is broad, but many tools are lifecycle/admin variants that could be consolidated or exposed more selectively.

Completeness4/5

Core workflows are well covered: broker account connection and testing, market data, charting, order execution, conditional orders, positions, suggested orders, auto-execution, backtesting, results, account groups, and plan limits. Minor gaps remain, such as risk limits being read-only via MCP, no bulk close/cancel operations, and tastytrade connection handled outside the server.

Publisher details

Operator
Not applicable
Operator website
https://traderwai.com
Vendor relationship
First-party
Privacy policy
Not provided
Trust center
Not available
Restrictions
Free plan available (sign in with Google). MetaTrader 4/5 requires the Trader plan ($29/month). Trading requires connecting your own broker account (cTrader, TradeLocker, Match-Trader, DXtrade, Capital.com, Binance, Bybit or MetaTrader). Orders need the user's approval unless they enable auto-execution per symbol. Binance and Bybit are not available to US residents.

Available Tools

45 tools
backtest_strategyBacktest StrategyA
Read-only
Inspect

Backtest a rule-based strategy on TraderWAI historical 1-minute data and get every trade plus a summary (win rate, total R, drawdown). It uses the SAME rules and engine as create_conditional_order, so a rule that looks good can be turned into a live conditional order. Pure calculation on the server, no AI: use it whenever the user asks to backtest or "how would this have worked" — do not compute backtests yourself from get_ohlc candles. Levels can be daily references so the rule works every day: {"ref":"session_high","session":"asia"} (asia 00:00-07:00, london 07:00-16:00, new_york 13:00-21:00 UTC), {"ref":"range_high","start":"00:00","end":"06:00"}, {"ref":"prev_day_low"}; the rule is armed each day once its levels are known. Example — "buy EUR/USD when it breaks the Asian high": symbol EUR_USD, conditions [{"type":"close_above","timeframe":"M15","level":{"ref":"session_high","session":"asia"}},{"type":"time_window","start":"07:00","end":"12:00"}], trade {"side":"buy","stop":{"type":"level","ref":{"ref":"session_low","session":"asia"}},"target":{"type":"rr","value":2},"closeAt":"20:00"}. Example — "sell gold when it sweeps the Asian high": conditions [{"type":"sweep_above","timeframe":"M15","level":{"ref":"session_high","session":"asia"},"maxCandles":2}], trade {"side":"sell","stop":{"type":"wick","bufferPips":20},"target":{"type":"rr","value":2}}. Indicators and trend filters: any level can be {"ref":"indicator","indicator":"sma|ema|rsi|atr|highest|lowest","timeframe":"D1","period":50}, {"ref":"price"}, {"ref":"day_open"} or {"ref":"day_high","daysAgo":2}; combine them with compare (e.g. {"type":"compare","left":{"ref":"price"},"op":"above","right":{"ref":"indicator","indicator":"ema","timeframe":"D1","period":50}}) and candle_direction (e.g. yesterday bullish). Indicators use closed candles only. Example — "buy gold on the first retest of a bullish M15 FVG in London": conditions [{"type":"fvg_retest","timeframe":"M15","direction":"bullish","maxCandles":20},{"type":"time_window","start":"07:00","end":"12:00"}], trade {"side":"buy","stop":{"type":"wick","bufferPips":10},"target":{"type":"rr","value":2}} (the wick stop goes beyond the gap's far edge). Limit entries and time exits: trade.entry {"type":"limit","at":{"type":"fvg","point":"midpoint"},"expiryMinutes":60} waits for price to come back to the limit (unfilled signals are reported), trade.maxMinutes closes after N minutes, and the target can be "none" with a time exit. Example — "when a bearish M15 FVG forms on gold, sell limit at its midpoint, stop above the gap, 2R or close after 2 hours": conditions [{"type":"fvg_formed","timeframe":"M15","direction":"bearish"}], trade {"side":"sell","entry":{"type":"limit","at":{"type":"fvg","point":"midpoint"},"expiryMinutes":60},"stop":{"type":"wick","bufferPips":20},"target":{"type":"rr","value":2},"maxMinutes":120}. Example — "buy the break and retest of today's 08:00-10:00 UTC range high": conditions [{"type":"retest","timeframe":"M15","direction":"up","level":{"ref":"range_high","start":"08:00","end":"10:00"},"maxCandles":10}], trade {"side":"buy","stop":{"type":"wick","bufferPips":5},"target":{"type":"rr","value":2}} (the wick stop goes below the retest candle; same rule and result as a live conditional). A limit entry at a level can be shifted with trade.entry.at.pips (positive above, negative below the level). COSTS: costs {"spreadPips","slippagePips","commissionPerLot" (USD, gold/silver/USD forex) or "commissionPips"} are charged on buys AND sells and the result shows R gross and net (spreadPips alone works the same). Always add realistic costs for strategies with small stops (M1/M5). RESULT DETAIL: every trade has its stop size in pips, MFE and MAE in R (how far it went for / against before closing), and the summary breaks the result down by month, by halves of the period, by weekday and entry hour, with profit factor and how many trades reached +1R…+4R: use it to choose the target and stop instead of running one backtest per variant; allTrades:true lists every trade (up to 300). STOP AT THE GAP: trade.stop {"type":"fvg","edge":"far","bufferPips":30} puts the stop beyond the far edge of the fvg_retest/fvg_formed gap, and "edge":"pattern" beyond the high/low of the three candles that form it; with a limit entry at the far edge use "pattern" (a far-edge stop would sit right next to the entry). trade.minStopPips/maxStopPips skip signals with a stop outside that size (counted). MANAGEMENT: trade.management {"breakevenAtR":1,"partials":[{"atR":1,"closePct":50}]} moves the stop to entry at +1R and closes half at +1R. LOCAL MARKET TIME: time_window, range_high/range_low and trade.closeAt accept "timezone" (e.g. Europe/London, America/New_York), so a London 08:00-11:00 window is measured at the same market hour in summer and winter. MARKET STRUCTURE: swings, BOS/CHoCH, order blocks, flip zones (broken base), Fibonacci of the last impulse, FVGs and equal highs/lows are detected candle by candle without look-ahead (see the condition types). Example — "sell gold on the first retest of a bearish order block + Fibonacci 0.5-0.618 + broken base overlap on M15, rejection candle on M5, bearish day, stop above the zone, target the last swing low, exit if no new low in 6 M5 candles": conditions [{"type":"bos","timeframe":"M15","direction":"bearish"},{"type":"confluence","direction":"bearish","zones":[{"zone":"order_block","timeframe":"M15"},{"zone":"flip_zone","timeframe":"M15"},{"zone":"fib_zone","timeframe":"M15","from":0.5,"to":0.618}],"min":2,"trigger":"rejection","confirmTimeframe":"M5","maxTouches":3},{"type":"compare","left":{"ref":"price"},"op":"below","right":{"ref":"day_open"}}], trade {"side":"sell","stop":{"type":"zone","edge":"far","bufferPips":20},"target":{"type":"level","ref":{"ref":"swing_low","timeframe":"M15"}},"management":{"exitIfNoProgress":{"candles":6,"timeframe":"M5"}}}. Results are broken down by zone / combination. Selective setups give few trades: use long periods, and sensitivity:true reruns the rule with neighbouring parameters (swing strength ±1, target ±0.5R) to see if the result holds. TREND OR RANGE: structure_trend direction "range" (neither higher nor lower highs/lows), and the indicators adx (ADX(14) H1 below 20 = no trend), range_width (highest − lowest of N candles), bb_width (Bollinger Band width) and chop (Choppiness Index, above ~61.8 = sideways). VALUES WITH MATH in compare: "times" and "plus" on any reference, e.g. price below EMA50 − 1 × ATR(14): {"type":"compare","left":{"ref":"price"},"op":"below","right":{"ref":"indicator","indicator":"ema","timeframe":"H1","period":50,"plus":{"ref":"indicator","indicator":"atr","timeframe":"H1","period":14,"times":-1}}}; ATR(14) H1 above 1.5 × ATR(50) H1: right {"ref":"indicator","indicator":"atr","timeframe":"H1","period":50,"times":1.5}. NOT / OR: {"type":"not","condition":{…}} and {"type":"any","conditions":[{…},{…}]} (filters only). Up to 8 conditions. EXITS AND DAILY BRAKE: trade.exitWhen closes on a condition (e.g. the opposite EMA cross or a structure change); trade.maxLossesPerDay / trade.stopAfterLossR stop trading for the day after N losses or −X R. One trade at a time per strategy (positions never pile up). PORTFOLIO: strategies [2-5 × {label, symbol?, conditions, trade}] backtests them together (combined curve, months, drawdown, correlation, overlap). GROUPS (portfolio): trade.group names a strategy's group; trade.skipIfGroupTradedToday skips days a group already traded and trade.onlyAfterGroupResult {group, result: loss|win} only trades after that group's last trade of the day lost (or won), e.g. a "second chance" after the Asia strategy lost. Same options as conditional orders (action.group / skipIfGroupTradedToday / onlyAfterGroupResult). PROP FIRM: propFirm {balance, riskPct, maxLossPct, maxLossType static|trailing, maxDailyLossPct, dayResetUtc, profitTargetPct} says whether the challenge account would have survived, when it would break and with what margin. TRAILING: trade.trailing true moves the stop behind price at the initial stop distance (same rule as trailing: true on live orders). Not supported: other chart patterns (head and shoulders, triangles…), news, ATR or candle trailing stops. History available: 2 years of 1-minute candles (since 31 Oct 2024) on forex, gold, silver, crypto, indices and oil. Plan limits: Free = last 14 days and 5 backtests per day; Plus = 6 months and 20 per day; Trader = 1 year and 50 per day; Max = all history, unlimited. One backtest covers at most 1 year (2 years on Max) and up to 2000 trades: split longer periods. Works with the market closed (weekends) and without a broker account.

Inputs: symbol (required), to, days, from, +8 more.

cancel_broker_orderCancel Pending OrderA
Destructive
Inspect

Cancel a pending order (limit/stop order waiting to be filled) on a broker account. The order will be removed from the broker and will not be filled. This does not affect any existing open positions.

Inputs: orderId (required), brokerAccountId (required).

cancel_conditional_orderCancel Conditional OrderA
Destructive
Inspect

Cancel an active conditional order. The order will stop being monitored by the AI. This action is irreversible — the order status changes to "cancelled" and cannot be reactivated. Use update_conditional_order with enabled=false to temporarily pause monitoring instead.

Inputs: orderId (required).

cancel_suggested_orderCancel Order to AuthorizeA
Destructive
Inspect

Withdraw a PENDING order to authorize (suggested order) you proposed, so it can no longer be authorized or auto-executed. Only pending orders can be cancelled.

Inputs: id (required).

close_positionClose PositionA
Destructive
Inspect

Close an open position on a broker account. Can close the full position or a partial amount. Closing is immediate at market price. WARNING: This executes a real trade on the broker — closing on a "live" account will result in actual realized P&L. Closing or modifying positions does not consume daily credits.

Inputs: positionId (required), brokerAccountId (required), qty.

connect_ctraderConnect cTrader AccountAInspect

Generate an authorization URL to connect a cTrader broker account. The user must open the URL in their browser and authorize access. Once authorized, the cTrader account is automatically saved to TraderWAI. After connecting, use test_broker_account to verify it works.

Inputs: label, environment.

create_broker_accountCreate Broker AccountAInspect

Connect a new broker account to TraderWAI (TradeLocker, Match-Trader, MetaTrader, DXtrade, Capital.com, Binance spot or Bybit USDT perpetuals). MetaTrader is a premium broker, only on the Trader and Max plans, where any of the plan's accounts can be MetaTrader (Trader 5 accounts, Max 10). Switching to another MetaTrader account is free and unlimited: delete the old one and add the new one, or change the account number with update_broker_account. Confirm the account number, master password and server with the user before adding it. For cTrader accounts, use the connect_ctrader tool instead (it uses OAuth). tastytrade (US futures, beta) cannot be added with this tool either: it is connected with the tastytrade login (OAuth) from the TraderWAI website (Settings → Broker accounts → Connect tastytrade); send the user there. The credentials are encrypted at rest and used only to authenticate with the broker for trade execution. After creating, use test_broker_account to verify the connection works. Available on all plans (FREE: 1, PLUS: 3, TRADER: 5, MAX: 10).

Inputs: email (required), label (required), password (required), environment (required), +4 more.

create_conditional_orderCreate Conditional OrderAInspect

Create a rule-based conditional order that TraderWAI monitors every minute and fires ONCE when all conditions are met (pure algorithmic checks on price, candle closes and time — no AI involved). It can ENTER a trade or EXIT / manage an open position (close it, move its stop to break-even…), see EXITS below. Do NOT use this for immediate trades — use execute_trade for "buy now". Examples: "sell if an H1 candle closes below 1.0820", "buy if price crosses above 2350 between 08:00–16:00 UTC on weekdays", "sell gold if it sweeps the Asian session high at 4182 and an M15 candle closes back below" (sweep_above 4182, M15, then a market sell with the stop above the wick). "buy EUR_USD when price closes above the H1 EMA 50, only if price is above the D1 EMA 200" (close_above with level {"ref":"indicator","indicator":"ema","timeframe":"H1","period":50} + compare price above D1 EMA 200). "buy EUR_USD on the break and retest of today's 08:00-10:00 UTC range high" (retest {"level":{"ref":"range_high","start":"08:00","end":"10:00"},"direction":"up","timeframe":"M15","maxCandles":10}, market buy with stopAt {"type":"signal_extreme"} below the retest wick). "after an M15 close above today's 08:00-10:00 range high, leave a BUY LIMIT at that range high" (close_above with that level and action {"type":"limit","limitAt":{"type":"level","ref":{"ref":"range_high","start":"08:00","end":"10:00"}},"expiryMinutes":60}: the level is computed when the rule fires, optional limitAt.pips moves it up (+) or down (−)). PRICES: the rule is evaluated on the BROKER'S OWN PRICE of the account it trades (the first account in brokerConfigs; for exits, the position's account; for "suggest" without accounts, the account set for auto-execution of the symbol): real broker candles on MetaTrader and cTrader, the broker's live price on the other platforms. Each broker quotes slightly differently, so set levels from get_quote on that account, not from get_ohlc / get_chart (TraderWAI feed). If the broker does not answer, the rule falls back to the TraderWAI feed; get_conditional_order shows the source (lastPriceSource). Levels can be references (session high/low, previous day, indicators) that update every minute, and the same rule can be tested first with backtest_strategy. If your analysis needs judgement (patterns, divergences), translate it into concrete levels first. Action "execute" trades on the broker; "suggest" creates a suggested order for the user to confirm. IMPORTANT — a conditional order is NOT a limit order: TraderWAI waits for the conditions and then enters. How it enters is action.type: "market" (default) enters immediately at the broker price when the rule fires — for breakouts with an extra condition, or on platforms without pending STOP orders (Match-Trader, Binance). For a plain breakout on TradeLocker, cTrader or MetaTrader prefer execute_trade with executionType "STOP" (it waits at the broker). "limit" adds a second wait: after the rule fires it leaves a pending limit order at the broker, which only fills on a pullback to limitPrice (a retest entry). If the user just wants to wait for a price level with a pending order and no other condition, that is a plain LIMIT order with execute_trade, not a conditional order. Stop loss is required for entries. EXITS — WATCH AN OPEN POSITION: the same rules can MANAGE a position that is already open. Set action.type "close_position" (close it, or part of it with qty) or "modify_position" (move the stop loss to a price or to "break_even", or change the take profit), with brokerAccountId and positionId from get_positions. TraderWAI checks the rule every minute, around the clock, even when the user and you are away — so when the user asks you to "watch my trade and close it if…", create an exit rule instead of promising to check later yourself. Translate the idea into levels: e.g. "close my gold buy if there is a CHoCH on M15" → close_below the last higher low on M15 (take it from get_ohlc); "move the stop to break-even when it reaches 1R" → crosses_above entry + 1R with modify_position stopLoss "break_even". The position must be open when you create the rule; if it closes earlier (stop, target or manually) the rule is cancelled automatically. Exits do not use daily executions. Use the broker stop loss for instant price exits; exit rules are for structure, candle closes and time (checked once a minute on the broker's price). Entry orders last at most 24 hours from creation (30 days with action.repeat, a daily strategy that re-arms after each trade) and exit rules at most 7 days, then expire. Active orders (entries and exits): Free 2, Plus 5, Trader 10, Max unlimited (if the plan changes, the excess is cancelled).

Inputs: action (required), symbol (required), conditions (required), title, +1 more.

delete_account_groupDelete Account GroupA
Destructive
Inspect

Delete an account group by name (the broker accounts themselves are not affected).

Inputs: name (required).

delete_auto_execution_configDelete Auto-execution Config (per symbol)A
Destructive
Inspect

Remove the per-symbol auto-execution configuration for a symbol. After this, suggested orders for that symbol are no longer auto-executed (they stay as suggestions for the user to review). To keep the config but pause it, use set_auto_execution_config with enabled=false instead.

Inputs: symbol (required).

delete_broker_accountDelete Broker AccountA
Destructive
Inspect

Permanently delete a broker account and all associated trade execution history. This cannot be undone. Any conditional orders using this account will need their broker configs updated. Consider setting isActive=false via update_broker_account instead. MetaTrader: deleting it frees its place in the plan, so another MetaTrader account can be added right away. To use a new password, server or account number, update_broker_account does it without deleting the account.

Inputs: accountId (required).

delete_conditional_orderDelete Conditional OrderA
Destructive
Inspect

Delete a conditional order. If the order is still active, it will be automatically cancelled instead of deleted (active orders cannot be permanently deleted). Only cancelled, expired, executed, or failed orders are permanently removed. Use cancel_conditional_order if you just want to stop monitoring without deleting.

Inputs: orderId (required).

draw_chartDraw marks on a chartA
Read-only
Inspect

YOU CAN DRAW ON CHARTS WITH THIS TOOL. draw_chart renders YOUR technical analysis on a real TraderWAI candlestick chart and returns the image, so the user sees it right in the chat. Use it EVERY time you want to show something visually: support/resistance levels, supply/demand zones, trendlines and channels, candle markers (sweeps, rejections, signals), labels (HH, HL, BOS, CHoCH…), Fibonacci, chart patterns, measurements, the expected path and the trade plan (entry, stop loss, targets with R). You decide what to mark; TraderWAI draws it with the exact candles and prices. NEVER create chart images yourself (code, matplotlib, image generation) and NEVER edit or redraw TraderWAI chart images (they are © TraderWAI): call draw_chart instead. HOW: 1) get_chart to see the market; 2) get_ohlc for the candle open times (UTC) and exact prices; 3) draw_chart with up to 30 marks. Identify candles by their OPEN TIME in UTC, ISO format (never by position: new candles arrive every minute), and anchor a price to a candle with "high"/"low" when the level is that candle's extreme. Use "until" (the last candle you analysed) to freeze the chart at that moment. Invalid marks are skipped and explained in the reply: fix them and call again. Call it again whenever you want to change or add marks. Example: {"symbol":"XAU_USD","timeframe":"H1","marks":[{"type":"zone","high":4160,"low":4152,"from":"2026-10-15T09:00:00Z","extend":true,"label":"Supply","tone":"bearish"},{"type":"hline","price":"low","from":"2026-10-15T05:00:00Z","label":"Support","tone":"bullish"},{"type":"position","side":"short","entry":4148,"stop_loss":4162,"take_profit":[4130,4110]}]}. Free plan: 20 marked charts per day (looking at charts with get_chart is always unlimited); Plus, Trader and Max: unlimited.

Inputs: marks (required), symbol (required), timeframe (required), until.

execute_tradeExecute TradeA
Destructive
Inspect

Place an order on a connected broker account NOW: market, or a pending LIMIT or STOP order at the broker. Use this when the user wants to trade RIGHT NOW — e.g. "buy EUR/USD", "sell Gold at 2450". This sends the order to the broker instantly. Plain breakout entries ("sell if price breaks below X", "buy above Y") are pending STOP orders: on TradeLocker, cTrader, MetaTrader, Capital.com, eToro, Bybit, Toobit, Kraken and tastytrade send executionType "STOP" (they wait at the broker and trigger instantly at its price). Use create_conditional_order only for what the broker cannot do: candle closes, liquidity sweeps, time windows, several conditions, or platforms without STOP orders (Match-Trader, Binance). Supports LONG (buy) and SHORT (sell) with stop loss and take profit. You can specify quantity in lots directly, or use percentage-based sizing (sizingMode="percentage") to risk a % of the account balance. IMPORTANT: the percentage is the % of the balance LOST if the stop loss is hit, NOT the share of the balance used to open the trade (1 = lose 1% of the balance at the stop). Typical values are 0.25-2%. Up to 100% is allowed, but above 10% the order is rejected until the user confirms it: explain the risk in plain words (in money if you know the balance, and the total if several orders share it, e.g. 10 ladder orders × 1% = 10% of the account) and only if they confirm, repeat the call with confirmHighRisk: true. Use get_broker_accounts to find available accounts and their IDs. Before sending, ALWAYS get the broker's current price with get_quote and compute levels from it (never from get_ohlc): a BUY LIMIT must be below the ask and a SELL LIMIT above the bid; a BUY STOP above the ask and a SELL STOP below the bid. The stop loss of a buy goes below the entry and of a sell above it. If the user's level is on the wrong side, do not send it: ask. Each execution consumes 1 daily credit.

Inputs: symbol (required), stopLoss (required), orderType (required), takeProfit (required), +8 more.

execute_trade_multiExecute Trade on Several AccountsA
Destructive
Inspect

Place the SAME immediate order on several broker accounts at once (multi-account: Plus, Trader and Max): either an account group (accountGroup, see get_account_groups) or a list of brokerAccountIds. Groups can define the size per account (e.g. 0.5% risk on a prop firm account and 1 lot on a personal one); otherwise the quantity/sizing of this call is used for every account. Each account is checked against its own risk limits and uses 1 daily execution. For a single account use execute_trade.

Inputs: symbol (required), stopLoss (required), orderType (required), takeProfit (required), +8 more.

get_account_groupsGet Account GroupsA
Read-only
Inspect

List the user's broker account groups (for execute_trade_multi), with each member account and its optional per-account sizing.

Inputs: no named parameters.

get_account_infoGet Account InfoA
Read-only
Inspect

Get the user's TraderWAI plan, today's order executions used/remaining, and plan limits (broker accounts, conditional orders, auto-execution, multi-account, risk limits, results history) with current usage, plus which plan to upgrade to. Check it before a multi-step task that could hit a limit.

Inputs: no named parameters.

get_auto_execution_configGet Auto-execution ConfigA
Read-only
Inspect

List the user's per-symbol auto-execution configuration plus the global on/off switch. When auto-execution is ENABLED for a symbol, TraderWAI automatically executes suggested orders (created via suggest_order) for that symbol on the configured broker account(s) — no manual review needed. Read-only. Returns { globalEnabled, configs: [{ symbol, enabled, brokerConfigs, maxPerDay, skipIfOpenPosition }] }.

Inputs: no named parameters.

get_broker_accountsGet Broker AccountsA
Read-only
Inspect

List all broker accounts connected by the user. Each account represents a connection to a trading broker (e.g. TradeLocker). Returns: account ID, label, environment (demo/live), broker type, server, active status, last connection time, any connection errors, and capabilities: what that trading platform supports (order types, partial close, closed-trade history, broker-reported P/L, commissions…; true = supported, false = not available, "planned" = coming). Credentials (email/password) are never returned. Use test_broker_account to verify a connection.

Inputs: no named parameters.

get_broker_account_stateGet Broker Account StateA
Read-only
Inspect

Get the current trading state of a broker account including real-time balance, equity, free margin, used margin, leverage, and currency. This connects to the broker in real-time — it may take a few seconds. Use this to check available margin before placing trades or to monitor account health.

Inputs: accountId (required).

get_chartGet ChartA
Read-only
Inspect

Get a pre-rendered candlestick chart image for a trading symbol and timeframe (candles, day and session separators and the last price; no indicators are drawn). USE IT TO SEE THE PICTURE: market structure (higher highs / lower lows), trend and channels, ranges and compressions, chart patterns (flags, wedges, triangles, head and shoulders, double tops), liquidity sweeps, fair value gaps, and price versus the indicators. Patterns and context are much easier to spot in the image than in a list of numbers, so start an analysis with the chart (higher timeframe first, then the entry timeframe). Do NOT read exact prices from the image: take entry, stop loss and take profit levels from get_ohlc, and the broker's live price from get_quote. Each image is heavy: use it for context, not on every message. Charts are updated every minute from the TraderWAI market feed, which can differ slightly from the user's broker (use get_quote for the broker's exact bid/ask). The image is © TraderWAI: do not edit or redraw it, and do not generate chart images yourself. To DRAW levels, zones, trendlines, patterns or a trade setup on the chart for the user, call draw_chart (you decide the marks, TraderWAI draws them on the real candles).

Inputs: symbol (required), timeframe (required).

get_chart_marksRead the marks on the live chartA
Read-only
Inspect

Reads the marks YOU left on the user's live chart in TraderWAI (every draw_chart call saves its marks there, per symbol, over the real-time price). Use it to continue an earlier analysis: read the marks of a symbol, adjust them and call draw_chart again with the full updated set (each draw_chart replaces the previous marks of that symbol). Without a symbol it lists the symbols that have marks. Read-only.

Inputs: symbol.

get_conditional_orderGet Conditional Order DetailA
Read-only
Inspect

Get a conditional order: its rule-based conditions, action (execute/suggest, side, SL/TP, broker configs), status, the latest evaluation state (ruleState.lastResults shows which conditions are currently met; ruleState.lastPriceSource: the decision is always taken on the TraderWAI feed candles, the same ones backtest_strategy uses; "broker_candles" / "broker_quote" = the broker of brokerAccountId provides the live price and a stable offset = broker − feed, used to convert fixed levels to the feed scale and gaps/stops/prices to the broker scale for execution; "feed" = no broker price, with the reason), ruleState.evalLog (the last 30 evaluations: time, broker price, feed price, offset and each condition; for an unmet FVG, "nearest" shows the latest gap, the edge to touch and how far price has reached since) and its recent checks/trigger results. Use this to understand why an order has or hasn't fired yet. Orders with engine "ai" are legacy free-text orders that were retired.

Inputs: orderId (required).

get_conditional_ordersGet Conditional OrdersA
Read-only
Inspect

List the user's conditional orders. Conditional orders are rule-based (no AI): TraderWAI checks price, candle-close and time conditions every minute and fires the action once when all are met. Status can be: active (monitoring), executed (fired), expired, cancelled, or failed. Returns paginated results with the conditions summary, action and status.

Inputs: limit, offset, status.

get_economic_calendarEconomic calendarAInspect

Upcoming economic news events (NFP, CPI, central banks…) with their impact level (High/Medium/Low), time (UTC), forecast and previous value. Filter by symbol (e.g. XAU_USD shows USD events) or currency, and by minimum impact. Use it to warn the user before high-impact news that affects an open position or a plan, and to time entries. Covers the current week ahead (and the recently accumulated past). Read-only; source: ForexFactory calendar feed.

Inputs: days, impact, symbol, currency.

get_market_structureGet market structureA
Read-only
Inspect

Market structure of a symbol at a moment, as TraderWAI's rule engine sees it (closed candles only, no look-ahead): confirmed swings, the last break of structure (BOS / CHoCH), trend by structure (higher highs and lows / lower highs and lows), the last impulse with its Fibonacci levels and the live zones (order blocks, flip zones = broken bases, Fibonacci 0.5-0.618 zone, fair value gaps, equal highs/lows) with how many times price has visited each. Use it to explain a past date ("why did the backtest enter here?"), to check that the detection matches the user's chart before trusting a structure backtest, or to pick concrete levels for an analysis. at = an ISO time (default now). Pure calculation on TraderWAI's market feed, no AI.

Inputs: symbol (required), timeframe (required), at, strength, +1 more.

get_ohlcGet OHLC DataA
Read-only
Inspect

Get raw OHLC (Open, High, Low, Close) candlestick data as numerical arrays for a trading symbol and timeframe. Returns exact price values — use it for anything that needs precise numbers: exact support/resistance levels, indicator calculations, swing highs/lows, and entry, stop loss and take profit placement. For visual reading (structure, trend, chart patterns, liquidity sweeps) look at get_chart first: patterns are easier to see in the image, then confirm the exact levels here. Data comes from the TraderWAI market feed, updated every minute: it is the same for every user and can differ slightly from the prices of the user's broker. For the exact current price at a broker (bid/ask), use get_quote.

Inputs: symbol (required), timeframe (required), to, from, +1 more.

get_positionsGet Positions & Pending OrdersA
Read-only
Inspect

Get all open positions and pending orders across all of the user's connected broker accounts. Positions are live trades currently in the market. Pending orders are limit/stop orders waiting to be filled. Each position includes: symbol, side (buy/sell), quantity, average entry price, unrealized P&L, stop loss (price + dollar amount), take profit (price + dollar amount), open date, broker account label, environment (demo/live), and linked conditional order info if applicable. To WATCH a position and close it or move its stop when something happens (a candle close, a CHoCH, a level, a time), create an exit rule with create_conditional_order (action.type close_position / modify_position, with this position id): TraderWAI checks it every minute. Each pending order includes: symbol, side, type (limit/stop), quantity, target price, SL/TP levels, and creation date.

Inputs: no named parameters.

get_quoteGet broker price (bid/ask)A
Read-only
Inspect

Get the CURRENT price (bid and ask) of a symbol directly from the broker of one of the user's accounts. This is the price that account actually trades at: market orders fill at it (buy at the ask, sell at the bid) and its stop loss / take profit trigger on it.

Two price sources exist in TraderWAI:

  • get_ohlc / get_chart: TraderWAI market feed. Same for everyone, with history, for analysis. It can differ slightly from each broker (spread, feed and timing).

  • get_quote: the broker's own live price for one account. No history.

WHEN TO USE EACH: analyzing → get_ohlc / get_chart. Placing or proposing an order → get_quote first, every time. Rules for orders:

  • Never take entry, stop loss or take profit levels from the feed price: compute them from this bid/ask (a market BUY fills at the ask, a market SELL at the bid).

  • A BUY LIMIT must be below the ask and a SELL LIMIT above the bid. On the wrong side the broker fills it immediately at market (or rejects it). If the level the user asked for is on the wrong side, do not send the order: explain it and ask what they meant.

  • BUY STOP above the ask, SELL STOP below the bid (breakout entries; execute_trade with executionType "STOP" on TradeLocker, cTrader, MetaTrader, Capital.com, eToro, Bybit, Toobit, Kraken and tastytrade; elsewhere create_conditional_order).

  • The stop loss of a BUY must be below the bid and the take profit above it (the reverse for a SELL).

  • There is no single "current price": each broker account has its own. Quote the account you are going to trade; if the user has several accounts and did not say which, ask or quote each one.

Supported on TradeLocker, cTrader, Match-Trader, MetaTrader 4/5, Capital.com, eToro, Binance spot, Kraken spot, Bybit, Toobit and tastytrade (futures, *_FUT symbols) accounts. On a platform without live broker prices it returns an error: then use get_ohlc as a reference. The response also includes the latest TraderWAI feed price (traderwaiFeedPrice) so you can see the difference. It connects to the broker in real time and may take a few seconds.

Inputs: symbol (required), brokerAccountId (required).

get_risk_limitsGet Risk LimitsA
Read-only
Inspect

Read the risk limits the user set for each broker account (e.g. prop firm rules): max lots per order, max open positions, max trades per day, max daily loss, max risk per trade, max drawdown (static or trailing), allowed trading hours (UTC) and allowed/blocked symbols. Every order is checked against them before it is placed; a blocked order fails with "RISK_LIMIT". Check them before proposing or executing trades so your orders fit. Read-only: only the user can change them on the TraderWAI website. "level" is what the plan enforces (none / basic / full); "inactiveRules" are saved but not enforced on the current plan.

Inputs: no named parameters.

get_suggested_ordersGet Orders to AuthorizeA
Read-only
Inspect

List the orders to authorize (suggested orders) you or another AI proposed to the user, with their status. Status values: PENDING (waiting for the user's authorization, or for auto-execution if the user enabled it for that symbol), EXECUTING (being placed), EXECUTED (authorized by the user or by their auto-execution rule), EXPIRED, CANCELLED (rejected), FAILED, or CLOSED. Read-only. Returns paginated results.

Inputs: limit, offset, status, symbol.

get_trade_resultsGet Trade ResultsA
Read-only
Inspect

Results of the user's CLOSED trades executed through TraderWAI: real entry and exit price, how it closed (tp / sl / manual), realized P/L in money and in R (multiples of the risk to the stop loss), plus a summary (total P/L, wins, losses, average R). Use it to review performance, learn from past trades and report results to the user. Set onlyMine=true to see only the trades you (this AI connection) placed. Availability depends on the broker (see capabilities.closedTradesHistory in get_broker_accounts); results update a few minutes after a position closes. Read-only.

Inputs: days, limit, symbol, onlyMine.

get_upgrade_urlGet Upgrade URLA
Read-only
Inspect

Get a Stripe checkout URL to upgrade the user's TraderWAI plan. Plans: FREE (1 broker account, 5 executions/day, 1 new conditional order/day, 2-week backtests); PLUS (3 accounts, 25 executions/day, auto-execution, 5 new conditional orders/day, 6-month backtests, no MetaTrader); TRADER (5 accounts, 100 executions/day, auto-execution, 10 conditional orders, MetaTrader, 1-year backtests); MAX (10 accounts, unlimited executions, unlimited conditional orders, full risk limits, MetaTrader, all history). MetaTrader is a premium broker: only on Trader and Max, where any of the plan's accounts can be MetaTrader. No free trials: the first month of any monthly plan is 50% off for a first subscription. Monthly and yearly billing (yearly is cheaper). Returns a URL the user must open to pay, with the price and any discount. If the user already pays, the result has changePlan=true: it is a prorated change of the same subscription (unused days of the current plan are credited; preview.amountDue is charged today, or nothing during a trial) and url is the pricing page where the user confirms it. Downgrades are done by the user on the pricing page.

Inputs: plan (required), interval.

list_symbolsList SymbolsA
Read-only
Inspect

List all available trading symbols with their display name and category. Optionally filter by category (forex, commodities, indices, futures, crypto, stocks). Futures are CFDs that track the CME/Eurex future (NQ, ES, YM, FDAX, CL, BZ, GC): use them for charts and backtests; orders go through the user's own platform. Stocks (NVDA_USD, AAPL_USD, TSLA_USD…) are the 55 most liquid US shares, as CFDs that trade only in the regular US session (Mon–Fri 9:30–16:00 New York); they can be ordered on platforms whose broker offers share CFDs (MT5, cTrader, TradeLocker…). Synthetic indices (category synthetic: V75_USD = Volatility 75 Index, V75S_USD = Volatility 75 (1s), V10/V25/V50/V100_USD, V100S_USD, BOOM500/BOOM1000_USD, CRASH500/CRASH1000_USD, STEP_USD = Step Index) are Deriv's own 24/7 indices: their prices are generated by Deriv's random number generator, not a real market (not related to the VIX, news or sessions), so past patterns and backtests do not predict their future moves. They can only be traded on a Deriv account (cTrader or MT5).

Inputs: category.

list_timeframesList TimeframesA
Read-only
Inspect

List all available chart timeframes with their label and candle window description.

Inputs: no named parameters.

modify_broker_orderModify Pending OrderA
Destructive
Inspect

Modify a pending order (limit/stop order waiting to be filled) on a broker account. You can change the entry price, quantity, stop loss, and/or take profit. At least one field must be provided. All price values are absolute levels. Use this when the user wants to move a limit order to a different price, change lot size, or adjust SL/TP on a pending order. Binance does not allow modifying pending orders: there, cancel it with cancel_broker_order and place a new one.

Inputs: orderId (required), brokerAccountId (required), qty, price, +2 more.

modify_positionModify Position SL/TPA
Destructive
Inspect

Modify the stop loss and/or take profit of an open position on a broker account. Use this to adjust risk management on existing trades. At least one of stopLoss or takeProfit must be provided. Values are absolute price levels (e.g. stopLoss: 1.0950, not a pip distance). Setting stopLoss to the position's avgPrice performs a "break even" — moving SL to entry to eliminate risk.

Inputs: positionId (required), brokerAccountId (required), stopLoss, takeProfit.

run_conditional_orderEvaluate Conditional Order NowA
Destructive
Inspect

Dry-run: evaluate a rule-based conditional order right now against the latest market data. It does NOT execute anything — the order still fires on its own during the scheduled one-minute checks. Returns each condition with met true/false, wouldTrigger, and the current price.

Inputs: orderId (required).

set_account_groupCreate or Update Account GroupAInspect

Create or update (by name) a group of 2+ broker accounts to trade together with execute_trade_multi (all plans). Each member can have its own sizing: sizingMode "percentage" (sizingValue = % of the balance LOST if the stop is hit, typically 0.25-2; above 10 needs confirmHighRisk after the user confirms) or "fixed_lots". Confirm the accounts and sizes with the user before saving.

Inputs: name (required), members (required).

set_auto_execution_configSet Auto-execution Config (per symbol)A
Destructive
Inspect

Configure per-symbol auto-execution. When enabled for a symbol, TraderWAI's backend automatically executes suggested orders (from suggest_order) for that symbol on the chosen broker account(s) — the user does not have to review them. This is the same configuration available on the TraderWAI website. Creates or updates the config for the given symbol. Get broker account IDs with get_broker_accounts. Note: the take profit always comes from each suggestion, not from this config. Requires the global auto-execution switch to also be ON (see set_global_auto_execution).

Inputs: symbol (required), enabled (required), maxPerDay, brokerConfigs, +1 more.

set_global_auto_executionSet Global Auto-execution SwitchA
Destructive
Inspect

Master on/off switch for ALL auto-execution. When OFF, TraderWAI does not auto-execute any suggested order for any symbol, regardless of per-symbol config (a kill-switch). When ON, per-symbol configs apply. Use this to pause or resume all auto-execution at once without touching per-symbol settings.

Inputs: enabled (required).

suggest_orderSuggest Order (order to authorize — the user decides)AInspect

PROPOSE a trade for the user to authorize, instead of placing it yourself. You never move the user's money with this tool: you only create an "order to authorize" (entry, stop loss, take profit, expiration) and the USER authorizes its execution. Use it whenever you should not or cannot place trades directly — e.g. your policy does not allow executing real-money trades, or the user wants to review first. (To place an order directly and immediately, when allowed and requested, use execute_trade.) Get the broker's current price with get_quote first and compute entry, stop loss and take profit from it (a SELL LIMIT above the bid, a BUY LIMIT below the ask). For breakout entries use create_conditional_order.

What happens next depends on the user's own settings in TraderWAI: (1) No auto-execution for this symbol: TraderWAI notifies the user (email / browser) and the order waits in "Orders to authorize" until they authorize it, reject it, or it expires. Nothing is executed without their action. (2) The user enabled auto-execution for this symbol: TraderWAI executes it on their broker following the rules the user configured (account, size, daily limits), and notifies them.

Tell the user which case applies if you know it, and remind them they can automate a symbol from the notification. Provide concrete price levels as full numbers (e.g. 1.09542 / 95432.50) and an expiration. Available on all plans.

Inputs: symbol (required), stopLoss (required), orderType (required), takeProfit (required), +9 more.

test_broker_accountTest Broker Account ConnectionA
Read-only
Inspect

Test the connection to a broker account by attempting to authenticate and retrieve the list of trading sub-accounts. Returns success with available accounts if connection works, or an error message if it fails. Use this after creating or updating credentials to verify.

Inputs: accountId (required).

update_broker_accountUpdate Broker AccountA
Destructive
Inspect

Update a broker account configuration. Can change label, environment, credentials, server, active status, or (TradeLocker) which account of the login it uses (subAccountId). Setting isActive to false disables the account for trade execution without deleting it. MetaTrader: a new password or server of the same account is updated for free (it reconnects in about a minute); a different account number (email = new login, with password and server) switches to another account (free; the previous one keeps working if the new one fails).

Inputs: accountId (required), email, label, server, +4 more.

update_conditional_orderUpdate Conditional OrderA
Destructive
Inspect

Update an active rule-based conditional order. Fields not sent keep their current value; "conditions" replaces the whole list, "action" is merged field by field (sending a different action.type replaces the whole action, e.g. turning a close_position exit into a modify_position). The symbol cannot be changed (cancel and create a new order instead).

Inputs: orderId (required), title, action, expiresAt, +1 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Free, open-source charts for crypto, stocks and forex that your AI agent can drive. Indicators, drawing tools, scripts with strategy backtests, alerts, bar replay and multi-chart layouts, with an MCP server for Claude Code, Codex, Cursor and Gemini CLI.
      9
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables creation, optimization, and management of PineScript trading strategies with Claude Desktop integration for AI-assisted development.
      106
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants like Claude to run backtests, fetch market data, list strategies, and analyze trading algorithms via natural language.
      1,141
      GPL 3.0
    • F
      license
      Not graded
      quality
      D
      maintenance
      Personal AI assistant for your TradingView Desktop charts. Connects Claude Code to your locally running TradingView app via Chrome DevTools Protocol for AI-assisted chart analysis, Pine Script development, and workflow automation.
      -
    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.

    Resources