Skip to main content

Module trigger

Module trigger 

Source
Expand description

Trigger orders: they rest off the book until the mark crosses the trigger, then fill at market within a slippage or as a limit. Every take profit and stop loss is one.

Structs§

Exit
A take profit or stop loss: where it fires and how it fills.

Enums§

ExitPrice
How a take profit or stop loss fills once its trigger fires.

Constants§

TRIGGER_SLIPPAGE
The slippage a market take profit or stop loss takes past its trigger: the venue’s TP/SL page gives market TP/SL orders a tolerance of 10%.