Is your feature request related to a problem? Please describe.
The problem is if I have a single market participant, and that participant for some reason places a buy order and a sell order, they can self-deal and therefore manipulate the price.
If not market manipulation, it can be a "shit what have i done" moment.
Describe the solution you'd like
I think adding an optional "participantId" to the order object can help. The logic should then check if the matching order is from the same participant
Is your feature request related to a problem? Please describe.
The problem is if I have a single market participant, and that participant for some reason places a buy order and a sell order, they can self-deal and therefore manipulate the price.
If not market manipulation, it can be a "shit what have i done" moment.
Describe the solution you'd like
I think adding an optional "participantId" to the order object can help. The logic should then check if the matching order is from the same participant