Discussing the article: "SQLite capabilities in MQL5: Example of a dashboard with trading statistics by symbols and magic numbers" - page 2
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
SQLite: native SQL database handling in MQL5
To reiterate: personally, I naturally use lightweight classes with indexes and the necessary methods, without any databases, which offer a clear advantage in terms of resource usage and performance.
It’s probably not for students, but it’s still a bit of a toy. After all, before you can use SQLite, you have to ‘sift through’ the entire history and feed it into a table element by element. And that’ll take ages. If you’re going to integrate this with MQL5, then reading the history of orders and trades should be done directly into the table… IMHO
I dug a bit deeper (using AI, Opus 5 — set up a test environment, generated synthetic data for 500,000 trades, 20 symbols, 20 strategies, and ran the performance tests).
On a side note: it would be interesting to compare it with MonetDB/e. It’s just as embedded and serverless as SQLite, but for a number of reasons it should be significantly faster on complex queries. Provided, of course, that the schema is sensible :-)
Just a thought: it would be interesting to compare it with MonetDB/e. It’s an embedded, serverless database just like SQLite, but for a number of reasons it should be significantly faster when handling complex queries. Provided, of course, that the schema is well-designed :-)