Hi All,
A new API EMA has been created but the team are receiving a “connection type disallowed” log output msg in the ADS log. Websockets / 15000. The DACS id has been successfully tested in the DACS GUI.
Any ideas?
Many Thanks
@adam_saye1
Thank you for reaching out to us.
I assume that you are using an incorrect connection type when establish a connection to ADS.
When using a Websocket connection to ADS, the EMA configuration should look like this:
<Channel> <Name value="Channel_6"/> <ChannelType value="ChannelType::RSSL_WEBSOCKET"/> <CompressionType value="CompressionType::None"/> <GuaranteedOutputBuffers value="5000"/> <Host value="192.168.42.195"/> <Port value="15000"/> <WsMaxMsgSize value="61440"/> <WsProtocols value="rssl.json.v2, rssl.rwf, tr_json2"/> </Channel>
The ChannelType must be ChannelType::RSSL_WEBSOCKET and the consumer must be configured to use this channel.
<Consumer> <!-- Name is mandatory --> <Name value="Consumer_6"/> <Channel value="Channel_6"/> <!-- Dictionary is optional: defaulted to "ChannelDictionary" --> <Dictionary value="Dictionary_2"/> <XmlTraceToStdout value="0"/> <DefaultServiceID value="1"/> </Consumer>
If this doesn't solve the issue, please let us know the EMA version (C++, Java, or CSharp) and version number used by the application. Moreover, please share the EMA configurations used by the applicaiton.
Hi There,
Thank you for investigating our request, much appreciated.
I have shared with the DEV team and waiting for their response.
Our DEV team have re-coded using LSEG.Data (2.0.0), so no longer using EMA API, but thank you for the above.
They would like to request historical close prices for specific dates, will this be possible?
Adam
The answer has been provided in this discussion.