How to get this value ,thanks .

Created at 05 May 2020, 10:01
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 get this value ,thanks .
05 May 2020, 10:01


Hello 

    How to get this value,thanks.


cTrader Automate
@lordyy
Replies

PanagiotisCharalampous
05 May 2020, 10:06

Hi lordyy,

There is no function in the API that will give you this value. You will need to calculate it yourself.

Best Regards,

Panagiotis 

Join us on Telegram

 


@PanagiotisCharalampous

lordyy
05 May 2020, 10:41 ( Updated at: 21 Dec 2023, 09:22 )

RE:

PanagiotisCharalampous said:

Hi lordyy,

There is no function in the API that will give you this value. You will need to calculate it yourself.

Best Regards,

Panagiotis 

Join us on Telegram

 

thanks.

how to calculate it ? class position has't tickvalue or pipsvalue.  And has't Symbol type  symbolname.


@lordyy

PanagiotisCharalampous
05 May 2020, 11:10

Hi lordyy,

You can use GetSymbol() method to get the symbol information of your position's symbol.

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous

lordyy
05 May 2020, 20:22

RE:

PanagiotisCharalampous said:

Hi lordyy,

You can use GetSymbol() method to get the symbol information of your position's symbol.

Best Regards,

Panagiotis 

Join us on Telegram

thanks a lot    ^_^


@lordyy