Change Speed
### Change the playback speed of a Market Replay session.
Send this request over a WebSocket connected to the Market Replay URL to adjust how fast the session plays back. The `speed` parameter is a percentage from 0 to 400, where 100 is real time and 400 is four times real time.
```js
const URL = 'wss://replay.tradovateapi.com/v1/websocket'
const myMarketReplaySocket = new WebSocket(URL)
myMarketReplaySocket.send(`replay/changespeed\n1\n\n${JSON.stringify({ speed: 100 })}`)
```
The server sometimes pauses a session on its own; while paused, it keeps sending `clock` events with `speed` set to `0`. Send another `replay/changespeed` request to resume playback.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
speed
Response
SimpleResponse
ok
errorText
Non-empty if the request failed

