hedgequantx 2.9.244 → 2.9.245

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.244",
3
+ "version": "2.9.245",
4
4
  "description": "HedgeQuantX - Prop Futures Trading CLI",
5
5
  "main": "src/app.js",
6
6
  "bin": {
@@ -126,18 +126,15 @@ const executeAlgo = async ({ service, account, contract, config, strategy: strat
126
126
  sessionLogger.signal(dir, signal.entry, signal.confidence, signalLog.details);
127
127
 
128
128
  if (!running) {
129
- const riskLog = smartLogs.getRiskCheckLog(false, 'Algo stopped');
130
- ui.addLog('risk', riskLog.message);
129
+ ui.addLog('risk', 'Algo stopped - ignoring signal');
131
130
  return;
132
131
  }
133
132
  if (pendingOrder) {
134
- const riskLog = smartLogs.getRiskCheckLog(false, 'Order pending');
135
- ui.addLog('risk', riskLog.message);
133
+ ui.addLog('risk', 'Order pending - wait for fill');
136
134
  return;
137
135
  }
138
136
  if (currentPosition !== 0) {
139
- const riskLog = smartLogs.getRiskCheckLog(false, `Position open (${currentPosition})`);
140
- ui.addLog('risk', riskLog.message);
137
+ ui.addLog('risk', `Position open (${currentPosition}) - close first`);
141
138
  return;
142
139
  }
143
140