Learn › Glossary › GTC (Good-Til-Canceled) Order

GTC (Good-Til-Canceled) Order

An order that stays working at the broker across sessions until it fills or is explicitly cancelled, unlike a day order that expires at the close. Standing profit targets and stops are typically GTC so the exit is live from the opening bell without being re-placed every morning.

A good-til-canceled order, usually written GTC, is an instruction that stays alive at the broker until one of two things happens. It fills, or someone cancels it. A day order works the other way: it expires at the close of the session if it has not filled. The GTC label only changes how long the order lives. It does not change the price, the size or the side.

The order type that gets the GTC label most often is the limit order. A limit order fills at a stated price or better, and it can wait a long time for the market to reach that price. A resting sell limit placed above the entry price is a profit target. If it is a day order, it has to be placed again every morning. If it is GTC, it sits on the broker's book and is live from the opening bell on every session until the target trades.

DeployQuant uses this pattern for strategies that hold a standing profit target. The weekly 7% target template is the clearest case: it buys at the first open of the week and rests a sell limit at 7% above the entry price. The platform maintains that limit as a managed order at the broker. The measured behaviour of six funds over 2021-01-04 to 2026-10-02 shows how often a resting level gets reached.

Every figure here comes from the same backtest window of 1,444 sessions with $10,000 of starting cash, and the headline backtests carry no fees or slippage.

What a held target does inside a strategy

The strategy library has one template that uses a standing profit target on every trade, the weekly 7% target. It buys at the first open of each week, rests the limit at 7% above the entry price, and sells if the position is losing at 2:00pm on the week's second-to-last session. Across 59 ETFs its median CAGR was 6.61%, its median maximum drawdown was 26.26%, its median round trip count was 106, and it beat buy-and-hold on 34 of 59 funds.

The 106 round trips over a window of about 5.74 years show how often the target mechanism cycles: the position is opened and closed many times, and a large share of the exits are either the limit filling or the Thursday time exit. With that many exits, the case for placing the target once as a GTC order, and having the platform keep it in step with the entry, is practical. A day order would need to be re-sent on each session of every week the position is open.

The dip buyer also rests a profit target, at +8% after a 10% drawdown from the 20-day high. Its median round trip count was 2, its median CAGR was 1.33% and its median maximum drawdown was 26.19%. A target in a strategy that trades twice in the window is placed rarely, but each one may rest for a long time before it fills, which is the case GTC handles best. A day order for a position held for weeks would need weeks of daily replacement.

The momentum breakout and the trend plus trailing stop templates exit on a trailing stop instead of a limit. Their median round trips were 6 and 4. Their median maximum drawdowns were 20.1% and 31.15%. A trailing stop is a different kind of standing order, since the trigger level moves as the price rises, but the question of whether it lives across sessions is the same one. A stop that expires at each close leaves the position unprotected overnight, which is when the larger share of the return in the funds above arrived.

Strategies that exit on a signal, such as the golden cross with 3 median round trips, the 200-day regime filter with 18, the SMA 10/50 trend with 17 and the EMA 12/26 trend with 22, do not need a resting exit order. They decide at a scheduled time from an indicator and then send an ordinary order. Resting orders belong to strategies whose exit is a price level fixed in advance.

How a GTC order lives and dies

An order has a price condition and a time condition. The price condition says when it can execute: at the market, at a limit price, or when a stop level is touched. The time condition says how long the broker keeps it working. Day is one time condition. GTC is another. There are others, such as orders that only work in the opening or closing auction, but the day versus GTC choice is the one that matters for standing exits.

A GTC order is stored by the broker, not by the strategy. That detail is the whole point. If the strategy process stops, loses its connection or restarts, the order is still on the book and can still fill. A strategy that watches the price itself and sends a sell when the target is reached depends on being awake at that moment. A resting GTC limit depends on nothing except the broker being open.

The order stays until it fills, is cancelled, or the broker's own rules end it. The last clause is a real limit on what GTC means. Brokers set their own maximum life for a GTC order and their own rules for what happens at corporate actions such as splits. The glossary definition on this page says the order stays working until it fills or is explicitly cancelled, and the facts available here do not list any broker's expiry rule. Anyone relying on a long-lived order should read the broker's order documentation for that detail.

A GTC order also needs housekeeping. If the position it was protecting is sold by some other route, the resting order still exists. A resting sell limit with no shares behind it can open an unwanted short position if it later fills. The same risk applies to a stale buy limit that fills at a price nobody wants any more. The order stays correct only while the rest of the account stays consistent with it.

Why standing exits are usually GTC

The related-terms entry for day orders describes the use case well. A day order suits a signal that is only valid today, such as an entry triggered by the open. A standing exit is different: it stays valid for as long as the position exists, which may be one day or several weeks.

Consider what each choice implies for a profit target. With a day order, the target has to be cancelled implicitly at the close and recreated at the next open. Between the close and the new order there is a gap, and the first minutes of each session are exactly when an overnight gap can push the price through the level. A GTC limit is already on the book when the session starts, so a gap up through the target can fill at the opening print instead of waiting for a fresh order to be sent.

The second difference is operational. Re-placing an order every morning multiplies the number of messages sent to the broker, and every message is a chance for a rejection, a duplicate or a timing slip. A GTC order is placed once. DeployQuant's product reference lists caps on orders per sync and describes accounting from the broker's own fill reports, so a standing order that does not need re-sending keeps the order count lower and the fill history simpler.

The cost of GTC is rigidity. The order does what it was told until someone changes it. If a strategy wants a different target tomorrow, because the entry price changed or the rules moved the level, the old order has to be modified or cancelled. A managed order handles that by updating the resting order when the target changes, and the platform description calls the weekly template's limit a managed order for that reason.

How far apart price and a resting target sit

Whether a resting level gets reached depends on how much the fund moves. The funds in the market-examples data span a wide range of day-to-day movement. SPY's average intraday range, high to low, was 1.15% of price. QQQ's was 1.58% and IWM's was 1.75%. TLT's was 0.94%. TQQQ's was 4.74% and UVXY's was 7.03%.

Set a +7% target against those numbers. On SPY, a single average day covers 1.15% from low to high, so a 7% move takes a run of several favourable days. On TQQQ, one average day already spans 4.74%, so a 7% target is within reach inside one or two sessions. On UVXY, one average day spans 7.03%, so the same target sits about one typical day's range away, although the fund's direction over the window was down.

Volatility tells the same story. SPY's annualized volatility was 16.41%, QQQ's was 22.39%, IWM's was 22.35%, TLT's was 15.33%, TQQQ's was 67.11% and UVXY's was 103.95%. A fixed percentage target is a different bet on each of these, because the same 7% covers very different fractions of a normal week. This is why the weekly target template's own description says it is good for volatile assets that regularly swing 7% within a week, such as leveraged ETFs.

The gap between close and open matters for resting orders too. SPY's average overnight gap was 0.44%, QQQ's was 0.59%, IWM's was 0.61%, TLT's was 0.54%, TQQQ's was 1.78% and UVXY's was 2.53%. A resting limit sell fills at the limit price or better. If the open gaps above the limit, a live order fills at the open price, which is better than the limit. The template description makes the same point: a fund that gaps up past the limit on the open would fill at the better price in a live account. A backtest that fills at the limit price is therefore the conservative reading of that case.

Where the overnight session fits

A GTC limit order sits on the book through the night, but a limit order can only fill when the market is trading. The test data here is US market data consolidated to minute bars, and orders in the backtest fill when a minute bar trades through the level. The price moves that happen between the close and the next open show up as the opening gap, and that is where a standing order differs from a day order placed after the open.

The overnight share of return is a useful measure of how much of a fund's movement happens in that window. For SPY, 62.46% of the log return came overnight and 37.54% came during the session. For QQQ the overnight share was 64.64%. For TQQQ it was 74.87%. For UVXY it was 45.66%. TLT's overnight share was 136.58% and IWM's was 165.24%, which are above 100% because the intraday part of the return was negative over the window.

Those shares say that for most of these funds, a large part of the return arrived while a person at a desk could not trade. A standing order at the broker is the only tool that can act on a level reached in the first print of the day without delay. Whether the fill in a backtest reflects that depends on the data resolution, which here is one minute, so the first minute of the session is the earliest point a fill can happen.

There is a limit to what these shares prove. They describe return that accumulated from close to open and open to close over one window, not the likelihood that a particular target fills at the open. The numbers show the scale of the effect and leave the question of any one order's fill price to the order's own trade record.

What resting levels met in each fund

A resting level is only useful if the fund ever travels to it. The measured paths of the six example funds over the window show how different that is.

SPY gained 125.29% in total, a 15.2% CAGR, with a deepest decline of 24.51% from 2022-01-03 to 2022-10-12. It was up on 54.4% of days, and the average up day was 0.74%. A 7% target above entry on SPY is reached through a sequence of up days, and the lag-one autocorrelation of daily returns was -0.02, which means one day's return carried almost no information about the next. Targets on SPY are reached by drift, with little help from momentum in the daily data.

QQQ gained 151.07% with a 17.39% CAGR and a maximum drawdown of 35% from 2021-11-19 to 2022-11-03. Its calendar-year returns ran from -32.39% in 2022 to 54.81% in 2023. A fund with a spread like that offers both easy target fills in a rising year and long waits in a falling one.

TQQQ gained 291.92% with a 26.86% CAGR, and its maximum drawdown was 81.68% from 2021-11-19 to 2022-12-28, with recovery on 2024-12-04. Its calendar-year returns were 90.95% in 2021, -79.07% in 2022 and 198.32% in 2023. A GTC target set after an entry in early 2022 would have rested through a long decline. The order itself is harmless in that case, since it only fills at the target price, but the position under it is the one carrying the risk.

IWM gained 55.8% with an 8.03% CAGR and a maximum drawdown of 31.92%, recovering only on 2024-11-06. TLT lost 40.49% in total, a CAGR of -8.64%, and had not recovered its 2021-01-04 peak by the end of the window. For a fund like TLT, a profit target above the entry price would have rested without filling for long stretches. UVXY lost 99.94% over the window and its maximum drawdown was 99.95%, trough on 2026-09-22. It was up on only 40.26% of days, yet its average up day was 5.15%, so a target above entry could be hit quickly by a spike before the long decay resumed.

The point of the comparison is that GTC does nothing about direction. A resting target fills if the fund reaches the price and stays unfilled otherwise. What GTC adds is that the order is already in place when the price arrives.

What can go wrong with a long-lived order

A long-lived order creates a few specific risks, and the platform description lists several controls that address them.

The first is a price that is wrong when it fills. Price bands refuse limit orders priced too far from the market, which guards against a mistyped level or a stale price. The second is size. Per-order and per-position dollar caps limit how much any one order can do, and the caps never block an order that reduces exposure, so a profit-taking sell is not held up by a cap meant for entries.

The third is a mismatch between the account and the order book. DeployQuant accounts positions and cash from the broker's own fill reports, so a resting order that fills at the broker is reflected in the strategy's sleeve because the broker reported it. Every order is tagged with the strategy that placed it, and fills are returned to the sleeve that placed the order. Two strategies can hold the same symbol in one account, and the standing order of one does not close the position of the other.

The fourth is the one every GTC user should check with their own broker: how long a GTC order lives, what happens at a split or dividend, and whether an order modified in place keeps its place. The facts here describe the order type in general. They do not state any specific broker's rules, and they do not describe how Webull, Schwab or Alpaca handle expiry.

The fifth is the dry run. Dry-run mode runs the whole order flow without sending any order to the broker, so a strategy that rests a target can be rehearsed to see which orders it would place before real money moves. Real money only moves after the user types an explicit confirmation on a live deployment.

Limits of the numbers on this page

The numbers above come from one window, 2021-01-04 to 2026-10-02, and from daily-decision rules evaluated on minute-resolution consolidated data. Orders fill on minute bars, with no margin, and the headline run has no fees or slippage. The strategy medians cover 59 ETFs under identical rules.

None of these numbers measure the benefit of GTC itself. The backtest has no concept of a day order expiring and being re-sent, so it cannot show the cost of re-placing orders each morning. The fund statistics show how far a target sits from typical moves, and the strategy medians show how often a target-based template cycles. Both are context for the order type, and neither is a test of it.

Backtests are hypothetical and describe the past only. Nothing here is investment advice. Taxes on gains from filled orders depend on the account and the jurisdiction, and a tax professional or the broker can explain how a filled order is treated.

Frequently asked questions

What does GTC mean on an order?

GTC stands for good-til-canceled. The order stays working at the broker across sessions until it fills or is explicitly cancelled, where a day order expires at the close. The price and size are set separately from the time condition.

Is a GTC order the same as a limit order?

No. Limit describes the price condition: fill at a set price or better. GTC describes how long the order lives. A limit order can be a day order or a GTC order, and the two labels are usually combined for standing profit targets.

Why would a profit target be a GTC order?

A target above the entry price may need to rest for several sessions before the fund reaches it. As a GTC order it is placed once and is live from the opening bell on every session. As a day order it would have to be sent again each morning, and an overnight gap through the level could be missed in between.

Which DeployQuant strategy uses a GTC-style target?

The weekly 7% target template rests a limit at the 7% above the entry price for as long as the position is open, and DeployQuant maintains it as a managed order. Across 59 ETFs the template had a median CAGR of 6.61% and a median round trip count of 106 over 2021-01-04 to 2026-10-02.

Does a GTC order last forever?

The definition says it stays working until it fills or is cancelled. Brokers apply their own maximum lifetime and their own rules at corporate actions, and the facts for this page do not list those rules. Check the order documentation of the broker you use.

Can a stale GTC order cause a problem?

Yes. A resting sell limit with no position behind it could open an unwanted short if it filled, and a stale buy limit could fill at a price the strategy no longer wants. DeployQuant tags every order with its strategy and accounts from the broker's fill reports, and an order that changes with the strategy has to be updated or cancelled when the rules move it.

Does GTC make a profit target more likely to fill?

No. The order fills only if the fund trades at the target price. GTC keeps the order in place so that a gap or a quick move is not missed. In the data, TQQQ's average intraday range was 4.74% and SPY's was 1.15%, so the same 7% level is closer to a typical day on one fund than on the other.

Run a strategy that uses this yourself, free →

Build it from blocks (or type it in English), backtest it on 5.7 years of minute data in seconds, tweak any parameter, then paper trade it on live data. No card, no broker needed to start.

Related terms

Limit OrderAn order that executes only at a specified price or better: a buy limi…Day OrderAn order that expires automatically at the end of the trading session …

Backtests are hypothetical, computed by DeployQuant's engine on minute-resolution consolidated US market data (2021-01-04 to 2026-10-02, $10,000 starting capital, no margin, no fees or slippage in the headline run; buy-and-hold puts 98% of the account in at the first open, as the templates do) and do not guarantee future results. Nothing on this page is investment advice. Live trading involves risk of loss.