ESH1m dump, update

RIC: ESH1m (Raw Legacy Market Depth) - 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_PRICE ).serviceName( "ELEKTRON_DD" ).name( "ESH1m" ), client );
sleep( 60000 );                
    }
    catch ( const OmmException& excp ) {
        cout << excp << endl;
    }
    return 0;
}

Best Answer