HyperQuant Development Update — Market Data Server

In the last development report, we told you about a couple of important new products that HyperQuant developers were working on. We have good news — you will be able to benefit from some of the products from the early days of January.

Even though we have a new product, which we are developing. It is ready and now being tested in сlosed alpha testing.

Don’t hold your breath longer, here is our new Market Data Server!

Market Data Server

In recent years, computer science has joined advanced mathematics in revolutionizing finance and trading, the practice of buying and selling of financial assets for the purpose of making a profit. Trading has become dominated by computers; algorithms are responsible for making rapid split-second trading decisions faster than humans could make. The need for a rapid system which delivers fair, accurate and timely Market data is rising!

This what MDS (Market Data Server) is all about. It delivers a high-quality, one-stop-solution market data provider for cryptocurrency markets.

How it works

The architecture of HyperQuant Market Data Server

Each host, regardless of the destination, has the same common code. The only difference is the varying scripts run on each machine.

WS-Host Requests access:

  • To the WebSocket API interface of cryptocurrency trading platforms and collects real-time trades/deals information;
  • To the ClickHouse database to save accumulated data;
  • To the Dispatcher to inform him what intervals need to be downloaded and saved in ClickHouse.

Dispatcher Uses:

  • Its database (MySQL, PgSQL) for keeping records of stored and saved intervals for each platform;
  • The REST hosts for setting download intervals.

REST-Host Requests access:

  • To the REST interface of platforms in order to download the history data;
  • To the ClickHouse database to save accumulated data;
  • To the Dispatcher to inform him about stored ClickHouse intervals.

Queue

The Queue is responsible for running an arbitrary number of REST-hosts and intervals for execution. Thus, can add new hosts without changing the settings (URL) of the dispatcher.

Each platform has its own Queue. The system can access all platforms at the same time and simultaneously makes one request to each platform, i.e. (the system will not proceed to the next request until the previous request is finished. This is designed to avoid request Rate limit error.

Use-cases

Without further ado, the system has a wide range of use-cases. First of all, real-time market data stream aggregates the history data of many exchanges for such an essential thing as backtesting any kinds of strategies, algorithms and also bots. What is more, it allows to hedge risks by creating an advanced proactive portfolio risk management system. One more point appealing to the user is that MDS delivers the most accurate exchange rates, calculated by averaging the volume weighted price traded over multiple markets.

Besides, a user-friendly interface of MDS should be highlighted: It makes the use of the product natural and intuitive, allowing easy access to information on various exchanges by the type of data, time span, and different language.

How can I get access to your MDS?

Originally, we plan to use MDS as an integral part of our end-user-solutions mentioned in the previous articles both for B2C and B2B customers.

However, if we receive a considerable amount of requests, we will provide MDS service for professional trading houses, family office and hedge funds or any other clients.

Do not hesitate to ask any question in our social media!

The following are links to know more and be updated about HyperQuant