How to control a positon ,close half quantity,just execute once. Thanks

Created at 14 May 2020, 10:09
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!
LO

lordyy

Joined 24.03.2015

How to control a positon ,close half quantity,just execute once. Thanks
14 May 2020, 10:09


Hi,

   How to control a position  to close half quantity, just execute once.

   Does position has  Tag property ?

    Thanks a lot 


cTrader Automate
@lordyy
Replies

PanagiotisCharalampous
14 May 2020, 10:22

Hi lordyy,

You can use the ModifyVolume() method to change your position's volume. Positions have labels that can be used for filtering. 

Best Regards,

Panagiotis 

Join us on Telegram

 


@PanagiotisCharalampous

lordyy
14 May 2020, 10:27

RE:

PanagiotisCharalampous said:

Hi lordyy,

You can use the ModifyVolume() method to change your position's volume. Positions have labels that can be used for filtering. 

Best Regards,

Panagiotis 

Join us on Telegram

 

Thanks a lot


@lordyy