From 25976156301bf39e7b8cfe29ebdf0767270052f1 Mon Sep 17 00:00:00 2001 From: algizn97 Date: Tue, 26 Aug 2025 19:10:57 +0500 Subject: [PATCH] Added states --- app/states/States.py | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/app/states/States.py b/app/states/States.py index e69de29..4ac4b7d 100644 --- a/app/states/States.py +++ b/app/states/States.py @@ -0,0 +1,39 @@ +from aiogram.fsm.state import State, StatesGroup + + +class state_update_symbol(StatesGroup): + symbol = State() + + +class state_update_entry_type(StatesGroup): + entry_type = State() + + +class TradeSetup(StatesGroup): + waiting_for_timer = State() + waiting_for_positive_percent = State() + + +class state_limit_price(StatesGroup): + price = State() + + +class CloseTradeTimerState(StatesGroup): + waiting_for_delay = State() + + +class SetTP_SL_State(StatesGroup): + waiting_for_take_profit = State() + waiting_for_stop_loss = State() + + +class update_risk_management_settings(StatesGroup): + price_profit = State() + price_loss = State() + max_risk_deal = State() + commission_fee = State() + + +class state_reg_bybit_api(StatesGroup): + api_key = State() + secret_key = State()