The reality is that one or more ticks can be received before a order (which was filled) is reflected in the depth level. Given this, the affect of the order will not be represented in the depth.
To fix this, two different approaches could be taken:
- Estimate latency in hitting the depth x 2
Hold the order impact across any ticks within this period - Hold the order impact across ticks until trade confirm comes back
This is the most conservative approach. On some venues trade confirms are sent back with lower priority, so can be an overly conservative method of measurement.
Have taken the conservative approach at this point.
No comments:
Post a Comment