hedgequantx 2.9.176 → 2.9.177

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.176",
3
+ "version": "2.9.177",
4
4
  "description": "HedgeQuantX - Prop Futures Trading CLI",
5
5
  "main": "src/app.js",
6
6
  "bin": {
@@ -128,12 +128,14 @@ const fetchAllFrontMonths = (service) => {
128
128
  const exchange = decoded.exchange;
129
129
  const productName = decoded.productName;
130
130
 
131
- // Log first 5 decoded products
132
- if (sampleProducts.length < 5 && productCode) {
131
+ // Log first 5 raw decoded messages to see field names
132
+ if (sampleProducts.length < 5) {
133
+ const keys = Object.keys(decoded.toJSON ? decoded.toJSON() : decoded);
133
134
  sampleProducts.push({
134
- code: productCode,
135
- exchange: exchange,
136
- name: productName?.substring(0, 30)
135
+ code: productCode || 'NONE',
136
+ exchange: exchange || 'NONE',
137
+ name: productName?.substring(0, 30) || 'NONE',
138
+ fields: keys.slice(0, 10)
137
139
  });
138
140
  }
139
141