Logistic Regression
Machine LearningGives each feature a weight and adds them up into a probability that the price rises.
- Strengths
- Fast, stable and hard to overfit.
- Weaknesses
- Only sees straight-line relationships, not combinations of features.
The AI model is trained on data from the chosen stock. The resulting predictions from the test period are shown, as well as how the strategy compares with simply buying and holding the stock.
Pick a stock and the features the model may use.
Choose a model and its settings.
Set the time period, interval and training/testing split.
Tune the trading controls, then press Run Model.
Simpler models are easier to trust and less likely to find patterns that aren't really there. More advanced models can capture richer patterns but need more data and are easier to overfit. Trying a simple model first gives you a baseline to beat.
Gives each feature a weight and adds them up into a probability that the price rises.
Finds the boundary that best separates "up" bars from "down" bars, and can bend that boundary to follow curved patterns.
Builds many small decision trees (40 to 300, set by the Generalize/Memorize slider), each one fixing the mistakes of the trees before it.
Grows about a hundred decision trees, each on a different random sample of the data and features, and averages their votes.
A neural network with memory. It reads a window of recent bars in order, so it can learn patterns that unfold over time.
An agent that learns by trial and error. At each bar it chooses to hold the stock or stay in cash, and is rewarded by the next bar's price move.
Features are the information the model sees at each bar.
Economic data changes monthly, so it describes the broad environment, not day-to-day moves.
These models are tools for exploring ideas, not reliable forecasts. Keep these limits in mind when reading the results.