triangular_arbitrage_bot/config.yaml.example

55 lines
1.6 KiB
Plaintext

# Live trading mode. false = paper trades (test endpoint, no real orders).
live_mode: false
fused_engine:
# Log verbosity: INFO, DEBUG, or WARN
log_level: INFO
# Minimum predicted profit in basis points (0.01%) to fire a signal
signal_threshold_bps: 2
# Currencies to exclude from triangle enumeration entirely
excluded_currencies: [EUR, BRL]
# Currencies the bot holds as capital. Triangles must start and end in one of these.
hold_currencies: [USDT, USDC, USD1]
# KuCoin WebSocket base URL (override for alternate endpoint)
ws_url: wss://ws-api-spot.kucoin.com
# KuCoin token endpoint (public bullet for WS credentials)
token_url: https://api.kucoin.com/api/v1/bullet-public
# Initial WebSocket reconnect delay in seconds (exponential backoff)
reconnect_base_delay: 1.0
# Maximum WebSocket reconnect delay in seconds
reconnect_max_delay: 60.0
# WebSocket ping interval in seconds
heartbeat_interval: 18.0
# If true, apply 20% discount to fee rates (KCS holding benefit)
kcs_discount_active: false
# Number of parallel executor threads (each owns one signal slot, max 16)
concurrent_slots: 1
# Wait for WS balance settlement between live legs (requires private WS channel)
balance_wait_enabled: false
# Allow parallel triangles that share the same primary quote currency
# Useful when exchange balance can support multiple concurrent trades
allow_same_quote: false
# Maximum quote amount per triangle signal, per currency
initial_capital:
USDT: 5
USDC: 5
USD1: 5
# KuCoin API credentials for authenticated endpoints (top-level keys)
kucoin_api_key: ""
kucoin_api_secret: ""
kucoin_api_passphrase: ""