update_trade_triggered#

API documentation for tradeexecutor.strategy.stop_loss.update_trade_triggered Python function.

update_trade_triggered(timestamp, position, trade, trigger)[source]#

Trade was triggered during the trigger check.

  • Update data structures

  • Activated trigger is set flagged

  • All other triggers are moved to expires triggers list

  • The trigger list is emptied, as the trade now moves to the execution

Parameters: