Simple Multi Currency

Created at 27 Oct 2022, 00:31
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!
DA

daankouwen

Joined 27.10.2022

Simple Multi Currency
27 Oct 2022, 00:31


Hi,

I am trying to understand the process of using multicurrency to dive into statistical arbitrage. 

 

Somehow I can't seem to find a way to get open and close data from other currencies. It is probably extremely easy, but I didn't find a way on the forums.

I did see a post about Ctraders lacking ability to backtest with multiple currencies,but that topic was quite outdated. 

 

I hope that someone can show me a example on how to get open and close data from multiple currencies.

 

Thanks in advance!


@daankouwen
Replies

PanagiotisChar
27 Oct 2022, 09:25

Hi daankouwen,

Here is an example

var closePrices = MarketData.GetBars("XAUUSD").ClosePrices;

Aieden Technologies

Need help? Join us on Telegram

Need premium support? Trade with us

 


@PanagiotisChar