analyse_stop_losses#

API documentation for tradeexecutor.analysis.stop_loss.analyse_stop_losses Python function.

analyse_stop_losses(state)[source]#

Create a table with stop loss data.

  • Allows manually to examine stop loss trigger performance per each position

  • This table can ge aggregated to create statistics of stop loss performance

Returns:

DataFrame where each row is a position containing human-readable data about the stop loss performance of this position.

Parameters:

state (State) –

Return type:

DataFrame