@@ -83,6 +83,16 @@ class BitFlowBot {
8383 { name : 'Manual (Fixed percentages)' , value : 'manual' }
8484 ] ,
8585 default : 'ml'
86+ } ,
87+ {
88+ type : 'list' ,
89+ name : 'positionSizing' ,
90+ message : 'Position sizing method:' ,
91+ choices : [
92+ { name : 'ML-Based (Dynamic, timeframe-adjusted)' , value : 'ml' } ,
93+ { name : 'Manual (Fixed 0.001 BTC)' , value : 'manual' }
94+ ] ,
95+ default : 'ml'
8696 }
8797 ] ;
8898
@@ -102,28 +112,15 @@ class BitFlowBot {
102112 } ,
103113 filter : ( input ) => parseFloat ( input )
104114 } ,
105- {
106- type : 'list' ,
107- name : 'positionSizing' ,
108- message : 'Position sizing method:' ,
109- choices : [
110- { name : 'ML-Based (Adaptive based on timeframe and volatility)' , value : 'ml' } ,
111- { name : 'Manual (Fixed 0.001 BTC)' , value : 'manual' }
112- ] ,
113- default : 'ml'
114- } ,
115115 ] ;
116116 const manualAnswers = await inquirer . prompt ( manualQuestions ) ;
117117 Object . assign ( answers , manualAnswers ) ;
118- } else {
119- // ML risk mode: default to ML-based position sizing
120- answers . positionSizing = 'ml' ;
121118 }
122119
123120 console . log ( `\nConfiguration: ${ answers . symbol } on ${ answers . timeframe } ` ) ;
124121 if ( answers . riskMode === 'ml' ) {
125122 console . log ( `TP/SL: ${ chalk . cyan ( 'ML-Based' ) } (Adaptive ATR + Volatility Analysis)` ) ;
126- console . log ( `Position Sizing: ${ chalk . cyan ( ' Dynamic (Adaptive based on timeframe)') } \n` ) ;
123+ console . log ( `Position Sizing: ${ chalk . cyan ( answers . positionSizing === 'ml' ? ' Dynamic (Adaptive based on timeframe)' : 'Fixed (0.001 BTC )') } \n` ) ;
127124 } else {
128125 console . log ( `TP/SL: ${ answers . stopLossPercent } % SL, ${ ( answers . stopLossPercent * answers . riskRewardRatio ) . toFixed ( 2 ) } % TP (${ answers . riskRewardRatio } :1)` ) ;
129126 console . log ( `Position Sizing: Fixed (0.001 BTC)\n` ) ;
0 commit comments