Python Stock Trade Help/Tips/Methods | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Python Stock Trade Help/Tips/Methods

Python Stock Trader Help/Tips/Methods Hi, I have been recently working with Python and websites such as Quantopian. I have been interested in investing far before I learned programming, and so it was only natural that I drawn to combining the two. I am asking, as the title suggests, for tips, methods, and any help you can provide as to how to get started. How could I get the necessary stock data? How would I, most likely using numPy, sciPy, etc., process the data. And (not exactly last question) what algorithms could I use? One algorithm I have seen being used would be to observe the current zoomed in graph of a stock, and the search for similar occurrences in the past years to make a prediction. Thanks in advance.

29th Dec 2018, 5:02 AM
Matthew Grimalovsky
Matthew Grimalovsky - avatar
3 Answers
+ 6
I'd try ARIMA model, as this seems the most adequate for time series data and time-dependent patterns. In Python, the most commonly used lib for this is statsmodels. Check out those links for inspirations: https://machinelearningmastery.com/arima-for-time-series-forecasting-with-python/ https://medium.com/swlh/how-i-used-ml-to-predict-bitcoin-prices-82af7c655092
29th Dec 2018, 11:47 PM
Kuba Siekierzyński
Kuba Siekierzyński - avatar
0
posted comment in the code
30th Dec 2018, 7:48 PM
Ḿổḩảḿḿẻď Ấḿiň
Ḿổḩảḿḿẻď Ấḿiň - avatar
0
Thank you so much!
2nd Jan 2019, 1:20 PM
Matthew Grimalovsky
Matthew Grimalovsky - avatar