Closed rsmb7z closed 1 month ago
I'm not sure this is the right approach to take to fix the root cause?
The venue order ID should be generated by the matching engine only from _generate_venue_position_id
, potentially running in sandbox mode creates a race condition here because we have this real time element external to the matching engine or any backtest engine loop.
Needs a little more investigating.
@cjdsellers Yes you are right, even though it reduced the errors in my case with above but they are still there. Will update if I find any further clue.
Gave it another try as well in this pull request #1635. @rsmb7z would be interesting to see if it fixes your issue as well.
Pull Request
Fixes
venue_order_id
error on order event.Type of change
Delete options that are not relevant.