After filtering down to a set of securities for my universe, I notice that in OnData I'm getting duplicate entries for the same security, because of a ticker name change due to a merger. Specifically, I'm getting data for these symbols:

  • MDGL WCI18MAHLT9H
  • SNTA TPY4TEPZ3NFP

But in both cases symbol.Value is set to ‘MDGL’ and the data is otherwise identical. This is causing duplicate orders for the same security in my algo. Is there a good way to avoid processing the same security twice in OnData? I could skip duplicate tickers (symbol.Value), but there might be legitimate cases where two different securities share the same ticker value.