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:
timestamp (datetime) –
p (TradingPosition) –
mid_price (float) –
execution_context (ExecutionContext) –
- Return type: