hedgequantx 2.9.92 → 2.9.93

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.92",
3
+ "version": "2.9.93",
4
4
  "description": "HedgeQuantX - Prop Futures Trading CLI",
5
5
  "main": "src/app.js",
6
6
  "bin": {
@@ -413,6 +413,7 @@ const executeAlgo = async ({ service, account, contract, config, strategy: strat
413
413
 
414
414
  // Preload historical bars for HQX-2B strategy only (bar-based strategy)
415
415
  // Note: HISTORY_PLANT may not be available on all accounts (e.g., paper trading)
416
+ ui.addLog('debug', `Strategy: ${strategyId}, preloadBars: ${typeof strategy.preloadBars}`);
416
417
  if (strategyId === 'hqx-2b' && strategy.preloadBars) {
417
418
  try {
418
419
  ui.addLog('system', 'Loading historical bars...');
@@ -425,7 +426,7 @@ const executeAlgo = async ({ service, account, contract, config, strategy: strat
425
426
  }
426
427
  } catch (histErr) {
427
428
  // HISTORY_PLANT not available (common on paper accounts)
428
- ui.addLog('system', 'Historical data not available - warming up with live bars...');
429
+ ui.addLog('system', `Historical data error: ${histErr.message}`);
429
430
  }
430
431
  }
431
432
  } catch (e) {