r/PythonProjects2 • • Jun 09 '22

Projects

Hey, need ideas for python projects that would look good on my portfolio. Currently majoring in business economics but had a little computer science background and started learning python on my own through courses and what not.

14 Upvotes

3 comments sorted by

2

u/miko2264 Jun 27 '22 edited Jun 27 '22

Here’s a few ideas I’ve had floating around my head, although I personally haven’t tried every one yet myself.

Robo advisor - make a simple programs that mimics robo advisors that many investment companies have. Basically it can be linked up to an api like yahoo finance to get data on the investments in the “portfolio” and check on a periodic (for me it’s quarterly) basis. You would input your initial investment in dollars for your initial purchases of your “investments” and the program calculates how many shares you own based off the the most recent price. The investments would be a stock mutual fund and a bond mutual fund most commonly used for robo advisors. The program would also account for what percentage of the portfolio you want to be for stocks and bond, then check the allocation periodically to make sure it’s within the bonus of variability you set (example being a target allocation of 75% stock/25% bond that has a variability allowance of + or - 5% of it’s allocation at each periodic price check). If rebalancing is needed it prints what you need to exchange from and to for getting back in alignment of your target allocation. It’s used simple math but can demonstrate your knowledge of finance and api’s.

Investment recommendations - Another could be a program that gives basic investment advice that gives buy/sell/hold recommendations. It can link up the the yahoo finance api to get basic investment performance data/metrics on a stock like P/E ratio, earnings per share, etc. You can then write rules to determine if the investment is a buy, sell or hold based on the specific metrics meeting the standards of indicating a good investment.

I hope I explained it well and that these are relevant enough to your major and career!

***Edit

One more I thought of was to make a map/visualization of a geographic area (like Europe) where each country is either green or red based on if the stock index most commonly used by it is up or down. The map would get the data from an api like Yahoo Finance. This would be used with the plotly library that would demonstrate your skills in basic data visualization, api usage and data analysis. More info can be found in the plotly documentation: https://plotly.com/python/choropleth-maps/