|
dxFeed Graal Native SDK 3.10.0
|
#include <dxfg_glossary.h>
Data Fields | |
| dxfg_java_object_handler | handler |
Represents rules for valid price quantization for a given instrument on a certain exchange. These rules are defined as a set of price ranges with associated price increments. Each price increment defines what price values are valid for corresponding price range - valid prices shall be divisible by corresponding price increment.
All price ranges shall be mutually exclusive and they shall cover entire space from 0 to infinity. Therefore all ranges can be represented as a sequence of numbers where increments are interleaved with range limits, with extreme limits (0 and infinity) omitted for short. Negative space (from negative infinity to 0) uses symmetrical price ranges.
There is a special value EMPTY which is used to represent unknown or undefined rules. This value has empty textual representation and is considered to have sole increment with value 0.
See dxfg_PriceIncrements_getText() and dxfg_PriceIncrements_getPriceIncrements() for details about used formats and representations.
NOTE:This class produces precise results for decimal numbers with at most 14 significant digits and at most 14 digits after decimal point.
https://docs.dxfeed.com/dxfeed/api/com/dxfeed/glossary/PriceIncrements.html
| dxfg_java_object_handler dxfg_price_increments_t::handler |
The handle of the Java object.