This is a question from high-frequency trading (HFT). A market maker sends transaction requests to the exchange's server via a certain number of gateways. At these gateways the requests incur some random delay, but these delays are not systematic, they vary from gateway to gateway, and they vary over time. The delays might correlate with quantities such as traded volume, or maybe others, but that's an unknown. The problem is to find an optimal gateway selection strategy to minimize some delay metric (max or average etc.). Now, the market maker has sent me a large amount of delay data (essentially a long list of gateway number, time of day, transaction delay) and asked me to find that optimal strategy. Problem is, the data he's sent me is already the result of some degree of optimization, and he wants me to improve the strategy. Now I'm not sure this is at all possible. Given that the data is the result of some non-ergodic selection strategy, it is biased, and this bias is clearly visible as the number of transactions per hour sent to each gateway varies way more than what would be expected if the gateway selection was purely random. The data being biased, I'm not sure I can do anything with it. In my view, to come up with a strategy, I would need the delay information at all points in time, and not only at those points in time when the market maker actually sends a transaction request. I'm asking the experts here for their view on this. Thanks in advance.
PS: Maybe if I formulate the problem more mathematically it's easier to understand. Suppose I have two sets of delay measurements: the measurements in the first set were taken at completely random points in time, while the measurements of the second set were taken at points in time that predicted shorter delays. Both sets come with a small number of measured covariates. While the delay distribution resulting from the first set, by the law of large numbers, converges to the true delay distribution, the delay distribution inferred from the second set does not. The question is this: based on the second set of measurements alone, is it - theoretically - possible to derive a predictor that correlates even better with shorter delays?