Need to turn my code into a function
Budget: $10 – $30 USD
I have code that analyses a single stock according to a variety of rules, and then tells me the best rule and provides the returns for that rule. I would like to change the code into a function that allows me to analyze multiple stocks at once.
Final project should return a list of analyzed stocks with each element in the list consisting of one row: a stock symbol, the best rule, and quarterly returns for the best rule.
Final project should return a list of analyzed stocks with each element in the list consisting of one row: a stock symbol, the best rule, and quarterly returns for the best rule.