Trade Functions vs. Trade Classes

 

both provide more or less the same functionality but what is better to use while coding the EA?

 
What is a trade function?
 
But I guess that trade classes are based on trade functions.
 

Trade function - i like to know how my code's working. But when i use standart library - i'm not sure that it was written in best way. 

 
balazs321:
What is a trade function?

these are the trade functions according to mql5 documentation;

 

https://www.mql5.com/en/docs/trading

 

to me they look quite clumsy - I would recommend to use them only in the beginning stage - later on its better to implement own classes or objects based on CTrade. 

Documentation on MQL5: Trade Functions
  • www.mql5.com
Trade Functions - Documentation on MQL5
Reason: