hedgequantx 2.6.7 → 2.6.8

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.7",
3
+ "version": "2.6.8",
4
4
  "description": "HedgeQuantX - Prop Futures Trading CLI",
5
5
  "main": "src/app.js",
6
6
  "bin": {
@@ -3,7 +3,7 @@
3
3
  */
4
4
 
5
5
  const chalk = require('chalk');
6
- const { getLogoWidth, drawBoxHeaderContinue, drawBoxFooter, displayBanner } = require('../../ui');
6
+ const { getLogoWidth, drawBoxHeaderContinue, drawBoxFooter, displayBanner, prepareStdin } = require('../../ui');
7
7
  const { prompts } = require('../../utils');
8
8
  const { checkMarketHours } = require('../../services/projectx/market');
9
9
 
@@ -14,6 +14,9 @@ const { copyTradingMenu } = require('./copy-trading');
14
14
  * Algo Trading Menu - Simplified
15
15
  */
16
16
  const algoTradingMenu = async (service) => {
17
+ // Ensure stdin is ready
18
+ prepareStdin();
19
+
17
20
  // Check market hours first - block if closed
18
21
  const market = checkMarketHours();
19
22
  if (!market.isOpen) {