Inspiration
As people who frequently indulge in coding and trading, we decided to capitalize on our biggest interests and thought it would be best if we created a trading algorithm that gives long-term buy or sell signals for any stock listed on the NYSE and Yahoo Finance. As most hedge funds are startups run by small groups of people, we decided to make a trading algo to decrease the countless man-hours that go into a single buy or sell signal.
What it does
The algorithm derives the 20MA and the 100MA by accessing data from Yahoo Finance and compiles that with data straight from Wall Street Analysts and their current opinions to give a strong buy, moderate buy, weak buy, and sell signal based on the ticker(stock) inputted into the program.
How we built it
We built it by accessing Yahoo Finance's information through the yfinance library and used its built-in functions to receive values and compile it all together to answer the question: "Is this stock a good buy?"
Challenges we ran into
We ran into the issue of actually accessing the yfinance library as it was being read through a different folder, therefore wasn't being executed on our code, giving us an error message.
Accomplishments that we're proud of
We're proud of the fact that we created an accurate trading algorithm by taking historical Moving Averages and the most resent data regarding the company's earnings report.
What we learned
We learned how to integrate the Yahoo Finance API and the pandas python library.
What's next for Quant Market Algorithm
We plan to make a day trading algorithm that gives real-time market signals and automatically trades for you at the push of a button.
Built With
- python
- yahoo-finance
- yfinance
Log in or sign up for Devpost to join the conversation.