STP can be used to prevent orders from the same MPID, trader or specific groups from matching or to create transfer transactions when they match.
STP can be set when creating market or client orders. The default values are configurable (see: /wiki/spaces/OMS3/pages/319586415).
When comparing orders to find out if STP should be enforced only the settings on the aggressive orders are taken into account (except for trader group).
STP Level - Specifies what information should be compared to find out if the STP action should be performed.
- None - STP is off
- MPID - The STP action will be performed if the matching orders have the same MPID
- MPID + Trader - The STP action will be performed if the matching orders have the same MPID and trader
- Specified Trader Group - The STP action will be performed if the matching orders have the same MPID and the same value in Trader Group (Max 2 letters)
STP Action - Specifies what action will be performed on the 2 matching orders
- Cancel passive order
- Cancel aggressive order
- Cancel both orders
- Create a transfer transaction