Discussing the article: "Market Simulation (Part 20): First steps in SQL (III)"

 

Check out the new article: Market Simulation (Part 20): First steps in SQL (III).

Although we can perform operations on a database containing about 10 records, the material is absorbed much better when we work with a file that contains more than 15 thousand records. That is, if we tried to create such a database manually, this task would be enormous. However, it is difficult to find such a database, even for educational purposes, that is available for download. But in reality, we don’t need to resort to that — we can use MetaTrader 5 to create a database for ourselves. In today's article, we will look at how to do this.

In the previous article, « Market Modeling (Part 19): First Steps in SQL (II)», we explained how to use scripts to add, modify, and even delete records in a database. However, to truly make progress in the explanation, we will need a database that contains a minimum of elements. This will allow you to truly understand what will be explained.

Although we can work with a database containing about 10 records, it will be easier to understand when we use a file with more than 15 thousand records. That is, if we tried to create such a database manually, this task would be enormous. However, it is difficult to find such a database, even for educational purposes, that is available for download. But in reality, we don’t need to resort to that — we can use MetaTrader 5 to create a database for ourselves. Although it won't be perfect, it will at least contain a large number of records. And that is exactly what we need.

To understand how we will do this—that is, use MetaTrader 5 to create a database and study the next topic—we need to go back a little in time.

There are people and even small organizations that use Excel as a database. Many of you may not believe this or may not notice that it happens. But it's not only Excel that is used this way; there are many other programs that are also used similarly. But for now, we will limit ourselves to Excel. When we use Excel as a database program, a corresponding option appears in the Excel ribbon settings. The image below shows what is meant.


Author: Daniel Jose