Errors¶
When an order is not placed, the Result column of your alert log says why, in plain language. Select a shortened result to read all of it. Most messages come from your exchange; a few come from Tickerly when the alert itself cannot be used.
The wording varies from message to message, so this page groups them by cause. Find the group that matches, then follow its fix. Exchange error codes are listed with each group so you can search this page for the code in your log.
After any rejection, check your position
Your strategy in TradingView does not know an order was rejected. It carries on as if the order went through, so its next exit can fail too. Before the next signal, check what your exchange actually holds — see Keeping your strategy and your exchange aligned.
Find your message¶
| The message is about | Go to |
|---|---|
| An invalid action, previous position or quantity | Alert values Tickerly cannot use |
| A symbol that was not found | Symbol not found |
| An instrument you are not allowed to trade | Instrument not available to your account |
| Your API key, IP or permissions | Credentials or permissions rejected |
| A wallet, agreement or terms to accept | Account or wallet not set up |
| Balance or margin | Not enough funds or margin |
| A minimum size, value or step | Order too small |
| A maximum size, position or leverage | Order too large |
| No position to close, or reduce-only | Exit with no matching position |
| Not enough shares available to sell (Alpaca) | Sell larger than the shares available |
| Close all with nothing open | Close all with nothing open |
| Take profit or stop loss | Take profit or stop loss rejected |
| Hedge mode, one-way mode or opposite positions | Position mode mismatch |
| A closed market or trading restriction | Market closed or restricted |
| Shorting, day trading or account restrictions | Broker account rules |
| Price limits or liquidity | Price outside the allowed range |
| A busy service, a timeout or a rate limit | Exchange busy or unreachable |
| An unexpected technical issue | Unexpected technical issue |
Alert values Tickerly cannot use¶
The log says something like: "The action 'close' is not valid. You must use 'buy' or 'sell'", "the previous position must be 'flat', 'long', or 'short'", or "the quantity provided is not in a valid number format".
Why: a field held something Tickerly cannot read, so no order was sent to the exchange. Common causes:
actionset to a word other thanbuyorsell, such asclose,exit,longorshortprev_positionset to something other thanflat,longorshort, such asnoneornaquantitywritten with a decimal comma (0,3), a percent or currency sign (100%,$100), a word (all), or wrapped in braces ({{1}})- extra spaces or braces around a value (
" buy",{{sell}}) - strategy placeholders such as
{{strategy.order.action}}arriving unfilled, because the alert is on an indicator rather than a strategy, or the placeholder is misspelled
Fix: action is buy or sell; prev_position is flat, long or
short; quantity is a plain number with a dot as the decimal separator, in
quotes. On an indicator, use directional alerts
with fixed values. To close a position without knowing its size, send a
close all alert instead of a custom action.
See Field reference and
How values get filled in.
Symbol not found¶
The log says something like: "The symbol 'BINANCE:BTCUSDT' was not found on Hyperliquid Perps. Please verify the ticker name."
Why: the ticker that arrived does not match any instrument on that connection. Common causes:
- a TradingView exchange prefix left in the ticker (
BINANCE:BTCUSDT) - the wrong quote currency, such as USDT on an exchange that lists the pair against USDC
- a continuous futures symbol from TradingView (
MNQ1!,CL1!) - a CFD name on a crypto connection (
GOLD,NAS100,EURUSD) - a coin or share the exchange does not list
Fix: compare the ticker in your alert log with your exchange's own
instrument list, and set ticker to exactly what the exchange calls it. The
ticker only names the instrument: if you meant to trade futures rather than
spot, send the alert to your futures connection's pointer instead. See
Ticker formats.
Instrument not available to your account¶
The log says something like: "The instrument … is not tradeable by your account" or "This symbol is not permitted for your account".
Why: the instrument exists on the exchange, but your account type, region,
legal entity or verification level is not allowed to trade it. On Oanda, which
instruments you can trade depends on the Oanda division that holds your
account. Changing buy to sell will not help.
Fix: check on the exchange's own platform that this account can trade the instrument. If not, choose one it can trade, or use an account that offers it. See Symbols must exist on your exchange.
Codes: Binance -2010; Kraken EAccount:Invalid permissions, for example
EAccount:Invalid permissions:… trading restricted for ….
Kraken's EAccount:Invalid permissions is about what the account may trade.
An API key that lacks a permission gets a different code,
EGeneral:Permission denied — see
Credentials or permissions rejected.
Credentials or permissions rejected¶
The log says something like: "The exchange is rejecting your API credentials", "Your API key has expired", "Permission denied … Please check your API key permissions", or "You do not have permission to perform the buy on XXBTZUSD at Kraken".
Why: the exchange refused the API key. Common causes:
- the key is wrong, expired or deleted
- values are in the wrong fields, swapped, or a required field is empty — for example the API password on Capital.com
- the key has an IP whitelist that does not include
217.160.238.76 - the key lacks trading permission, or futures permission for a futures connection — on a Kraken spot key, the box Create & modify orders
- demo keys are used on a live connection, or live keys on a demo one
Fix: check which value goes in which field in
Credential fields by exchange. If that is right
and the key only lacks a permission or the whitelist entry, edit the key at
the exchange where it lets you, as Kraken does. Otherwise create a new key
with trading and reading enabled (never withdrawals) and whitelist
217.160.238.76 — see API keys and permissions.
Demo keys work only on a connection whose name contains test — see
Demo and test accounts.
Codes: Binance -2015 ("Invalid API-key, IP, or permissions for action");
Bybit 10010 ("Unmatched IP"); Bitget 40014; KuCoin 400003
("KC-API-KEY not exists"); Kraken EGeneral:Permission denied; Capital.com
error.invalid.details, error.null.password; Oanda "The provided request
was forbidden".
Kraken: tick Create & modify orders
Kraken answers EGeneral:Permission denied when the key is valid but
lacks the permission the request needs. To place an order, that
permission is Create & modify orders, and the log reads, for example,
"You do not have permission to perform the buy on XXBTZUSD at Kraken."
The action and the pair in the message are your own order's.
You do not need a new key. In Kraken Pro, open Settings, then Connections & API, edit the key, tick Create & modify orders and save, confirming if Kraken asks. Then send the alert again.
Oanda tokens and new accounts
An Oanda personal access token does not cover sub-accounts added after the token was generated. If you added an account since, generate a new token and update your connections.
Account or wallet not set up¶
The log says something like: "The wallet for BTC/USDC:USDC does not exist", "You need to sign the trading agreement for futures on Binance", or "You need to confirm the terms before you can buy".
Why: a setup step at the exchange, or a credential field in Tickerly, is incomplete. On Hyperliquid, the API wallet or master wallet address is wrong, no longer authorised, or missing. On Binance, an agreement for the market has not been signed. On Capital.com, terms have not been accepted.
Fix: on Hyperliquid, check the wallet addresses against Credential fields by exchange and that the API wallet is still authorised. The master wallet address is also what close all needs. On other exchanges, finish the step on the exchange's own website or app.
Codes: Binance -4411.
Not enough funds or margin¶
The log says something like: "You have insufficient margin to place the buy order" or "Your balance is not enough to buy BTCUSDT".
Why: the account did not have enough free balance or margin for the order at its current leverage. On a spot connection, this can also be a buy larger than your balance of the quote currency.
Fix: lower the quantity, add funds, or change leverage on the exchange.
Remember that quantity is in the instrument's own units, not in account
currency or lots — see Units.
Codes: Oanda INSUFFICIENT_MARGIN; Binance USD-M -2019; Bitget 43012;
Capital.com RISK_CHECK.
Order too small¶
The log says something like: "The order to buy HYPE/USDC:USDC must have a minimum value of $10", "must be greater than the minimum amount allowed", or "must be a multiple of the lot size".
Why: the size or value is below the exchange's minimum for that instrument, rounds to zero at the instrument's step size, is not a multiple of the lot size, or is fractional where only whole units are allowed — for example shares on Alpaca that cannot be traded fractionally.
Fix: raise the quantity above the instrument's minimum size and value, and check it against the exchange's step size. For forex, quantity is in units: 1,000 units is 0.01 lot. See quantity.
Codes: Binance LOT_SIZE, MARKET_LOT_SIZE; Kraken
EOrder:Order minimum not met, EOrder:Cost minimum not met,
EGeneral:Invalid arguments:volume; Capital.com error.invalid.size.minvalue.
Order too large¶
The log says something like: "The number of units you tried to buy exceeds the maximum limit allowed" or "your position may exceed the max. limit. Please adjust your leverage".
Why: the order, or the position it would create, is larger than the exchange allows for one order or for your current risk tier and leverage.
Fix: reduce the order size, or change leverage or risk limit on the exchange. Check the units: for forex, 100,000 units is one standard lot. This often appears when a compounding strategy's size has grown.
Codes: Oanda POSITION_SIZE_EXCEEDED; Bybit 110090; Binance -1013
("QTY is over the symbol's maximum QTY"); Capital.com
error.invalid.size.maxvalue.
Exit with no matching position¶
The log says something like: "The strategy is trying to close a position, but there is no position for that ticker currently open", or "You cannot sell BTC because this action would increase your position".
Why: Tickerly sends exits as reduce-only orders, which may only shrink a position. The exchange had no position in that direction, or a smaller one than the exit, so the order would have opened or increased a position instead. Your strategy and your exchange have drifted apart — for example after a manual close, a stop loss or liquidation at the exchange, an earlier entry that was rejected, or automation started mid-trade.
Fix: find the earlier rejected entry in your alert log, if there is one. Reset with a close all alert or a manual close, then restart the strategy from flat — or open the matching position by hand before enabling the alert. See Entries, exits and positions.
Codes: Oanda NO_POSITION_TO_REDUCE, POSITION_TO_REDUCE_TOO_SMALL;
Binance USD-M -2022 ("ReduceOnly Order is rejected"); Bybit "current position
is zero, cannot fix reduce-only order qty"; Hyperliquid "Reduce only order
would increase position".
Sell larger than the shares available¶
The log says something like: "You have insufficient quantity available to sell SPY. You requested to sell 112 shares, but only 56 are available."
Why: on Alpaca, a sell for more shares than you hold, or more than are free, is rejected. Usually the strategy thinks it holds a larger position than the account does. Shares can also be held by another open order.
Fix: make the account match the strategy before the next exit: close or open the difference by hand, and cancel any open order holding the shares. See Keeping your strategy and your exchange aligned.
Codes: Alpaca 40310000 ("insufficient qty available for order").
Close all with nothing open¶
The log says something like: "There is no position to close for US100 because the position size is 0" or "Order quantity 0. No order placed on exchange".
Why: a close all alert found nothing open for the symbol. This is expected when a strategy sends a final close after an earlier exit already flattened the position.
Fix: nothing to do. If a position really is open, check that the ticker matches the exchange's symbol exactly.
Take profit or stop loss rejected¶
The log says something like: "The stop loss price you set has more precision than what is allowed", "The stop loss value you set is below the minimum allowed limit", or "The take profit price for your buy position must be set higher than the current base price".
Why: a level on a full trade alert broke the exchange's rules. It had more decimal places than the instrument allows, was too close to or too far from the price, was on the wrong side of the current price, or was zero or missing — often a value the strategy did not plot.
Fix: send both levels as absolute prices on the correct side of the entry,
rounded to the instrument's price precision and far enough from the price. On
Capital.com, a guaranteed stop has its own distance limits;
stoplosstype switches to a normal stop
where that is allowed.
Codes: Oanda TAKE_PROFIT_ON_FILL_PRICE_PRECISION_EXCEEDED,
LOSING_TAKE_PROFIT; Capital.com error.invalid.stoploss.minvalue,
error.invalid.takeprofit.maxvalue; Bybit 10001.
Position mode mismatch¶
The log says something like: "Tickerly and your exchange do not agree whether we are using hedge mode or not", or "Your strategy is trying to enter a position, while you already have an open position in the opposite direction".
Why: the alert format does not match the account's position mode — standard alerts to a hedge-mode account, or hedge mode alerts to a one-way account. This is common on Bitget, which defaults to hedge mode. On Oanda, the account does not allow positions in both directions on one instrument, or follows FIFO rules that require the oldest trade to close first.
Fix: send standard alerts to one-way accounts and hedge mode alerts to hedge-mode accounts, or change the mode on the exchange after closing all positions. On an Oanda account that does not allow opposite positions, make sure the strategy is in the position the account holds before enabling alerts. See Position mode.
Codes: Binance USD-M -4061; Bybit "position idx not match position
mode"; Bitget "The order type for unilateral position must also be the
unilateral position type"; Oanda OPPOSING_POSITIONS_NOT_ALLOWED,
FIFO_VIOLATION_SAFEGUARD_VIOLATION.
Market closed or restricted¶
The log says something like: "The market for GOLD is currently closed. Please check the trading hours", or "currently in post-only mode".
Why: the alert arrived outside the instrument's trading hours, or while the exchange had halted the market or limited it to certain order types — for example during a delisting.
Fix: the alert itself is fine, but the order was not placed. Limit your strategy to the instrument's trading session, or act on the missed signal by hand. Check the exchange's announcements for restrictions.
Codes: Capital.com OFF_MARKET, "is currently closed. Timetable in
place"; Oanda MARKET_HALTED; Kraken EService:Market in post_only mode.
Broker account rules¶
The log says something like: "You do not have enough day trading buying power", "Your account is not allowed to short", or "new orders are rejected by user request".
Why: the broker's own account rules blocked the order — no shorting or no shares to borrow, pattern day trading protection on a US account under $25,000, a possible wash trade against your own open order, or new orders switched off on the account.
Fix: meet the rule or change the setting at the broker — for example enable shorting, cancel the conflicting open order, or turn trading back on in your Alpaca dashboard. Tickerly cannot override these rules.
Codes: Alpaca 40310100 ("trade denied due to pattern day trading
protection"); Oanda ACCOUNT_NEW_POSITIONS_LOCKED.
Price outside the allowed range¶
The log says something like: "could not be completed because there were no matching orders available" or "There is insufficient liquidity".
Why: the market order could not fill within the price range the exchange allows, because the order book was too thin or the price moved too far from the reference price.
Fix: usually temporary. Avoid very illiquid instruments, and check your position before the next signal.
Codes: Oanda INSUFFICIENT_LIQUIDITY.
Exchange busy or unreachable¶
The log says something like: "The service is currently busy. Please try again later", "You have exceeded the rate limit", or "An unexpected technical issue occurred".
Why: the exchange did not give a usable answer — a timeout, a maintenance page, an overloaded matching engine, or too many requests on your API key in a short time. On MetaTrader, the terminal did not collect the order within 60 seconds.
Fix: usually temporary. Check on your exchange whether the order went through before the next signal. If many alerts fire on one key at the same moment, spreading them out avoids rate limits. On MetaTrader, see When orders stop arriving.
Codes: HTTP 502, 504; Alpaca 42910000 ("rate limit exceeded");
ENGINE_BUSY.
Unexpected technical issue¶
The log says: "An unexpected technical issue occurred while trying to buy BTCUSDT".
Why: Tickerly or the exchange hit an error that does not point to anything in your alert or account.
Fix: there is nothing to change in the alert. Check on your exchange whether the order went through. If it keeps happening, contact Tickerly support with the time of the alert from your log.