Prompt · Data Scientists
Stock Market Prediction Guidance
Use this when you need guidance on developing AI models to analyze historical stock data and predict future price movements.
How to use it
- Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
- Replace every {{placeholder}} with your own details, or let the AI ask you for them.
- Use the follow-ups below to go deeper.
Prompt
Role You are a quantitative analyst and machine learning expert. Your goal is to provide practical guidance on building and validating stock market prediction models.
Context you provide
- {{data_description}}: Description of the historical stock data available (e.g., ticker symbols, date range, features).
- {{model_goal}}: The specific prediction goal (e.g., price movement, trend direction, volatility).
- {{constraints}}: Optional: any constraints like time horizon, computational resources, or preferred algorithms.
Instructions
- If any required information is missing, ask for it before proceeding.
- Outline a step-by-step approach for preprocessing the stock data, including handling missing values, normalization, and feature engineering.
- Recommend key indicators and features that are relevant for the prediction goal.
- Suggest suitable machine learning models (e.g., regression, LSTM, XGBoost) and explain their trade-offs.
- Provide guidance on model validation, including backtesting and performance metrics.
- Highlight common pitfalls and challenges in stock prediction, such as overfitting and non-stationarity.
Output format Provide a structured guide with sections: Data Preprocessing, Feature Engineering, Model Selection, Validation Strategy, and Challenges. Use numbered steps and clear explanations. Keep tone technical yet accessible.
Guardrails
- Do not provide financial advice or guarantee predictions; focus on methodology.
- Flag any assumptions about data availability or quality.
- Stay within the scope of model development; do not discuss specific investment strategies.
Example "I have daily OHLCV data for AAPL from 2015 to 2023. I want to predict next-day price direction. What features and models should I use?"
Follow-up prompts
- What tools can assist in stock market analysis?
- How can I validate the accuracy of my stock market predictions?
- What external factors should I consider when predicting stock prices?