|
dxFeed Graal Native SDK 3.9.0
|
Functions | |
| int32_t | dxfg_PriceLevelChecker_validate (graal_isolatethread_t *thread, dxfg_event_type_list *orders, int64_t timeGapBound, int32_t printQuotes, DXFG_OUT int32_t *isValid) |
| int32_t dxfg_PriceLevelChecker_validate | ( | graal_isolatethread_t * | thread, |
| dxfg_event_type_list * | orders, | ||
| int64_t | timeGapBound, | ||
| int32_t | printQuotes, | ||
| DXFG_OUT int32_t * | isValid ) |
Validates the order list.
PriceLevelChecker: utility class to check the consistency of an Order list in terms that in each time bid price is lower than ask price. There is additional information may be gathered during the check:
timeGapBound. Frees the list of map entries (OrderSource, [Symbol, ...]).
| [in] | thread | The current GraalVM Isolate's thread. |
| [in] | orders | The list of orders. |
| [in] | timeGapBound | The gap bound to check. |
| [in] | printQuotes | Enable a quotes logging during the check. |
| [out] | isValid | Set to 1 if orders are valid, 0 otherwise. |