Instruments/Currency pairs array?

Created at 04 Feb 2014, 13:41
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!
JE

jeremysprite

Joined 03.02.2014

Instruments/Currency pairs array?
04 Feb 2014, 13:41


Hi there, 

Looking to create a function that assesses each currency pair's relative strength & weakness. I'm wondering if there's an in-built array that holds all possible instruments, symbols, currency pairs etc.?

 

I'm wanting to do something like:

foreach(string currency in currencyPairs)
{

 // Check if 200SMA is above current price

}

but can't find something for currencyPairs, or Symbols or something similar.

Is there something inbuilt or a way to enumerate automatically, or will I have to create a static list for now?

 

Thanks,

JS


@jeremysprite
Replies

Spotware
04 Feb 2014, 14:14

We don't have such functionality at the moment. You need to create a list of symbols manually.


@Spotware

DomnikInvest
30 May 2014, 01:40

RE:

Spotware said:

We don't have such functionality at the moment. You need to create a list of symbols manually.

When you plan to integrate this function?


@DomnikInvest

Spotware
30 May 2014, 09:47

We cannot provide an ETA but we do have plans to introduce Symbols collection.


@Spotware