Double position?

Created at 01 Dec 2013, 01:31
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
VI

vito

Joined 22.07.2013

Double position?
01 Dec 2013, 01:31


How programmatically to double a position?

 

ClosePosition (position, volume) – allows to close a position partially.

The reverse is easily realized programmatically.

 

There was a button of doubling of a position. It is excellent. But how to realize it programmatically?

 

ClosePosition (position, volume+ volume)??? :)


@vito
Replies

Spotware
02 Dec 2013, 12:07

We will consider adding a method to double the positions volume. For now, you can execute the same trade and use the same Label to identify the positions.


@Spotware

cogs
02 Dec 2013, 12:47

Are you saying double position can be coded into a cBot to double a specific order/position?


@cogs

Spotware
02 Dec 2013, 14:59

No it is not possible to double the volume right now. We will let you know when it will be implemented.


@Spotware

vito
03 Dec 2013, 02:05

Thank, for the answer.

 


@vito

bachapk
04 Feb 2015, 20:45

RE:

Any Updates about adding Double Position via cAlgo? as it is now 2015. I guess it can be done easily with re-configuring ModifyPosition function by adding Volume parameters.

Spotware said:

No it is not possible to double the volume right now. We will let you know when it will be implemented.

 


@bachapk

AlexanderRC
04 Feb 2015, 22:15

There is a feature request at vote.spotware.com

Please cast you vote for Modify volume of a position


@AlexanderRC