MMT_MARKET_PRICE

MMT_MARKET_PRICE using this domain, can I get a trade?


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( "ESM1" ), client );
sleep( 60000 );                
    }
    catch ( const OmmException& excp ) {
        cout << excp << endl;
    }
    return 0;
}
Sort by:
1 - 1 of 11

    @s61670,

    All the example code does is simply request for the data and you will need to determine which fields are relevant for your specific needs. Because of this, you will need to involve a data specialist to help you bridge the gap between the 2 different data services and try to match which fields are best suited. The API doesn't help you to decide this fact - it simply is a vehicle to get the data.

    I would suggest you open a ticket with the Refinitiv Helpdesk and get a data specialist involved with these types of questions. Once you have an understanding of the fields you need to extract, you will need to follow the EMA Consumer - Decoding MarketPrice Data tutorial.

    To get you started, using the raw output you included in the screenshot above and the raw output from the streaming data, this is an example of what I can see:


    RIC => Field: Key.Name (The item you requested)

    Underlying RIC => N/A (Confirm with data specialist)

    Domain => MarketPrice (The domain you requested)

    Date-Time => <There are many datetime fields, depending on what you want. Eg: Fields.TRADE_DATE, Fields.TRDTIM_1, etc>

    GMT Offset => N/A <All time fields are in GMT>

    Type => Field: UpdateType ("Update", "Trade").

    Note: Not all exchanges report this. If "Unspecified", you will have to deduce based on the fields coming in.

    Ex/Cntrb.ID => N/A (Confirm with data specialist)

    LOC => N/A (Confirm with data specialist)

    Price => Depends on asset (Eg: Field: Fields.PRIMACT_1)

    Volume => Field: Fields.TRDVOL_1

    Market VWAP => Field: Fields.VWAP

    Buyer ID => N/A (Confirm with data specialist)

    Seller ID => N/A (Confirm with data specialist)

    Bid Price => Fields.BID

    Bid Size => Fields.BIDSIZE

    Ask Price => Fields.ASK

    Ask Size => Fields.ASKSIZE


    etc