Wojciech_R:SQLite/ Native handling of SQL databases in MQL5 - MQL5 Articles
I suggest you read the documentation and analyse the source code for the Trade classes in the Standard Library.
This article shows an example of how to use struct Person with DatabaseReadBind() function to fill an object from a database. I want to do a similar thing but with Positions, Orders and Deals so I need structs for a Position, an Order and a Deal. Are these structs available in the standard library or do I need to write my own? I can only find struct MqlTradeTransaction but it does not appear to handle all properties that can be returned by HistoryDealGet...(), and related functions.
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
This article shows an example of how to use struct Person with DatabaseReadBind() function to fill an object from a database.