hedgequantx 2.6.30 → 2.6.32

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.6.30",
3
+ "version": "2.6.32",
4
4
  "description": "HedgeQuantX - Prop Futures Trading CLI",
5
5
  "main": "src/app.js",
6
6
  "bin": {
@@ -221,14 +221,17 @@ const launchAlgo = async (service, account, contract, config) => {
221
221
  const accountName = showName
222
222
  ? (account.accountName || account.rithmicAccountId || account.accountId)
223
223
  : 'HQX *****';
224
- const symbolName = contract.name;
225
- const contractId = contract.id;
224
+ const symbolName = contract.name || contract.symbol;
225
+ // contractId: use id for ProjectX, symbol for Rithmic
226
+ const contractId = contract.id || contract.symbol || contract.name;
226
227
  const connectionType = account.platform || 'ProjectX';
227
228
 
228
229
  // Tick size/value from API - null if not available (RULES.md compliant)
229
230
  const tickSize = contract.tickSize ?? null;
230
231
  const tickValue = contract.tickValue ?? null;
231
232
 
233
+
234
+
232
235
  // Determine execution path
233
236
  const useFastPath = isRithmicFastPath(service);
234
237