How to check the Swap rate for any currency pair.. ?

Created at 30 Jun 2018, 11:52
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!
BU

budiali

Joined 06.06.2013

How to check the Swap rate for any currency pair.. ?
30 Jun 2018, 11:52


Dear Anyone,

There is a way in mql4 for MT4 platform for check the swap rates before open any trade position like:

- MarketInfo("EURUSD", MODE_SWAPSHORT);

- MarketInfo("EURUSD", MODE_SWAPLONG);

And in mql5 for MT5 like: 

- SymbolInfoDouble("EURUSD", SYMBOL_SWAP_LONG) ;
       
- SymbolInfoDouble("EURUSD", SYMBOL_SWAP_SHORT);

So, is there also a way in cAlgo for check/get the swap rates for any currency pairs BEFORE open any trade

position ?

Thank you.


@budiali
Replies

leohermoso
23 Feb 2019, 21:16

Any answer for this question?


@leohermoso

PanagiotisCharalampous
25 Feb 2019, 09:50

Hi leohermoso,

Swaps are not available at the moment in cTrader Automate API.

Best Regards,

Panagiotis


@PanagiotisCharalampous

leohermoso
26 Feb 2019, 21:55

Ok tks! I am also developing an application to cointegration, as you can see here

 

https://leohermoso.shinyapps.io/cointegrationBeta/

 

I asked permission for connect api, but not answer until now. Can you please check? tks


@leohermoso

leohermoso
26 Feb 2019, 22:10

RE:

Panagiotis Charalampous said:

Hi leohermoso,

Swaps are not available at the moment in cTrader Automate API.

Best Regards,

Panagiotis

Is it possible to retrieve it using fix protocol? 


@leohermoso

PanagiotisCharalampous
27 Feb 2019, 09:40

Hi leohermoso,

Swaps are not available via FIX API but they are available in Open API.

Best Regards,

Panagiotis


@PanagiotisCharalampous

leohermoso
27 Feb 2019, 15:21

RE:

Panagiotis Charalampous said:

Hi leohermoso,

Swaps are not available via FIX API but they are available in Open API.

Best Regards,

Panagiotis

Tks for your answer. I made a request for accessing the OPEN API however my status is "Submitted"  Can you help me with that?


@leohermoso

PanagiotisCharalampous
27 Feb 2019, 15:24

Hi leohermoso,

You should have received an email from me.

Best Regards,

Panagiotis


@PanagiotisCharalampous