While our APIs are flexible for all stocks, we recommend focusing on stocks within the consumer goods sector, such as Procter & Gamble (PG), Johnson & Johnson (JNJ), Coca-Cola (KO), and Walmart (WMT). These companies tend to follow macroeconomic indicators and exhibit consistent performance patterns, making them ideal candidates for predictive models.
Our predictive models incorporate a wide array of features to capture various factors influencing stock performance:
Market sentiment plays a crucial role in stock price movements. We incorporate sentiment scores derived from AI-powered analysis of financial news and social media as well as Put/Call Ratios. This allows our models to factor in public perception and user mood, which can significantly impact stock performance.
We utilize XGBoost for binary classification to predict whether a stock's price will increase or decrease over the next X days. XGBoost is chosen for its ability to handle non-linear relationships, robustness to outliers, and exceptional performance on tabular data.
For predicting exact returns X days into the future, we employ the Seasonal Autoregressive Integrated Moving Average with Exogenous Regressors (SARIMAX) model.
We understand that users need confidence in the models they rely on. To ensure the reliability and accuracy of our predictions, we employ rigorous model evaluation techniques:
We use cross-validation methods to assess model performance on unseen data, reducing the risk of overfitting.
For classification models, we evaluate:
For regression models, we assess:
By analyzing feature importance, we ensure that our models make decisions based on meaningful predictors, enhancing interpretability.
We strictly separate training and testing datasets in time series to prevent future information from influencing model training.
We anticipate that users may have questions about the robustness of our models and the strategies employed to ensure their reliability. Our commitment to transparency means we provide detailed insights into our modeling process, including the features used, model selection rationale, and evaluation methods. This allows users to make informed decisions based on our predictions.
While our models are built on robust statistical methods and comprehensive data, they are predictive tools and not guarantees of future performance. Users should consider multiple sources of information and consult with financial advisors before making investment decisions.