hedgequantx 1.2.106 → 1.2.108

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": "1.2.106",
3
+ "version": "1.2.108",
4
4
  "description": "Prop Futures Algo Trading CLI - Connect to Topstep, Alpha Futures, and other prop firms",
5
5
  "main": "src/app.js",
6
6
  "bin": {
package/src/pages/algo.js CHANGED
@@ -291,9 +291,10 @@ const selectSymbolMenu = async (service, account) => {
291
291
  // Get descriptive name from mapping
292
292
  const description = symbolDescriptions[baseSymbol] || symbol.name || baseSymbol;
293
293
 
294
- // Format: "NQ Mar26 E-mini NASDAQ-100"
294
+ // Format: "NQ.Mar26 E-mini NASDAQ-100"
295
+ const symbolDisplay = monthYear ? `${baseSymbol}.${monthYear}` : baseSymbol;
295
296
  symbolChoices.push({
296
- name: chalk.yellow(baseSymbol.padEnd(5)) + chalk.cyan(monthYear.padEnd(7)) + chalk.white(description),
297
+ name: chalk.yellow(symbolDisplay.padEnd(12)) + chalk.white(description),
297
298
  value: symbol
298
299
  });
299
300
  }
@@ -773,7 +774,12 @@ const launchAlgo = async (service, account, contract, numContracts, dailyTarget,
773
774
  });
774
775
 
775
776
  hqxServer.on('log', (data) => {
776
- printLog(data.type || 'info', data.message);
777
+ let message = data.message;
778
+ // If account name is hidden, filter it from logs too
779
+ if (!showAccountName && realAccountName) {
780
+ message = message.replace(new RegExp(realAccountName, 'gi'), 'HQX *****');
781
+ }
782
+ printLog(data.type || 'info', message);
777
783
  });
778
784
 
779
785
  hqxServer.on('signal', (data) => {