feat: implement autonomous Bybit demo trading agent

This commit is contained in:
Azimkin
2026-09-19 16:10:11 +02:00
commit 110b9fee0b
26 changed files with 3391 additions and 0 deletions

46
config.example.toml Normal file
View File

@@ -0,0 +1,46 @@
[deepseek]
api_key = "replace-me"
base_url = "https://api.deepseek.com"
model = "deepseek-flash"
thinking = true
max_tool_rounds = 256
[bybit]
api_key = "replace-me"
api_secret = "replace-me"
settle_coin = "USDT"
[telegram]
api_id = 123456
api_hash = "replace-me"
bot_token = "replace-me"
admin_user_ids = [123456789]
session_name = "llm-trade-bot"
[brave]
api_key = "replace-me"
[schedule]
timezone = "Europe/Warsaw"
times = ["09:00", "21:00"]
[scanner]
categories = ["spot", "linear"]
quote_coin = "USDT"
top_n_per_category = 10
min_turnover_usdt = 10000000
max_spread_bps = 20
candle_intervals = ["60", "240", "D"]
candle_limit = 200
[risk]
max_risk_per_trade_pct = 2.0
max_total_exposure_pct = 40.0
max_positions = 5
max_leverage = 3.0
limit_order_ttl_hours = 12
[storage]
database_path = "llm_trade_bot.db"
max_notes = 50
max_notes_chars = 20000