ISSN: 2754-6683 | Open Access

Journal of Marketing & Supply Chain Management

Quality Assurance in OTC and ETF Trading Applications in Secondary Market

Author(s): Bhupinder Paul Singh Sahni

Abstract

As more and more Investment banks, Hedge Fund Companies and Financial Institutions are investing in their Trading Platforms to achieve best possible Trading Solutions, it becomes very important to understand what trading scenarios need to be tested to ensure a robust and reliable product. A small glitch in the trading applications can have significant financial and reputational implications. It can cause companies to lose millions of dollars in transactions, there could be regulatory fines and penalties, litigation costs, and the reputation of the Company could also be at risk. This paper studies different scenarios that should be considered to be tested for OTC and ETF Trading Applications, to mitigate the risk of technical glitches and their adverse effects on the company.

Introduction

Trading Applications are quite complex, interacting with different external systems to fetch Market Data, pricing data, algorithmic trading strategies, different APIs connecting to different clients and dealers, downstream systems for reporting, etc. for all the Trade Flow Activities at Front Office, Middle Office and the Back Office. Different Clients and Dealers based on the Funds or Instruments they are trading on use different functionalities, and all apps are heterogeneous. A single system or a Trading Application might have a whole package of products ranging from Bonds, Derivatives, Stocks, etc. and each configured individually according to the way they are traded and based on each product’s regulatory requirements. All the systems require integration with numerous venues, making the overall system quite complex.

To add to the complexity of financial trading systems; increased competition, higher market data volume, and newer regulatory demands makes Firms try to maintain their competitive edge by constantly changing their trading strategies and increasing the speed of trading. Thus, considering the money and complexity of the Trading Applications, it becomes very important that whenever these Trading Applications are developed or upgraded with new functionalities, these systems should be thoroughly tested.

There are various financial Instruments trading on Primary Market and/ or the Secondary Market, on OTC Trading Applications and/ or ETF Trading Applications. The purpose of this paper is to detail out the similarities and differences in test scenarios to be considered while doing the Quality Assurance of OTC Trading Application versus an ETF Trading Application in secondary Market. But in order to understand the test scenarios to be tested on these Trading Applications, we will first explain the key differences between OTC and ETF Trading in Secondary Market.

Understanding OTC and ETF Trading

To understand what needs to be tested for OTC and ETF Trading Applications in Secondary Market, we need to understand first what OTC and ETFs stand for in the Investment Banking World and what it means by Secondary Market.

OTC stands for Over-the-Counter. The over-the-counter (OTC) market refers to the trading of securities outside of a formal exchange, usually in a broker-dealer network. Companies that list their securities on over-the-counter markets may not meet the regulatory requirements for listing on an exchange, and therefore turn to this alternative market to raise capital. A trade can be executed between two participants in an OTC market without others being aware of the price at which the transaction was completed. A variety of financial products can be traded over the counter, including stocks, bonds, commodities, and derivatives [1].

OTC (Over-the-Counter) trading applications are software trading platforms or systems used by traders to execute trades in financial instruments directly with counterparties, outside of traditional exchanges, primarily in the Secondary Market.

Some examples of OTC trading platform, also known as Broker- Dealer Trading platform include Bloomberg, Market Axess, Tradeweb, Bond Vision, etc.

img

ETF stands for Exchange-Traded Funds. An exchange-traded fund (ETF) are hybrid investment vehicles that can be bought and sold like an individual stock and traded on an exchange. Like traditional mutual funds, most ETFs invest in a diversified portfolio of stocks and bonds. Unlike traditional mutual funds, ETFs trade on a stock exchange [2].

Some examples of ETF trading applications include online brokerage platforms offered by brokerage firms, investment management platforms, and financial technology companies.

img

The secondary market is where investors buy and sell securities previously issued securities. Trades take place on the secondary market between other investors and traders rather than from the companies that issued the securities [3]. Both OTC and ETF trades are traded on Secondary Market.

Examples of Secondary market include national exchanges, such as the New York Stock Exchange (NYSE) and the NASDAQ.

Similarities in Quality Assurance for OTC and ETF Trading Applications

Although there are differences in Trading style of OTC and ETF Trading Applications, but there are many similarities in Testing these two different types of Trading Applications. There are key areas that need to be tested for both types of trading applications, some of them are listed below:

Functional Testing

  • Verify Order execution to ensure trades are executed promptly and at the expected prices as they were traded on.
  • Validate order routing to ensure orders are directed to the correct trading venues or counterparties.
  • Verify user interface design, layout, and navigation for ease of use.
  • Test functionality across different devices and screen sizes to ensure responsiveness and compatibility.
  • There could be many more functional testing scenarios based on the business specifications of what is being developed or upgraded.

API Testing

  • Different Clients and Dealers trade in OTC and ETF Trading Most of these Client and Dealer Companies interact with OTC and ETF Trading Platforms through their APIs (Application Programming Interfaces). APIs are used for communication between various components of the trading ecosystem. Most of the Trading Systems use FIX (Financial Information Exchange) Protocols to interact through the APIs. Some of the key aspects of API Testing are:
  • Verifying API endpoints are correctly performing the intended functions, such as retrieving market data, executing trades, and managing orders.
  • Test data synchronization between front-end trading interfaces, back-end trading systems, and external data providers verified to maintain data integrity
  • Data exchanged through APIs is accurate, consistent, and up-to-date across all systems and applications.

img

For API Testing, various Testing Tools also known as Passive testing tools are used for automated log collection, data structuring, monitoring, system behavior analysis and user certification [5]. Test tools allow analyzing high volume of data promptly, reacting to deviations in the system?s behavior from requirements, and troubleshooting [6].

Integration Testing

As Trading systems interact with different other upstream, downstream and other applications like pricing engine, market data, Client and Dealer systems, etc, so it is imperative to include Integration Testing of these Applications. Some examples of Integration Testing on OTC and ETF Trading applications include:

Both OTC and ETF Trading Applications have functional requirements that need to be tested. There are common functional requirements across OTC and ETF Trading platforms and should be tested to ensure the new functionalities work properly as per business specifications. Some key aspects of Testing Functional requirements on OTC and ETF Trading platforms could be as below [4].

  • Verify that users are able to place different types of orders like market orders, limit orders, stop orders accurately.
  • Verify integration of Trading Applications with external order management systems (OMS) for order routing, execution, and confirmation.
  • Verify Test order lifecycle management, including order entry, modification, cancellation, and allocation.
  • Verify synchronization of order statuses and updates between the trading application and OMS.

Depending on the number of systems that Trading Applications interact with, a greater number of test scenarios can be added to verify integration between them. Usually, Integration Testing is done after functional testing is complete.

Performance Testing

  • As volume of Trades on OTC and ETF Trading applications keep on increasing, performance Testing of the trading application also becomes Some aspects of Performance Testing include:
  • Measure the performance and scalability of the system under different workload conditions, including peak trading hours and high-volume trading days.
  • Conduct load testing to assess the system’s ability to handle concurrent requests, process large data payloads, and maintain responsiveness under heavy traffic.
  • Identify and optimize performance bottlenecks, such as slow response times, high latency, or resource constraints, to improve overall system
  • Performance Testing is usually performed after all the above Testing is complete.

Security Testing

Security testing is essential for trading applications to protect financial assets, maintain market integrity, comply with regulatory requirements, mitigate cyber threats, preserve customer trust, safeguard intellectual property, and ensure business continuity and resilience. Trading Applications carries sensitive data which includes company/ trader information, trade information and other sensitive information, due to which security testing imperative to be done on Trading applications.

  • Verify the security of trading applications against common vulnerabilities and threats, such as injection attacks, authentication bypass, and data exposure.
  • Test for proper encryption of sensitive data transmitted, including personally identifiable information (PII), financial data, and authentication tokens, etc.
  • Security Testing is an integral part of the overall risk management strategy for trading firms operating in today’s dynamic and interconnected financial

Differences in Quality Assurance for OTC and ETF Trading Applications

Testing OTC (Over-the-Counter) and ETF (Exchange-Traded Fund) trading applications involves considerations specific to each type of trading platform due to their distinct characteristics, products supported and functionalities. Some key differences in testing ETF and OTC trading applications are listed below:

Market Structure and Liquidity

ETF Trading Applications: ETFs trade on exchanges, where liquidity is typically higher due to the presence of market makers and continuous trading happening on Exchanges. Testing should focus on order execution efficiency, liquidity sourcing, and market impact on ETF applications.

