hedgequantx 2.9.173 → 2.9.174
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -321,9 +321,9 @@ const decodeProductCodes = (buffer) => {
|
|
|
321
321
|
} else if (wireType === 2) {
|
|
322
322
|
const [val, newOff] = readString(data, offset);
|
|
323
323
|
offset = newOff;
|
|
324
|
-
// Field IDs from Rithmic API
|
|
324
|
+
// Field IDs from Rithmic API (response_product_codes.proto)
|
|
325
325
|
if (fieldNumber === 110101) result.exchange = val; // exchange
|
|
326
|
-
if (fieldNumber ===
|
|
326
|
+
if (fieldNumber === 110102) result.productCode = val; // product_code (ES, MES, MNQ, etc.)
|
|
327
327
|
if (fieldNumber === 110103) result.productName = val; // product_name
|
|
328
328
|
} else {
|
|
329
329
|
break;
|