Hello,
Im trying to understand trade function in the Ctrade class.
I don't get what is the difference between the Buy function and the positionOpen function.
I mean a Buy is to open a long position, so for what is positionOpen?
Thank you.
PositionOpen is a more general function - you can open both Buy and Sell and expose a pending order. Whereas the Buy function only opens a long position .
So why do we have the Buy if we can do it from the PositionOpen?
And for what we have the PositionClose? I mean if we open an opposite position with positonOpen its the same, isn't it?
Thank you!
So why do we have the Buy if we can do it from the PositionOpen?
...
Everyone acts as he likes. I, for example, like using Buy and Sell
...
And for what we have the PositionClose? I mean if we open an opposite position with positonOpen its the same, isn't it?
...
Everyone acts as he likes. I, for example, like using Buy and Sell
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hello,
Im trying to understand trade function in the Ctrade class.
I don't get what is the difference between the Buy function and the positionOpen function.
I mean a Buy is to open a long position, so for what is positionOpen?
Thank you.