Data Science - Color Labels - Interesting Rules - Machine Learning - Assessment Answer

Download Solution Order New Solution
Data Science - Color Labels - Interesting Rules - Machine Learning - Assessment Answer 
Assessment Task:

Questions:
1. implement a "buy-and-hold" strategy for year 2 - you invest $100 on the rst trading day (at the opening price) and sell at the last trading day at the (adjusted) closing price.
2. implement a trading strategy based on your labels for year
2 and compare the performance with the "buy-and-hold" strategy. Which strategy results in a larger amount at the end of the year?

For you stock, we will label each week as 'green" or "red".

  •  a "green" week means that is was a good week to be invested for that week (from the rst to last trading day of this week, typically from Monday to Friday).
  • a "red" week means that it was not a good week to be invested but to keep money in cash (e.g. prices fell or there was too much volatility in the price).
  • Take your stock and assign colors for two years: year 1 and year
  • For other years, put color "undened". To help you with this task, we included a sample script to display daily prices
  • for a stock ("MSFT") between two dates:

This script displays and saves a plot of prices between two dates. You will need to modify the names of input les and considering 10 days at a time, examine (visually) the behavior of your stock and assign a color label. The important point is to be consistent with your rules on assigning color labels. For example, you may decide that if a price this Friday is higher than last Friday, then it is green, otherwise red. But try to

This Data Analytics assessment has been solved by our Data Analytics experts at My Uni Paper. Our Assignment Writing Experts are efficient to provide a fresh solution to this question. We are serving more than 10000+ Students in Australia, UK & US by helping them to score HD in their academics. Our Experts are well trained to follow all marking rubrics & referencing style.

 

Be it a used or new solution, the quality of the work submitted by our assignment experts remains unhampered. You may continue to expect the same or even better quality with the used and new assignment solution files respectively. There’s one thing to be noticed that you could choose one between the two and acquire an HD either way. You could choose a new assignment solution file to get yourself an exclusive, plagiarism (with free Turnitin file), expert quality assignment or order an old solution file that was considered worthy of the highest distinction

 

Get It Done! Today

Country
Applicable Time Zone is AEST [Sydney, NSW] (GMT+11)
+

Every Assignment. Every Solution. Instantly. Deadline Ahead? Grab Your Sample Now.