trade29.sc.SCBridge.subscribe_to_replay_updates#

SCBridge.subscribe_to_replay_updates(key: str) int#

Subscribes to updates on the replay status.

Given a key, this method subscribes to information on wether or not a replay is running or paused in the same chart on which the SC-dX study with the matching key is applied. With the returned request ID, the bridge’s response queue can be filtered for updates.

Parameters:
keystr

The key matching the key given to the SC-dX custom study in Sierra Chart.

Returns:
int

A request id that can be used to filter the SCBridge’s get_response_queue() for replay updates.