forked from kodorvan/stcs
40 lines
789 B
Python
40 lines
789 B
Python
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()
|