소개
This skill provides expert guidance for integrating stateful Markov regime features into trading agents to enhance market awareness. It specifically addresses the common issue where Markov features appear as static or uniform probability outputs (0.33/0.34) in observation heatmaps, which renders them useless for machine learning models. By transitioning from stateless functions to the stateful InferenceObservationBuilder class, this skill enables accurate tracking of volatility and trend probabilities (low, medium, high and down, neutral, up). It is essential for developers using the alpaca_trading package or similar RL frameworks who need to ensure their models receive high-variance, actionable market regime data.