Structs for Position, Order and Deal
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.
This article shows an example of how to use struct Person with DatabaseReadBind() function to fill an object from a database.