MD Market Data Feed
After connecting to OpenYield, the Market Data session (-MD suffix) sends a full snapshot of top-of-book bids and offers, then streams incremental refresh messages as prices change. Each snapshot references a single security and carries its bid and offer entries; each incremental update carries one entry. Trade, Index, High, and Low entries arrive only as incremental updates.
| MDEntryType | Value | Description |
|---|---|---|
| Bid | 0 | Current top-of-book bid. Deleted when the bid side empties. |
| Offer | 1 | Current top-of-book offer. Deleted when the offer side empties. |
| Trade | 2 | Real-time print on the OpenYield ATS. |
| Index | 3 | Current mid delta to the previous day's closing mid (change on day). |
| High | 7 | High price on day. |
| Low | 8 | Low price on day. |