check_flexible_triggers#

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

check_flexible_triggers(timestamp, p, mid_price, execution_context)[source]#

Check for custom trigger conditions.

  • Market limit

  • Partial take profit

Parameters:
Return type:

List[TradeExecution]