sec8
answered Aug 17 '21 00:00
in Python, programmers use different AI-based algorithms to predict stock prices.
The main strategy to predict the stock prices is as below :
1. Collect data
use API to collect stock real-time and historical data
many API is available free with many limitations, you should buy a proper API that gives faster data
2. Decide good strategy and develop it
- decide good AI Algorithm
- develop good AI Algorithm
- consider some good indicators of stock like MACD, RSI, Williams%R, and Bollinger Bands for decision making which stock to buy or sell.
- need to train the Ai program with test data
3. Backtest the strategy
-- Test program with real-time stock before using with big money