FIN551: Python Programming Assignment, SUSS, Singapore Evaluate the buying and selling rates/prices of the stock using the long_MA and short_MA trading signals
Question 1
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.
Print the buying and selling dates and prices of stock clearly in your IPYNB.
Question 2
Make use of the alpha vantage module to download the prices of stock from start_dt to end_dt
Question 3
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.
Print the final wealth of the trader, for both strategies, to an accuracy of two (2) decimal points, clearly in your IPYNB.
Question 4
Draw and present the outcome of the trader using the plot format given in Appendix A.
Buy Custom Answer of This Assessment & Raise Your Grades
- MKTG1001 Foundations of Marketing Assignment 2 Individual Report | The University of Newcastle (UoN)
- S2010C Health and Wellness Graded Assignment AY2025 Term 4 – Republic Polytechnic (RP)
- RBP040L051 Postgraduate Dissertation Assessment brief – University of Roehampton Business School
- ACFI 2070 Business Finance Individual Assignment – The University of Newcastle (UoN)
- PY2107 Experimental Investigation and Analysis of Behaviour Assignment 2 Written – Research Report , James Cook University (JCU)
- ACCT111 Financial Accounting Individual Assignment, Singapore Management University (SMU)
- RM71003 Category Management & Merchandising Assignment 1 – Singapore Management University (SMU)
- Visual Arts Management Assignment 2 Essay Singapore Art Science Museum – Nanyang Academy of Fine Arts (NAFA)
- BM1987 Employment Law In-Course Assessment (ICA 1) Guide , Nanyang Polytechnic (NYP)
- MA3005/MA3705 Control Theory Coursework 2025-26, Nanyang Technological University (NTU)
