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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hedgequantx",
3
- "version": "2.9.173",
3
+ "version": "2.9.174",
4
4
  "description": "HedgeQuantX - Prop Futures Trading CLI",
5
5
  "main": "src/app.js",
6
6
  "bin": {
@@ -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 === 100749) result.productCode = val; // product_code (ES, MES, MNQ, etc.)
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;