Swap Long, Swap Short in cAlgo

Created at 16 Jan 2019, 13:19
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!
KO

kontodospamu5

Joined 13.03.2017

Swap Long, Swap Short in cAlgo
16 Jan 2019, 13:19


Hello,

Once you enter the trade you are credited or charged swap points for holding position.

 

I know that I cAlgo in “Position” collection you can retrieve current value of swap just like shown in:

https://ctrader.com/api/reference/position

 

But my aim is to retrieve in cAlgo the information on SWAP before I enter the trade. For example in the following way:

Symbol symbol1 = MarketData.GetSymbol("EURUSD");
double swapLong = symbol1.SwapLong;

And preferably I would like it be in the form like in cTarder in on Symbol/RMB/Information: SWAP SHORT, SWAP LONG are presented.

Is there a way to get that data in  cAlgo?

Regards,

Piotr


@kontodospamu5
Replies

PanagiotisCharalampous
16 Jan 2019, 14:15

Hi Piotr,

This is not available currently but it is in our backlog. 

Best Regards,

Panagiotis


@PanagiotisCharalampous

.ics
24 Jan 2019, 02:15

This is an important one.


@.ics

DelFonseca
19 Feb 2019, 20:19

still unavailable right?

@DelFonseca

PanagiotisCharalampous
20 Feb 2019, 09:40

Hi DelTrader,

This is not available yet.

Best Regards,

Panagiotis


@PanagiotisCharalampous

daophuongfx
25 Dec 2019, 13:26

RE:

PanagiotisCharalampous said:

Hi DelTrader,

This is not available yet.

Best Regards,

Panagiotis

Hi Panagiotis,

Any update on this?


@daophuongfx

PanagiotisCharalampous
27 Dec 2019, 11:17

RE: RE:

daophuongfx said:

PanagiotisCharalampous said:

Hi DelTrader,

This is not available yet.

Best Regards,

Panagiotis

Hi Panagiotis,

Any update on this?

Hi daophuongfx,

The status remains the same.

Best Regards,

Panagiotis 

Join us on Telegram

 


@PanagiotisCharalampous

reyx
08 Jun 2020, 23:23

Any update on this

Now i`m taking this value to external APIs but id like to get it direct from cTrader Symbol properties


@reyx

infosecdiv
22 Mar 2024, 06:55 ( Updated at: 22 Mar 2024, 07:52 )

RE: RE: RE:

PanagiotisCharalampous said: 

daophuongfx said:

PanagiotisCharalampous said:

Hi DelTrader,

This is not available yet.

Best Regards,

Panagiotis

Hi Panagiotis,

Any update on this?

Hi daophuongfx,

The status remains the same.

Best Regards,

Panagiotis 

Join us on Telegram

 

Hi,

Any update on this?


@infosecdiv