Day 24: Trading Profile Integration & AltData Traction

~5 min read

What I Built

  • Fixed ProfileRouter initialization to include all 3 trading profiles (Momentum Crossover, Volatility Expansion, Catalyst Hunter)
  • Implemented dual Decision type handling for profile_system. Decision and deciders. Decision compatibility
  • Added robust column access handling for different dataframe capitalizations in indicator calculations
  • Integrated AltData Traction profile with multiple alternative data sources
  • Created comprehensive profile selection logic documentation
  • Validated integration with full test suite (156 tests passing)

Code Highlight

The AltData Traction profile integrates multiple alternative data sources with weighted ensemble scoring:

# Profile 4: AltData Traction - Alternative Data Sources
self.signal_weights = {
    "source_1": 0.30,    # Primary sentiment source
    "source_2": 0.25,
    "source_3": 0.20,
    "source_4": 0.15,
    "source_5": 0.10,
}

# Decision handling for both profile types
if hasattr(decision, 'shares'):
    # profile_system.Decision (traditional profiles)
    shares = int(decision.shares)
else:
    # deciders.Decision (AltData profile)
    position_value = current_equity * decision.position_size
    shares = int(position_value / decision.entry_price)

Architecture Decision

The AltData Traction profile uses a weighted ensemble of multiple alternative data sources with the primary source getting the highest weight due to its real-time nature and correlation with short-term price movements. This multi-source approach reduces false signals while maintaining sensitivity to emerging market narratives.

Testing Results

All integration tests pass with robust error handling:

  • ProfileRouter initialization with 3 trading profiles
  • Dual Decision type compatibility (traditional + AltData)
  • Trading loop startup and signal generation
  • Equity updates on simulated trades
  • Column access robustness across different data formats

Next Steps

Week 6 begins with live dashboard deployment and extended paper trading validation across all 4 profiles.


Follow @therealkamba on X for regular updates. View all posts →