Back to Webhook Messages
Webhook Messages

Invalid Delay Past

The provided delay resolves to the current time or the past. The delay field must resolve to a future point in time.

This message indicates that the delay field resolved to the current time or the past. A delay must always resolve to a point in time in the future so the trade can be scheduled.

This error can occur when:

  • The delay is 0 or a negative integer.
  • The delay is a relative value that resolves to now/past (for example +0 seconds).
  • The delay is an absolute datetime that is already in the past when the webhook is processed.

Invalid delay examples:

{
    "ticker": "AAPL",
    "action": "buy",
    "delay": 0
}
{
    "ticker": "AAPL",
    "action": "buy",
    "delay": "2000-01-01T00:00:00Z"
}

Valid delay examples:

{
    "ticker": "AAPL",
    "action": "buy",
    "delay": 300
}
{
    "ticker": "AAPL",
    "action": "buy",
    "delay": "+5 minutes"
}

Ready to put Invalid Delay Past to work?

Free 7-day trial

Set-up in 3 minutes

Paper account for testing

By continuing, you agree to the TradersPost Terms of Service and Privacy Policy. This site is protected by reCAPTCHA.