ASPEN_WatchDepthOfMarket

 

 

 

 

Purpose

To invoke depth of market analysis on an instrument.

 

 

Call Syntax

#include <aspen.h>

...

AspenRequest(slp->server_session, ASPEN_WatchDepthOfMarket, &input, NULL);

...

 

 

Parameters

Input

An ASPEN_WATCH_DOM structure.

 

Output

NA

 

 

Structures

typedef struct wdominput

{

    ASPEN_INUM      inum;

    short           stopWatching;

} ASPEN_WATCH_DOM;

 

 

Remarks

Be sure to set stopWatching to ASPEN_NO to receive ASPEN_DomSnapshotNotice events on an instrument. To stop listening for such events for the respective instrument, set stopWatching to ASPEN_YES and make the call again.

 

 

Return Value

 

 

 

See Also

ASPEN_WatchDepthOfMarket

ASPEN_DOM_ELEMENT

ASPEN_DOM_SNAPSHOT_NOTICE

ASPEN_WATCH_DOM

ASPEN_SERVER_EVENT_NOTICES

ASPEN_SERVICES

MAX_DOM_LENGTH

ASPEN_DomSnapshotNotice

 

 

Example

server_list *slp   = list;

ASPEN_WATCH_DOM      input;

int                  retval;

input.inum         = inum;

input.stopWatching = ASPEN_YES; // This is  a stop watching

                                // request, otherwise this would

                                // be ASPEN_NO.

retval = AspenRequest(slp->server_session, ASPEN_WatchDepthOfMarket, &input, NULL);

 

 

©2006 Aspen Research Group, Ltd. All rights reserved. Terms of Use.