...PI C++
Hi there,
We just set up the account for Elektron C++ API in Refinitiv.
I tried the first example:
int main( int argc, char* argv[] )
{
try {
AppClient client;
OmmConsumer consumer( OmmConsumerConfig().host( "localhost:14002" ).username( "user" ) );
consumer.registerClient( ReqMsg().serviceName( "DIRECT_FEED" ).name( "IBM.N" ), client );
sleep( 60000 );// API calls onRefreshMsg(), onUpdateMsg(), or onStatusMsg()
} catch ( const OmmException& excp ) {
cout << excp << endl;
}
return 0;
}
I'm guessing i need the correct host with port and username. Where do i get these info from?
Also, what we are trying to do is to get real time prices of multpile Forex instruments in milliseconds. Which one is the best EMA? ETA?
Any guidance?
Thanks