StpType
Self-trade prevention strategies.
Values
| Key | Value | Description |
|---|
| None | 0 | Allow self-trades |
| Simple | 1 | Where a self-trade would otherwise occur, do not withdraw either order i.e. the order book can become crossed. |
| WithdrawNew | 2 | Where a self-trade would otherwise occur, withdraw the order being entered. |
| WithdrawResting | 3 | Where a self-trade would otherwise occur, withdraw the order that is resting in the order book. |
| WithdrawBoth | 4 | Where a self-trade would otherwise occur, withdraw both the new and resting orders. |
Referenced by
Tables