|
|
|
|
|
Purpose |
Inform the application that a Depth of Market update is available. |
|
|
|
|
Notice |
For this event notice, the notice parameter of the AspenEvent() function receives a pointer to a ASPEN_DOM_SNAPSHOT_NOTICE structure.
This structure is dynamically allocated by Aspen and must be freed using the AspenFreeMemory() function after use. |
|
|
|
|
Structure |
typedef struct { ASPEN_INUM inum; short bidDepth; short askDepth; ASPEN_DOM_ELEMENT bidSet[MAX_DOM_DEPTH]; ASPEN_DOM_ELEMENT askSet[MAX_DOM_DEPTH]; }ASPEN_DOM_SNAPSHOT_NOTICE; |
|
|
|
|
Remarks |
NA |
|
|
|
|
See Also |
|
|
|
|
|
Example |
retval = AspenEvent(&event, ¬ice); if (retval == ASPEN_OK) { switch(event) { ... case ASPEN_DomSnapshotNotice: domNotice = (ASPEN_DOM_SNAPSHOT_NOTICE *)notice; printDomSnapshot(domNotice); break; } AspenFreeMemory(notice); } |
©2006 Aspen Research Group, Ltd. All rights reserved. Terms of Use.