OTC Trading Applications: OTC securities trade directly between counterparties outside of centralized exchanges, often resulting in lower liquidity and wider bid-ask spreads. Testing should assess counterparty risk management, price discovery mechanisms, and settlement processes.

Order Types and Execution

ETF Trading Applications: ETF orders are executed on exchanges using standard order types such as market orders, limit orders, and stop orders. Testing should verify the accuracy and speed of order execution, order routing algorithms, and compliance with exchange rules.

OTC Trading Applications: OTC trades involve negotiated terms between counterparties, allowing for more flexibility in order types and execution methods. Testing should ensure proper handling of negotiated trades, and bilateral agreements.

Regulatory Compliance

ETF Trading Applications: ETF trading is subject to regulatory oversight by entities such as the Securities and Exchange Commission (SEC), Financial Industry Regulatory Authority (FINRA) and exchange-specific regulations. Testing should focus on compliance with regulatory requirements for ETF creation/ redemption, reporting, and disclosure.

OTC Trading Applications: OTC trading may involve compliance with regulatory frameworks such as the Dodd-Frank Act for derivatives trading or MiFID II for European markets. Testing should assess compliance with trade reporting, transparency, and best execution obligations.

Counterparty Risk and Settlement

ETF Trading Applications: ETF trades settle through centralized clearinghouses, reducing counterparty risk and streamlining settlement processes. Testing should verify the accuracy and efficiency of trade settlement, including delivery versus payment (DVP) mechanisms.

OTC Trading Applications: OTC trades involve direct counterparty relationships, increasing counterparty risk and settlement complexity. Testing should assess counterparty credit risk management, collateralization practices, and settlement procedures.

Market Data and Price Discovery

ETF Trading Applications: ETF prices are determined by the underlying securities’ market prices, which are publicly available and continuously updated. Testing should ensure accurate market data dissemination, pricing transparency, and fair valuation mechanisms.

OTC Trading Applications: OTC securities may lack public market prices, requiring alternative pricing sources and valuation methods. Testing should validate the accuracy and reliability of pricing data, mark-to-market procedures, and valuation models.

Risk Management and Surveillance

ETF Trading Applications: ETF trading platforms implement risk management controls to monitor trading activity, detect anomalies, and prevent market abuse. Testing should evaluate risk controls, surveillance algorithms, and compliance with exchange rules.

OTC Trading Applications: OTC trading platforms must manage counterparty credit risk, operational risk, and market risk associated with bilateral transactions. Testing should assess risk mitigation measures, credit risk assessment tools, and compliance with risk management standards.

Conclusion

Next-generation trading architectures have to respond to increased demands for speed, volume, and efficiency. In order to have new features and architecture for trading applications, it becomes extremely important to test the trading applications before they are deployed in Production. Some of the test scenarios for testing OTC and ETF Trading applications have been described above, but there could be more scenarios depending on the configuration and complexity of the system, interactions with other systems and Business requirements. Tailoring testing approach according to these factors, developers and testers can ensure the robustness, reliability, and compliance of ETF and OTC trading applications in their respective market environments.

References

  1. Gobler E (2021) What Is the Over-the-Counter (OTC) Market?. com https://www.thebalancemoney.com/what-is-the-over-the-counter-otc-market-5193013.
  2. Wallace K (2021) What Is an Exchange-Traded Fund?. com https://www.morningstar.com/etfs/what-is-an-exchange-traded-fund.
  3. Carlson R Understanding How the Secondary Market Works. com https://smartasset.com/investing/secondary-market.
  4. Raschner P (2021) Algorithms put to test: Control of algorithms in securities trading through mandatory market simulations?. European Banking Institute Working Paper
  5. Alexeenko A, Matveeva A, Sharov D, Protsenko P, Itkin I (2013) Compatibility Testing of Clients Protocol Connectivity to Exchange and Broker TMPA’13: Proceedings of Annual IEEE/ACM International Workshop-Conference Tools & Methods of Program Analysis (TMPA) https://exactpro.com/ideas/research-papers/compatibility-testing-clients-protocol-connectivity-exchange-and-broker.
  6. Leonchik V, Sukhov A, Ushakov E, Itkin I, Lukina A (2015) Reference test harness for algorithmic trading platforms https://exactpro.com/ideas/research-papers/reference-test-harness-algorithmic-trading-platforms#:~:text=The%20less%20number%20of%20existing,collected%20by%20passive%20testing%20tools.
View PDF