Tags
python
Asked 2 years ago
29 Jul 2021
Views 187
Catherine

Catherine posted

How does Python predict stock price ?

How does Python predict stock price ?
sec8

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
Post Answer