Compare commits
	
		
			2 Commits
		
	
	
		
			2d7acb491e
			...
			46c890f7af
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 46c890f7af | |||
| 
						 | 
					f10500cc79 | 
@@ -98,7 +98,7 @@ async def set_take_profit_percent(message: Message, state: FSMContext) -> None:
 | 
				
			|||||||
            )
 | 
					            )
 | 
				
			||||||
            return
 | 
					            return
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        if safe_float(take_profit_percent_value) < 1 or safe_float(take_profit_percent_value) > 100:
 | 
					        if safe_float(take_profit_percent_value) < 0.1 or safe_float(take_profit_percent_value) > 100:
 | 
				
			||||||
            await message.answer(
 | 
					            await message.answer(
 | 
				
			||||||
                text="Ошибка: введите число от 1 до 100.",
 | 
					                text="Ошибка: введите число от 1 до 100.",
 | 
				
			||||||
                reply_markup=kbi.back_to_risk_management,
 | 
					                reply_markup=kbi.back_to_risk_management,
 | 
				
			||||||
@@ -219,7 +219,7 @@ async def set_stop_loss_percent(message: Message, state: FSMContext) -> None:
 | 
				
			|||||||
            )
 | 
					            )
 | 
				
			||||||
            return
 | 
					            return
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        if safe_float(stop_loss_percent_value) < 1 or safe_float(stop_loss_percent_value) > 100:
 | 
					        if safe_float(stop_loss_percent_value) < 0.1 or safe_float(stop_loss_percent_value) > 100:
 | 
				
			||||||
            await message.answer(
 | 
					            await message.answer(
 | 
				
			||||||
                text="Ошибка: введите число от 1 до 100.",
 | 
					                text="Ошибка: введите число от 1 до 100.",
 | 
				
			||||||
                reply_markup=kbi.back_to_risk_management,
 | 
					                reply_markup=kbi.back_to_risk_management,
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user