Обновить конфигурацию: исправить коридор отклонения, изменить идентификатор аккаунта, добавить загрузку конфигурации из YAML

This commit is contained in:
Dmitry
2026-01-06 10:29:17 +03:00
parent 90295d21e6
commit 196caea4a1
5 changed files with 56 additions and 3 deletions

View File

@@ -71,6 +71,7 @@ class RebalanceBot:
if lots != 0:
plan.append(
{
"figi": pos.figi,
"ticker": ticker,
"uid": uid,
"action": "BUY" if lots > 0 else "SELL",