FIN551: Python Programming |
-
- Evaluate the buying and selling rates/prices of the stock using the long MA and short MA trading signals. No shorting of stocks is allowed in the strategy, i.e. the trader can only sell the stock if she owned it in the first place.
- Given the initial_wealth of the trader, evaluate the final wealth on the end_dt of the analysis. For the purpose of comparison, also evaluate the final wealth of the trader if she chooses to buy and hold the stock from start_dt to end_dt.
- Draw and present the outcome of the trader using the plot format given in Appendix A
The post FIN551: Python Programming Evaluate the buying and selling rates/prices of the stock using the long MA and short MA trading signals. No shorting of stocks is allo appeared first on study tools.