About
This skill provides a standardized pattern for closing the prediction loop in algorithmic trading systems by capturing outcome data when positions exit. It ensures that every prediction—whether it ends in a stop-loss, take-profit, or manual signal reversal—is accurately mapped to its result with precise magnitude and direction calculations. By implementing this pattern, developers can generate reliable datasets for model evaluation, accuracy analysis, and automated retraining triggers, solving the common problem of 'orphaned' predictions that lack ground truth data.