hedgequantx 2.6.156 → 2.6.157

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.156",
3
+ "version": "2.6.157",
4
4
  "description": "HedgeQuantX - Prop Futures Trading CLI",
5
5
  "main": "src/app.js",
6
6
  "bin": {
@@ -409,7 +409,9 @@ async function executeWithCustomStrategy(service, StrategyClass, strategyName) {
409
409
  console.log(chalk.cyan('\n SELECT ACCOUNT:\n'));
410
410
  accountsResult.accounts.forEach((acc, i) => {
411
411
  const balance = acc.balance !== null ? `$${acc.balance.toLocaleString()}` : 'N/A';
412
- console.log(chalk.cyan(` [${i + 1}]`) + chalk.white(` ${acc.name || acc.accountId}`) + chalk.gray(` - ${balance}`));
412
+ const propfirm = acc.propfirm || 'Unknown';
413
+ const accId = acc.rithmicAccountId || acc.accountId;
414
+ console.log(chalk.cyan(` [${i + 1}]`) + chalk.yellow(` ${propfirm}`) + chalk.gray(` (${accId})`) + chalk.green(` ${balance}`));
413
415
  });
414
416
 
415
417
  const accChoice = await prompts.numberInput('\n ACCOUNT #:', 1, 1, accountsResult.accounts.length);