NRUNO Trading Automation Wiki

cTrader Execution & Broker Errors

Symbols, account behavior, order rejection, volume, stops, fills and pending orders.

018Why does my Close signal open another trade instead of closing it?

SELL can mean open short, not close long. Hedged and netted accounts behave differently, so exits should use explicit close semantics.

019Why is the wrong symbol traded or why can’t cTrader find my symbol?

TradingView tickers and broker-side cTrader symbols may differ. Use explicit mapping and reject ambiguous matches instead of guessing.

020How do broker symbol prefixes and suffixes work?

Brokers can append/prepend characters or use different CFD names. The execution layer must map the TradingView ticker to the exact symbol available on that cTrader account.

021Why did cTrader reject my automated trade?

Read the cTrader error. Common documented errors include BadVolume, NoMoney, MarketClosed, Disconnected, UnknownSymbol, InvalidStopLossTakeProfit, InvalidRequest,…

041Hedging vs netting: what happens to opposite automated signals?

On Hedged accounts, opposite positions can coexist. On Netted accounts, positions on the same symbol consolidate into one net position, so the same opposite signal can have a…

042How do I close one specific cTrader position from an external signal?

Use an unambiguous position reference or deterministic targeting rule. Symbol and side alone can be insufficient on a Hedged account that contains multiple positions.

043How do I fix cTrader BadVolume errors?

BadVolume means the requested volume is invalid. Check the symbol minimum, maximum and step, convert lots to units correctly, and normalize calculated volume before submission.

044Why does cTrader return InvalidStopLossTakeProfit?

InvalidStopLossTakeProfit means the requested protection parameters are invalid. Check direction, price-versus-pips interpretation, precision and broker/symbol protection rules…

045What does cTrader NoMoney mean?

NoMoney means the account lacks enough available funds/margin for the requested operation. Reduce exposure or investigate margin, leverage and existing positions instead of…

046How should automated trading handle MarketClosed?

MarketClosed means that symbol cannot execute the requested trade at that time. Log the rejection and use an explicit stale-signal policy rather than silently executing it later.

062Market order vs limit order vs stop order: which should TradingView automation use?

Market orders prioritize execution, limit orders prioritize price but may not fill, and stop orders activate after a trigger level. The correct order type depends on the…

071Lots vs units in cTrader: what should TradingView send?

cTrader Algo execution volume is commonly expressed in units. cTrader's Symbol API exposes conversions between quantity in lots and volume in units plus minimum, maximum and step…

073Pips vs ticks vs points in cTrader automation

A pip, tick and generic 'point' are not interchangeable. cTrader exposes PipSize, TickSize and Digits per symbol, so automated SL, TP and trailing logic should use explicit units…

087How should cTrader automation handle minimum stop distance?

Validate the requested protective stop against the symbol/broker's current rules before submitting or modifying it. If invalid, reject or adjust only according to an explicit…

088How should automation normalize prices to cTrader tick size and digits?

Normalize executable prices to the symbol's valid precision and tick increment. cTrader exposes Digits and TickSize; generic decimal rounding is not a safe cross-market rule.

089How should automated trading handle partial fills?

Requested volume and actually filled volume are separate states. Risk controls, remaining orders and exits should use the real filled/current position volume, not assume the…

090How should pending orders be cancelled or replaced safely?

Identify the exact pending order, confirm its state, cancel it, and only then create a replacement under a new command/version when double exposure is possible.