MarketData.GetSymbol message

Created at 02 Mar 2019, 22:39
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!
MZ

MZen

Joined 29.12.2014

MarketData.GetSymbol message
02 Mar 2019, 22:39


Hi,

I am using MarketData.GetSymbol (SymbolCode) and if SymbolCode does not exist there will be message in log "Symbol XXXYYY not found".

I assume this message is coming from above method and it is not exception, since Try/Catch did not work.

I would like to get rid of it.Can anyone tell me  how to do it?

 

 


@MZen
Replies

PanagiotisCharalampous
04 Mar 2019, 11:13

Hi MZen,

You cannot get rid of the message.

Best Regards,

Panagiotis


@PanagiotisCharalampous

MZen
05 Mar 2019, 17:53

RE:

Panagiotis Charalampous said:

Hi MZen,

You cannot get rid of the message.

Best Regards,

Panagiotis

Is there any other methods to check symbol existence, except MarketData.GetSymbol?

Thank you


@MZen

PanagiotisCharalampous
05 Mar 2019, 17:55

Hi MZen,

We have released today v3.5 where you can find Symbols collection that gives access to all symbols.

Best Regards,

Panagiotis


@PanagiotisCharalampous

MZen
05 Mar 2019, 17:56

RE:

Panagiotis Charalampous said:

Hi MZen,

We have released today v3.5 where you can find Symbols collection that gives access to all symbols.

Best Regards,

Panagiotis

Great.


@MZen