Webhook Field

Delay

The delay field allows you to delay the execution of a trade signal by a specified number of seconds. When provided, TradersPost will wait the given delay period after receiving the signal before executing the trade. This can be useful if your strategy or automation requires a short buffer before execution.

You can send the delay in seconds in the delay field of the webhook payload. Here is an example:

{
    "ticker": "QQQ",
    "action": "buy",
    "delay": 60
}

In this example, the signal instructs TradersPost to buy QQQ, but execution will be delayed by 60 seconds after the signal is received.

Notes:

  • The delay is measured in seconds.
  • The delay must be between 1 and 3600 seconds.
  • If no delay field is provided, the trade executes immediately like normal.
  • The delay countdown begins after the signal is received and the trade is queued for execution.

Ready to automate your trading? Sign up for free today.