Added a button to select the direction of the first transaction.
This commit is contained in:
@@ -94,7 +94,10 @@ def get_additional_settings_keyboard(mode: str
|
||||
|
||||
if mode == "Switch":
|
||||
buttons.append(
|
||||
[InlineKeyboardButton(text="Направление первой сделки", callback_data="switch_side_start")]
|
||||
[InlineKeyboardButton(text="Направление первой сделки первой серии", callback_data="switch_side_start")]
|
||||
)
|
||||
buttons.append(
|
||||
[InlineKeyboardButton(text="Направление первой сделки последующих серии", callback_data="switch_side_second")]
|
||||
)
|
||||
|
||||
buttons.append(
|
||||
@@ -148,6 +151,19 @@ switch_side = InlineKeyboardMarkup(
|
||||
]
|
||||
)
|
||||
|
||||
side_for_switch = InlineKeyboardMarkup(
|
||||
inline_keyboard=[
|
||||
[
|
||||
InlineKeyboardButton(text="Лонг", callback_data="buy_switch"),
|
||||
InlineKeyboardButton(text="Шорт", callback_data="sell_switch"),
|
||||
],
|
||||
[
|
||||
InlineKeyboardButton(text="Назад", callback_data="additional_settings"),
|
||||
InlineKeyboardButton(text="На главную", callback_data="profile_bybit"),
|
||||
],
|
||||
]
|
||||
)
|
||||
|
||||
margin_type = InlineKeyboardMarkup(
|
||||
inline_keyboard=[
|
||||
[
|
||||
|
||||
Reference in New Issue
Block a user