Table of Contents


StateGetMMQuotes

Returns the current Memory State of a Symbol's MM Quotes.

Can only be called from inside your NxCoreCallback function.


    #define cszNxCoreStateGetMMQuotes "sNxCoreStateGetMMQuotes"
    typedef int (__stdcall *NxCoreStateGetMMQuotes) (unsigned short ReportingExg, NxCoreStateMMQuotes* pStateMMQuotes, NxString* pnxsSymOrCtc/*=0*/);

    int StateGetMMQuotes(
        unsigned short                  ReportingExg,
        NxCoreStateMMQuotes*            pStateMMQuotes,
        NxString*                       pnxsSymOrDateStrike=0
        );

Parameters

ReportingExg

The Reporting Exchange to get the set of Market Maker Quotes from.

pStateMMQuotes

Pointer to a NxCoreStateMMQuotes structure to be filled with the current Market Maker Quotes.

pnxsSymOrDateString

Pass the value zero to choose the current symbol for the callback message.
Pointer to an NxString obtained in a previous callback in the same instance from one of the following data members

Return Value

Returns 0 if successful, non-zero if failed

Comments

The value of the fields in pStateMMQuotes is undefined if the function fails.

Example

For example of this function see here