hedgequantx 2.9.200 → 2.9.201

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.
@@ -579,7 +579,8 @@ class HQXUltraScalpingStrategy extends EventEmitter {
579
579
  }
580
580
  }
581
581
 
582
- // Singleton instance
583
- const M1 = new HQXUltraScalpingStrategy();
582
+ // Export class (not instance) - consistent with HQX-2B pattern
583
+ // M1 is the class, use new M1() to create instances
584
+ const M1 = HQXUltraScalpingStrategy;
584
585
 
585
586
  module.exports = { M1, HQXUltraScalpingStrategy, OrderSide, SignalStrength };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hedgequantx",
3
- "version": "2.9.200",
3
+ "version": "2.9.201",
4
4
  "description": "HedgeQuantX - Prop Futures Trading CLI",
5
5
  "main": "src/app.js",
6
6
  "bin": {
@@ -27,7 +27,7 @@ const executeAlgo = async ({ service, account, contract, config, strategy: strat
27
27
  const strategyId = strategyInfo?.id || 'ultra-scalping';
28
28
  const strategyName = strategyInfo?.name || 'HQX Scalping';
29
29
  const strategyModule = loadStrategy(strategyId);
30
- const StrategyClass = strategyModule.M1; // loadStrategy normalizes to M1
30
+ const StrategyClass = strategyModule.M1;
31
31
 
32
32
  const supervisionEnabled = supervisionConfig?.supervisionEnabled && supervisionConfig?.agents?.length > 0;
33
33
  const supervisionEngine = supervisionEnabled ? new SupervisionEngine(supervisionConfig) : null;