hedgequantx 1.8.2 → 1.8.3

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.8.2",
3
+ "version": "1.8.3",
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": {
@@ -91,10 +91,17 @@ const numberInput = async (message, defaultVal = 1, min = 1, max = 1000) => {
91
91
  };
92
92
 
93
93
  /**
94
- * Select - just text input, map to value
94
+ * Select - display options and text input, map to value
95
95
  */
96
96
  const selectOption = async (message, options) => {
97
97
  prepareStdin();
98
+
99
+ // Display options
100
+ options.forEach((opt, i) => {
101
+ console.log(` [${i + 1}] ${opt.label}`);
102
+ });
103
+ console.log();
104
+
98
105
  const { value } = await inquirer.prompt([{
99
106
  type: 'input',
100
107
  name: 'value',