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
|
@@ -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
|
-
|
|
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);
|