RIC: ESM1 - we have CME licensing and are subscribed to Refinitiv Real-Time Managed Distribution, but we will connect in May.
please make a 1 minute dump!!!!!!! of this code on this RIC
or
data on 3-4 updates messages.
please help me!
code
int main(int argc, char* argv[])
{
EmaString configFile;
if (argc == 2)
configFile = argv[1];
try {
AppClient client;
OmmConsumer consumer(OmmConsumerConfig(configFile).
username("MY_USERNAME").
password("MY_PASSWORD").
clientId("MY_CLIENT_ID").
consumerName("Consumer_4"));
UInt64 handle = consumer.registerClient( ReqMsg().domainType( MMT_MARKET_MAKER ).serviceName( "ELEKTRON_DD" ).name( "ESM1" ), client );
sleep( 60000 );
}
catch ( const OmmException& excp ) {
cout << excp << endl;
}
return 0;
}