Error message by using "GetSymbol()"

Created at 02 Jun 2015, 15:07
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!
RO

RodMar

Joined 25.02.2015

Error message by using "GetSymbol()"
02 Jun 2015, 15:07


Hello,

the method "public MarketData.GetSymbol( symbolCode)"  outputs an error message when it doesn't find a corresponding Symbol

( for ex. "Symbol 'USDEUR'  not found"). Is there a way to suppressing the output of such an error message?_


@RodMar
Replies

Spotware
10 Jun 2015, 14:50

Dear Trader,

There is no way to suppress this warning. The correct way to obtain the EURUSD symbol is:

MarketData.GetSymbol("EURUSD");

 


@Spotware

Spotware
10 Jun 2015, 14:50

Dear Trader,

There is no way to suppress this warning. The correct way to obtain the EURUSD symbol is:

MarketData.GetSymbol("EURUSD");

 


@Spotware