🇺🇸 MADE FOR US TRADERS
This bot is specifically designed to meet US regulatory requirements:
- ✅ SPOT TRADING ONLY (no futures, no derivatives)
- ✅ LONG POSITIONS ONLY (no shorting)
- ✅ NO LEVERAGE (compliant with US regulations)
- ✅ US EXCHANGES ONLY (Binance US, Kraken US)
- ✅ 100% Regulatory Compliant for US retail traders
Hard to find? Not anymore! This is one of the few truly USA-compliant automated trading bots available.
The bot is now a sophisticated multi-agent system with the following enhancements:
- External Configuration: All parameters are now managed via
config.jsonfor easy tuning. - State Persistence: The bot saves and loads its state (
capitalandpositions) to/fromtrinity_state.json, making it resilient to restarts. - Structured Logging: Detailed events, errors, and state changes are logged to
trinity_bot.logfor better monitoring. - Enhanced Entry Logic: The
TradingAgentusessignal_confidencewith a configurable threshold for more robust trade entries. - Efficient Real-time Data Fetching: Price data is fetched efficiently via WebSockets, replacing the less efficient REST polling.
- Dynamic Risk Management: The
RiskManagerAgentdynamically adjusts the trade size (dynamic_risk_pct) based on recent portfolio performance, adapting to win/loss streaks. - Portfolio Correlation Analysis: The
RiskManagerAgentprevents over-exposure by blacklisting highly correlated assets from new entries when similar positions are already open. - Backtesting Mode: A full backtesting framework is implemented, allowing the bot to run on historical data, with a utility script (
download_data.py) to fetch data from Binance.
You can now configure the bot's behavior in config.json, run python Desktop/Prpjects For The CLI's Only/download_data.py to get historical data, and then enable backtesting in config.json to test your strategy. For live trading, set backtest.enabled to false.