Commit Graph
26 Commits
Author SHA1 Message Date
anorandClaude Opus 4.6 052d10dcb6 fix: логирование Telegram listener + strip @botname из команд
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 06:43:40 +10:00
anorandClaude Opus 4.6 7ed3fa7a09 fix: reply keyboard (кнопки в строке ввода) вместо inline
Persistent кнопки внизу экрана: Статус, Баланс, Плечо, Помощь.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 06:41:46 +10:00
anorandClaude Opus 4.6 57e027fe65 fix: /balance показывает эквивалент каждой монеты и итого в USDC
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 06:40:21 +10:00
anorandClaude Opus 4.6 71466386ab feat: /help, /balance, inline-кнопки в Telegram
- /help — справка по командам с inline-кнопками
- /balance — баланс на бирже (USDC, BTC, etc.)
- /start → /help
- Inline keyboard: кнопки для всех команд
- Callback query handling для кнопок

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 06:38:34 +10:00
anorandClaude Opus 4.6 38b02fd05b fix: улучшить форматирование /status в Telegram
Разделение на блоки: Портфель, Позиции, Статистика, Настройки.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 06:36:44 +10:00
anorandClaude Opus 4.6 0f6272f37a fix: показывать размер и стоп позиции в /status
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 06:34:45 +10:00
anorandClaude Opus 4.6 4317b175d4 feat: управление плечом через Telegram (/leverage)
- /leverage — показать текущее плечо
- /leverage N — установить плечо (1-10), обновляет config.yaml
- Плечо в стартовом сообщении и /status

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 06:33:20 +10:00
anorandClaude Opus 4.6 10a0ca05e9 feat: поддержка spot margin (leverage) — выключено по умолчанию
- config: leverage=1 в RiskConfig (1=off, 2-10=spot margin)
- risk.py: buying_power = equity × leverage в position sizing
- spot.py: _ensure_margin() включает маржу на бирже при leverage > 1
- executor.py: передача leverage в SpotExecutor

При leverage=1 поведение не меняется.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 06:31:30 +10:00
anorandClaude Opus 4.6 8a68ad458c fix: показывать комиссию в долларах (конвертация из BTC)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 06:27:19 +10:00
anorandClaude Opus 4.6 14daf4cf9b feat: показывать комиссию биржи при сделках
- spot.py: fetch_order после исполнения для получения fee
- executor.py: fee в Telegram-сообщениях [LIVE BUY OK fee=X]

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 06:25:20 +10:00
anorandClaude Opus 4.6 1691cf411b fix: снизить max_position_pct с 50% до 25%
50% депо в одной сделке — слишком агрессивно для $114.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 06:22:11 +10:00
anorandClaude Opus 4.6 45b39311a9 fix: обработка None в ответе Bybit API v5
Bybit возвращает filled/average/cost=None для market orders.
Используем fallback значения вместо float(None).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 06:16:22 +10:00
anorandClaude Opus 4.6 7ad696673e feat: переход на USDC + live mode
- spot.py: универсальная quote currency (USDT/USDC) вместо хардкода
- config.yaml: mode=live, testnet=false, BTC/USDC, 1 актив, $114 капитал

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 06:11:07 +10:00
anorandClaude Opus 4.6 ee46db896b feat: live spot trading через Bybit + двойной источник данных
- SpotExecutor (spot.py): buy/sell через ccxt с проверкой баланса, минимумов, dry-run
- signals.py: dual-source (ccxt + yfinance) с пагинацией по времени
- executor.py: live-хуки (buy/sell на бирже), откат phantom позиций, skip SHORT на спот
- config: binance → bybit, binance_symbol → symbol, data_source, LLM config
- .gitignore: защита .env с API ключами

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 05:44:17 +10:00
anorandClaude Opus 4.6 7eb3c67fce feat: DD circuit breaker с автоснятием через 48 часов
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 03:15:20 +10:00
anorandClaude Opus 4.6 3e497b72d5 feat: расширенное стартовое сообщение + команда /status в Telegram
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 03:10:36 +10:00
anorandClaude Opus 4.6 9b556e0b55 fix: перевести Telegram уведомления на русский
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 03:07:35 +10:00
anorandClaude Opus 4.6 f53afcfa5a feat: Telegram уведомления при старте/остановке бота
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 03:04:40 +10:00
anorandClaude Opus 4.6 f82cc4aa3a fix: форматирование цен с разделителями тысяч в Open Positions
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 03:02:42 +10:00
anorandClaude Opus 4.6 7bd7fa8231 feat: переход на 4H + 5 активов (BTC, ETH, AVAX, LINK, SOL)
4H показал лучший Sharpe для BTC (1.16 vs 0.81) и SOL (1.67 vs 1.36).
Добавлены AVAX (Sharpe 2.62), LINK (1.55), SOL (1.67).
Max open positions: 3.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 02:45:35 +10:00
anorandClaude Opus 4.6 d97bf3a7f0 fix: показывать статус открытой позиции в cycle log
Раньше при удержании позиции без стоп-события лог был пустым,
теперь выводит "holding LONG/SHORT @ price (stop, current price)".

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 23:30:32 +10:00
anorandClaude Opus 4.6 fedf2f3e37 feat: daemon mode (APScheduler) + Telegram alerts (A6-A7)
- `remizov-trader daemon` — auto-cycle по расписанию + web dashboard
- Telegram notify при каждом цикле (SIGNAL/CLOSE/CB events)
- Зависимости: apscheduler, httpx

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 23:24:17 +10:00
anorandClaude Opus 4.6 8800ffb604 feat: адаптивный движок (A1-A5) + UI улучшения (B3-B7)
Движок: adaptive corr threshold, regime adaptive K/stop, Kelly criterion,
correlation filter. UI: signal log, manual close, CSV export, dark/light
toggle, mobile responsive.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 23:22:59 +10:00
anorandClaude Opus 4.6 69fcf1b8d0 feat: кликабельные карточки дашборда с hover-эффектом
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 22:46:12 +10:00
anorandClaude Opus 4.6 f3441f4818 fix: передать cfg в контекст positions и history страниц
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 22:36:51 +10:00
anorandClaude Opus 4.6 98f2340a53 feat: RemizovTrader v0.1.0 — полный торговый продукт
- CLI: init, run, status, history, web
- Web dashboard: FastAPI + Jinja2 + HTMX + Pico CSS + Chart.js
- Core: model wrapper, shape confirmation, risk management, circuit breaker
- SQLite state management (trades, positions, equity, signals)
- config.yaml для всех параметров
- Paper mode с $100 начальным капиталом

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 20:53:55 +10:00