Swap Long, Swap Short in cAlgo
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
Replies
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
@PanagiotisCharalampous
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
Hi,
Any update on this?
@infosecdiv
PanagiotisCharalampous
16 Jan 2019, 14:15
Hi Piotr,
This is not available currently but it is in our backlog.
Best Regards,
Panagiotis
@PanagiotisCharalampous