How catch market trends

Assignment Help Python Programming
Reference no: EM131113182

Project -

Idea: How catch market trends?

Data:

-Sample? : Take aapl data for the period of 10 years (from 1 to 11 years back from now)

-Out­of­Sample:

1) one­year ? aapl? data (the last year period)

2) one­year ? goog? data (the last year period)

3) one­year ? msft? data (the last year period)

Strategies? :

1. Crossing n1­days moving average (MA) and n2­days moving average (n1>n2). When n2­days MA crosses n1­days MA, it is an indicator for the start of upward trend, and the other way around for downward trend. You may additionally include trading volume V as a parameter. Thus, the strategy has 3 parameters to calibrate: n1, n2, V.

2. Develop your own strategies, by analysing data. Your initial strategies should contain parameters, which are calibrated to the sample data.

Project steps:

1. Calibrate both strategies to sample data.

2. Run on out­of­sample, and calculate the following:

a. Annual log return r

b. Standard deviation of r

c. Build histogram for daily log returns and analyze it.

d. Describe the major risk, which is your strategy is subject to?

Attachment:- Assignment.rar

Reference no: EM131113182

Questions Cloud

Is the legal opinion given to sellco correct : If SELLCO does shift to sales of units exclusively can SELLCO be confident that all proceeds of sales from the units will be treated as capital gain and will never under any circumstance give rise to ordinary income? Explain your answer. Is the le..
How should corrs account for the sale without recourse : How should Corrs account for the sale, without recourse, of a February 1, 2010, note receivable sold on May 1, 2010? Why is it appropriate to account for it in this way?
Compute the amount of the year end adjustment necessary : Compute the amount of the year-end adjustment necessary to bring Allowance for Doubtful Accounts to the balance indicated by the age analysis. Then prepare the necessary journal entry to adjust the accounting records.
Calculate the starting torque and the maximum torque : Neglecting stator resistance and rotational and stray-load losses, and assuming constant rotor resistance, calculate the starting torque and the maximum torque in per-unit of full-load torque, as well as the slip at which the maximum torque occurs..
How catch market trends : How catch market trends? Crossing n1­days moving average (MA) and n2­days moving average (n1>n2). When n2­days MA crosses n1­days MA, it is an indicator for the start of upward trend, and the other way around for downward trend
Degree of risk presented by construction project hazards : It is critical to the safety management process of construction projects that risk is evaluated and managed in a systematic manner. Describe a methodology for systematically assessing the degree of risk presented by construction project hazards.
Define 5p of healthcare marketing to healthcare organization : Discuss the 5 P's of healthcare marketing to each healthcare organization. Elaborate how the 5 P's of healthcare marketing may impact the marketing potential of a healthcare organization.
Generic post-implementation evaluation form : Design a generic post-implementation evaluation form. The form should consist of questions that you could use to evaluate any information system. The form should evaluate the post-implementation activities and any problems associated with the impl..
Determine the slip at maximum torque : Neglecting stator resistance and rotational losses, and assuming constant rotor resistance, determine the slip at maximum torque and the slip at full load.

Reviews

Write a Review

Python Programming Questions & Answers

  Grade that will calculate and return a student''s exam

Write a function overall Grade that will calculate and return a student's 2316 exam average. It will accept five parameters, which correspond to exam1,2,3,4 and the Final grade. It should replace the lowest exam grade with the 2nd lowest exam grade

  Recursion to write a python function

Use recursion to write a Python function depth(LL), where LL is a nested list of lists of lists etc. of numbers (i.e., oat and int) and strings. We want to return the depth of nesting, i.e., how often, maximally, there is a list in a list etc

  Write a short program in python that turns on all leds

Write a short program in Python that turns on all LEDs, one at a time, in a looping fashion. When an LED is on, it should stay on for 1 second.

  Data file is a comma separated

The data file is a comma separated text values stored in a file with '.CSV' extension. The file has five columns corresponding to employee data fields listed above.

  Python scripting language

Your programming project will be a simple, working program, using a Python scripting language, which utilizes a good design process and includes: Sequential, selection, and repetitive programming statements as well as and At least one function call

  Write a python program that reads the contents of the data

Design an algorithm and use it to write a Python program that reads the contents of the data file into a list. The program should then loop, to allow a user to check various numbers against those stored in the list.

  Which stores and manipulates times on a 24 hour clock.

Complete the class Time, which stores and manipulates times on a 24 hour clock. As specified below, write the required methods, including those needed for overloading operators. Exceptions messages should include the class and method names, and ident..

  Write a program to convert an input value from base

Write a program to convert an input value from base 10 to a user selectable base between 2 and 16.

  Determine which value is on the most dice

Determine which value is on the most dice, and set those dice aside so they won't be re-rolled. Repeat steps (2) and (3) until you're out of rolls (in Yahtzee, it's a maximum of 3 rolls)

  Python code for grabbing data from yahoo finance

I am new to Phython. Using Spyder IDE Simple code. It is not recognizing by Data file see line 33 - The purpose of assignment is to get you familiar with the Python.

  A string is valid windows filename.

writing a function in python that verifies whether a string is valid windows filename.

  What is the purpose of variable fragnum

What is the purpose of variable fragNum in rdt1.0 sender code and how is the segmented message merged back in receiver? Which operation justifies it?

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd