Strategy Field

Cancel open entry order after delay

The Cancel open entry order after delay setting defines a delay in seconds after which an open entry order is automatically canceled. If the entry order (buy to open a long, or sell to open a short) is still open after the specified number of seconds, TradersPost submits a cancel request.

The value is a positive number of seconds between 1 and 3600 (for example 30 means cancel after 30 seconds). Leave blank to disable automatic cancellation of entry orders.

This feature works by scheduling a delayed background job at the moment the entry order is placed. When the delay elapses, if the order is still open, it is canceled via the broker. This also applies to partially filled orders: if part of the requested quantity has filled, TradersPost submits a cancel request to the broker for the remaining open quantity. If the order was already fully filled by then, no action is taken.

The Cancel open exit order after delay setting is separate: setting one does not set the other, and this setting does not apply when planning an exit.

Webhook cancelAfter (entry)

Payloads may include cancelAfter to provide a per-signal cancel delay in seconds for the entry order.

The effective entry cancel delay comes from the webhook when either:

  • Allow signal overrides is enabled on the subscription, or
  • Allow signal override is enabled for Cancel open entry order after delay

If signal values are allowed for this field and the payload includes cancelAfter, that value is the entry cancel delay. If signal values are allowed but the payload omits cancelAfter, the configured Cancel open entry order after delay on the subscription is used.

If neither Allow signal overrides nor Allow signal override for Cancel open entry order after delay is enabled, cancelAfter in the webhook is ignored for entry planning and only the configured Cancel open entry order after delay applies.

Example webhook payloads

Entry using only the subscription's configured Cancel open entry order after delay value (no per-signal value):

{
    "ticker": "AAPL",
    "action": "buy",
    "orderType": "limit",
    "limitPrice": 150
}

Entry with a per-signal cancel delay (requires Allow signal overrides and/or Allow signal override for Cancel open entry order after delay as above):

{
    "ticker": "AAPL",
    "action": "buy",
    "orderType": "limit",
    "limitPrice": 150,
    "cancelAfter": 30
}

Start trading at scale today. Sign up for free.

Free 7-day trial

Set-up in 3 minutes

Paper account for testing

TradersPost operates as a non-custodial automated trading platform, enabling users to connect alerts from their preferred trading platforms to their selected brokerage or exchange accounts. It abstains from the transmission, custody, or management of customer funds, covering both traditional and cryptocurrency assets. Typically, registration requirements set by regulatory entities such as the SEC, FINRA, or FinCEN apply to entities that hold or transmit customer funds. To ensure ongoing compliance, TradersPost regularly engages with regulatory authorities to confirm its adherence to all relevant local and federal laws.

TradersPost does not provide alerts, signals, research, analysis, or trading advice of any kind. It is designed to assist traders and investors in making their own trading decisions based on their alerts. The platform does not offer recommendations regarding securities to buy or sell, nor does it provide trading or investing advice. The platform and its features, capabilities, and tools are provided 'as-is' without any warranty.

Risk Disclosure: The use of automated trading systems involves inherent risks, including the potential for significant financial loss. These systems operate based on predetermined algorithms that may not fully adapt to changing market conditions, possibly making them unsuitable for some investors. Individuals are advised to thoroughly assess their financial situation and risk tolerance before using this platform.

Testimonials appearing on this website may not be representative of other clients or customers and is not a guarantee of future performance or success.

© 2026 TradersPost, Inc. All rights reserved.