# Run quick start script
python3 scripts/enable_profit_optimization.py
# Add your API keys to .env (edit the file)
# - COINBASE_API_KEY
# - COINBASE_API_SECRET
# - KRAKEN_PLATFORM_API_KEY (optional)
# - KRAKEN_PLATFORM_API_SECRET (optional)
# Restart NIJA
./start.sh
# Copy template
cp .env.profit_optimized .env
# Edit .env and add your API credentials
# Restart NIJA
./start.sh
Check your logs for these confirmations:
✅ Enhanced entry scoring: ENABLED (0-100 weighted scoring)
✅ Regime detection: ENABLED (trending/ranging/volatile)
✅ Stepped profit-taking: ENABLED (partial exits at multiple levels)
✅ Position sizing: 2%-10% (capital efficient)
When you see a trade:
🎯 Entry signal: LONG ETH-USD
Score: 72/100 (VERY GOOD) ← 0-100 scoring
Regime: TRENDING ← Regime detection
Position: $120 (6% of capital)
When taking profit:
💰 Partial exit: ETH-USD
Exit level: 1.5% profit ← Stepped exits
Profit: $18 locked in
Remaining: 90% still running
All settings in .env:
# Core optimizations
USE_ENHANCED_SCORING=true
USE_REGIME_DETECTION=true
ENABLE_STEPPED_EXITS=true
MIN_ENTRY_SCORE_THRESHOLD=60 # 60/100 minimum
# Position sizing
MAX_POSITION_PCT=0.10 # 10% max (was 20%)
# Multi-exchange
MULTI_BROKER_INDEPENDENT=true
COINBASE_CAPITAL_ALLOCATION=0.50 # 50%
KRAKEN_CAPITAL_ALLOCATION=0.50 # 50%
# Fee optimization (exchange-specific profit targets)
COINBASE_MIN_PROFIT_TARGET=0.016 # 1.6% (covers 1.4% fees)
KRAKEN_MIN_PROFIT_TARGET=0.008 # 0.8% (covers 0.67% fees)
🚀 PROFIT OPTIMIZATION CONFIGURATION LOADEDbot/profit_optimization_config.pypython3 -c "from bot.profit_optimization_config import get_profit_optimization_config; print('OK')"MIN_ENTRY_SCORE_THRESHOLD=55 (default is 60)✅ Kraken MASTER connectedPROFIT_OPTIMIZATION_GUIDE.md (14KB detailed guide)MULTI_EXCHANGE_TRADING_GUIDE.mdKRAKEN_TRADING_GUIDE.mdRISK_PROFILES_GUIDE.mdQuestions? Check:
PROFIT_OPTIMIZATION_GUIDE.md - Comprehensive documentationReady? Run the quick start script and start profiting smarter!
python3 scripts/enable_profit_optimization.py