trade29.sc.SCBridge.start_replay#

SCBridge.start_replay(key: str, start_datetime: datetime, replay_speed: float = 1, skip_empty_periods: bool = True, replay_mode: ReplayMode = ReplayMode.REPLAY_MODE_STANDARD, clear_existing_trade_simulation_data_for_symbol_and_trade_account: bool = True) StartReplayResponse#

Starts a new chart replay at the specified start datetime.

For more explanation of the parameters and this method, see the scStartChartReplayNew method

Parameters:
keystr

The key of the SC-dX study applied to the target chart.

start_datetimedatetime

The datetime to start the replay at.

replay_speedfloat

Speed multiplier at which to run the replay.

skip_empty_periodsbool

Wether or not to skip periods with no data.

replay_modeReplayMode
clear_existing_trade_simulation_data_for_symbol_and_trade_account: bool

If set to True, trame simulation data will be cleared before replay start.

Returns:
StartReplayResponse