# December 5th, 2022

## Improvements

We added support for trailing stops in the TradeStation broker integration. You can now submit a trailing stop that is percentage or dollar based.

<figure><img src="https://1740217496-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfaGHqKUfUy1dxnpnFnAi%2Fuploads%2FzBr6xrMnR9ltTyLEfreK%2FScreen%20Shot%202022-12-05%20at%204.18.58%20PM.png?alt=media&#x26;token=0390e5b6-2db5-4059-8408-738276c84f18" alt=""><figcaption><p>Order confirm model</p></figcaption></figure>

In your strategy subscription settings you can now also configure a trailing stop loss for subscriptions connected to TradeStation.

<figure><img src="https://1740217496-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfaGHqKUfUy1dxnpnFnAi%2Fuploads%2F5Pfo263AlTKTQIKdmfLW%2FScreen%20Shot%202022-12-05%20at%204.18.23%20PM.png?alt=media&#x26;token=ce869e99-449c-4441-ab18-bc8cf3abd861" alt=""><figcaption><p>Strategy subscription Stop Loss settings</p></figcaption></figure>

Or you can send your trailing stop along with your entry signal.

```json
{
    "ticker": "TSLA",
    "action": "buy",
    "price": "182.45",
    "stopLoss": {
        "type": "trailing_stop",
        "trailPercent": 1
    }
}
```

Or if you want to specify a trail price you can do that as well.

```json
{
    "ticker": "TSLA",
    "action": "buy",
    "price": "182.45",
    "stopLoss": {
        "type": "trailing_stop",
        "trailPrice": "5.00"
    }
}
```
