Check out the new article: Using JSON Data API in your MQL projects.
Author: Sara Sabaghi
Eh, but why is missing the main, the most productive data format, which takes 5-10 times less space compared to JSON, and which serialisation and deserialisation takes hundreds of times less time than JSON serialisation/deserialisation? Not a word about this format in the article.
What are you talking about?
which of the formats are you praising so much ???
with binaries - a step to the right/left and incompatibility with itself. With different platforms so immediately, even without steps
It will remain to shoot from Protocol Buffers :-)
it's not true at all. It's the other way round. There are more problems with json. Union and sizeof to help. On the server you changed the data structure. On the MQL5 client you also changed it and that's it. And we can easily receive and transfer these structures and arrays of these structures.
A real recent example. People were forming a starting boot JSON for 20 Mb. Parsing with Ajson library took about 2 seconds. They switched to binary. Now the size of the same data is 1.2 Mb. Parsing into necessary arrays of structures now takes 5 milliseconds. Parsing code became less despite the fact that third-party libraries are not used.
that's not true at all. It's the other way round. There are more problems with Json. union and sizeof to help. On the server you changed the data structure. On the MQL5 client you also changed it and that's it. And we can easily receive and transfer these structures and arrays of these structures.
A real recent example. People were forming a starting boot JSON for 20 Mb. Parsing with Ajson library took about 2 seconds. They switched to binary. Now the size of the same data is 1.2 Mb. Parsing into necessary arrays of structures now takes 5 milliseconds. Parsing code became less despite the fact that third-party libraries are not used.
I support it 100%
it's not true at all. It's the other way round. There are more problems with json. Union and sizeof to help. On the server you changed the data structure. On the MQL5 client you also changed it and that's it. And we can easily receive and transfer these structures and arrays of these structures.
A real recent example. People were forming a starting boot JSON for 20 Mb. Parsing with Ajson library took about 2 seconds. They switched to binary. Now the size of the same data is 1.2 Mb. Parsing into necessary arrays of structures now takes 5 milliseconds. Parsing code became less despite the fact that third-party libraries are not used.
The article is about API and how to use it. Do you know of an API that provides you with binary forex data? Then introduce it.
The next point is that you criticize why use a regular computer to play FIFA2024 when a quantum computer has faster processing. The answer is simple, I don't need that amount of processing power.
So the answer to this argument is that most of the data that is exchanged in this area in APIs is in the range of a few megabytes and there is no need for speed. Also, all Forex data providers, use standards like XML, JSON...

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Check out the new article: Using JSON Data API in your MQL projects.
Imagine that you can use data that is not found in MetaTrader, you only get data from indicators by price analysis and technical analysis. Now imagine that you can access data that will take your trading power steps higher. You can multiply the power of the MetaTrader software if you mix the output of other software, macro analysis methods, and ultra-advanced tools through the API data. In this article, we will teach you how to use APIs and introduce useful and valuable API data services.
Mixing external data could improve decision-making in algorithm trading. APIs enable data transfer between different systems and help traders access different data sources like real-time market data from other brokers and banks, access economic indicators not just economic calendars, access news feeds or social sentiment analysis, online artificial intelligence tools, online forecast system or anything you can imagine that are available in API services. In this article, we will show you how to use this tool in the best way.
Using API data in Expert Advisors (EA) can give you new and more insight into the trading market that helps you make informed decisions, create more dynamic trading strategies, and manage risks better. Using API data, traders can improve the accuracy of trading signals using advanced technical indicators and sophisticated charting tools. This integration extends the capabilities of platforms like MetaTrader and provides access to valuable market intelligence such as natural language processing (NLP) for market sentiment analysis and access to fundamental data and ne
Author: Sara Sabaghi