How 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.
What this means in practice
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. This page is specifically about “How should automated trading handle MarketClosed?”, so each scenario below is explained by its own mechanism instead of sharing one generic diagnosis.
Real-world scenarios
Scenario A — Weekend
Use the broker's actual symbol session. Entry commands should follow a clear rejection or expiry policy instead of being replayed later after the original setup is stale. For Scenario A — Weekend on question 46, use that evidence specifically to answer “How should automated trading handle MarketClosed?”; keep it separate from the evidence for the other scenarios on this page.
Scenario B — Daily session break
Use the broker's actual symbol session. Entry commands should follow a clear rejection or expiry policy instead of being replayed later after the original setup is stale. For Scenario B — Daily session break on question 46, use that evidence specifically to answer “How should automated trading handle MarketClosed?”; keep it separate from the evidence for the other scenarios on this page.
Scenario C — Holiday schedule
Use the broker's actual symbol session. Entry commands should follow a clear rejection or expiry policy instead of being replayed later after the original setup is stale. For Scenario C — Holiday schedule on question 46, use that evidence specifically to answer “How should automated trading handle MarketClosed?”; keep it separate from the evidence for the other scenarios on this page.
What to check
- intended signal/action
- last stage that definitely succeeded
- first stage that differs from intent
- final cTrader state after the event
Practical rule
For “How should automated trading handle MarketClosed?”, change only the first layer whose evidence no longer matches the intended action. Preserve signal identity, timestamps and final cTrader state, and reproduce execution-affecting changes on demo before live use.
Decision summary
Direct answer: 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.
Next action: Match the observed evidence to one scenario above, test that mechanism independently on demo and keep the result traceable with one signal ID.
Primary sources
Need a TradingView → cTrader execution route?
NRUNO routes your TradingView instructions to cTrader. Your strategy and signal logic remain yours.