# June 7th, 2025

## Enhance Trading Windows

You can now send the `ignoreTradingWindows` parameter in a webhook to bypass the trading windows specified in the strategy subscription settings.

```json5
{
    "ticker": "SPY",
    "action": "exit",
    "ignoreTradingWindows": true
}
```

In addition to being able to explicitly control this from the webhook, you can enable the `Allow exits and cancels outside of the trading window` settings in your strategy subscription settings and exits and cancels will be allowed outside of the defined trading windows.

<figure><img src="https://1740217496-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfaGHqKUfUy1dxnpnFnAi%2Fuploads%2FiwNXrbxv1YBByPe8HGpj%2FScreenshot%202025-06-04%20at%209.16.35%E2%80%AFAM.png?alt=media&#x26;token=a4f593da-9299-4fd5-9ebf-198f0fbd44bb" alt=""><figcaption></figcaption></figure>

## Enhance Open Order Canceling

You now have more control over the open order canceling functionality by using the `cancel` property in the webhook JSON.&#x20;

<figure><img src="https://1740217496-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfaGHqKUfUy1dxnpnFnAi%2Fuploads%2FrSWHONjxV96fLBPVcXqR%2FScreenshot%202025-06-04%20at%209.19.23%E2%80%AFAM.png?alt=media&#x26;token=dedccf94-2c22-467a-8fd9-7770e31f7bb4" alt=""><figcaption></figcaption></figure>

You can disable the implicit canceling of open orders like in the screenshot above and instead control when you want to cancel open orders more explicitly with the `cancel` property in your webhook JSON:

```json5
{
    "ticker": "SPY",
    "action": "exit",
    "cancel": true
}
```

The above will first cancel any open orders for `SPY` and then exit the open `SPY` position if it exists.

You can also do the reverse, leave the implicit canceling of open orders enabled in the strategy subscription settings and opt out of the open order canceling on some some webhook signals:

```json5
{
    "ticker": "SPY",
    "action": "exit",
    "cancel": false
}
```

The above will exit the open position for `SPY` if it exists but it will not cancel any open orders for `SPY`.
