The article “Evaluating Market Data APIs: Two Simple Tips” was originally published on Databento blog.
Whether you’re new to using market data APIs or on the search for a new data provider, it can be challenging to determine what a quality API looks like. In our new series, we’ll share our perspective on important factors to consider when evaluating a market data API. In this edition, we cover what we like to call the exchange smell test: when every venue is called an “exchange.”
Exchange smell test
We previously had a customer point out an API he used that had everything either prefixed with “Exg” or suffixed with “Exch.”
This name is inaccurate for several reasons:
- Millions of active fixed-income instruments, such as corporate bonds, municipal bonds, and cash treasuries, are not traded on exchanges.
- A majority of FX trading takes place between banks, dealer markets, and ECNs like EBS, FXall, and Currenex.
- There are whole asset classes like forwards that, by definition, don’t trade on a centralized exchange.
- The notional volume of derivatives trading dwarfs that of equities. A significant amount of derivatives trading is off-exchange, e.g., swaps on SEFs.
- ATSes and off-exchange trading make-up almost half of US equities ADV.
- Non-exchange venues have important microstructural value for price discovery, e.g., some of these allow you to identify your counterparties. Through this, you can glean the percentage of contras that execute against a particular market-maker, how sharp a particular market-maker’s order flow is, follow a more sophisticated market-maker on the rollover, or know if the same counterparty has been picking you off repeatedly.
Exchange vs. venue: why does this matter?
When an API and its documentation fail the exchange smell test, it’s a hint that the API designers have limited or no institutional trading experience and aren’t prepared to extend the API beyond stock exchanges or a handful of retail trading venues. You’ll most likely spend much of your time as your API provider’s bug hunter, with support engineers who aren’t knowledgeable of any market microstructure.
If you’re writing a financial API, whether it’s for internal or customer use, it’s better to use the term “venue” unless you’re certain you’ll only ever deal with exchanges. This naming convention may seem pedantic, but it’ll creep fast into downstream code, pair programming sessions, research meetings, and trading desk conversations. Before you know it, you’ll start saying things like “FINRA TRF exchange” or “UBS exchange.”
Visit Databento blog for additional info on this topic
Disclosure: Interactive Brokers Third Party
Information posted on IBKR Campus that is provided by third-parties does NOT constitute a recommendation that you should contract for the services of that third party. Third-party participants who contribute to IBKR Campus are independent of Interactive Brokers and Interactive Brokers does not make any representations or warranties concerning the services offered, their past or future performance, or the accuracy of the information provided by the third party. Past performance is no guarantee of future results.
This material is from Databento and is being posted with its permission. The views expressed in this material are solely those of the author and/or Databento and Interactive Brokers is not endorsing or recommending any investment or trading discussed in the material. This material is not and should not be construed as an offer to buy or sell any security. It should not be construed as research or investment advice or a recommendation to buy, sell or hold any security or commodity. This material does not and is not intended to take into account the particular financial conditions, investment objectives or requirements of individual customers. Before acting on this material, you should consider whether it is suitable for your particular circumstances and, as necessary, seek professional advice.
Disclosure: API Examples Discussed
Throughout the lesson, please keep in mind that the examples discussed are purely for technical demonstration purposes, and do not constitute investment advice, an investment recommendation or investment research. Also, it is important to remember that placing trades in a paper account is recommended before any live trading.
Disclosure: Bonds
As with all investments, your capital is at risk.
Disclosure: Forex
There is a substantial risk of loss in foreign exchange trading. The settlement date of foreign exchange trades can vary due to time zone differences and bank holidays. When trading across foreign exchange markets, this may necessitate borrowing funds to settle foreign exchange trades. The interest rate on borrowed funds must be considered when computing the cost of trades across multiple markets.












Join The Conversation
If you have a general question, it may already be covered in our FAQs page. go to: IBKR Ireland FAQs or IBKR U.K. FAQs. If you have an account-specific question or concern, please reach out to Client Services: IBKR Ireland or IBKR U.K..
Visit IBKR U.K. Open an IBKR U.K. Account