- Market reference browsing
- Limit price calculations
The pages above use information on market structure which has been coded into a JSON file, markets.json. This structural information can be read and used in a variety of languages.
var x = JSON.parse(jsonString);
The variable x will be an object with properties for each of the top level attributes in the JSON structure.
With kdb+ version 3.2:
x: .j.k raze read0 jsonFilename;
The variable x will be a dictionary with keys for each of the top level attributes.