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

  Implement the sieve of eratosthenes

Implement the Sieve of Eratosthenes and use it to find all prime numbers less than or equal to one million. Use the result to prove Goldbach's Conjecture for all even integers between four and one million, inclusive.

  When we sort a list of items, we need a basis

When we sort a list of items, we need a basis on which to compare the items to see whether one is bigger than another. If it's a list of numbers, Python just compares the numeric values; if it's a list of strings, Python compares the strings alpha..

  Write program that read a text file and prints only odd line

Write a program that reads a text file and prints out only odd lines to the screen. Thus, lines 1, 3, 5,... only printed. Update your odd lines program (Q1) to write odd lines to the screen and write then lines to another file.

  Write a function trans(m) which returns the transpose

Write a function trans(M) which returns the transpose of an n-by-n matrix M. The matrix M is represented by a list of n lists, each of length n. Transposing M means that each M[i][j] is swapped (once!) with M[j][i].

  Output the starting position and length

X Strings: Input a string. Output the starting position and length of the first occurrence of the longest substring of capital Xs in that string. The first letter is in position 1.

  Implement key exchange using the diffie-hellman algorithm

Implement key exchange using the Diffie-Hellman algorithm, when peer-to-peer connections are made between bots. Achieve con dentiality through encryption of the client-server communications with an appropriate block or stream cipher

  Student record due smartsite thursday 1211 1155 pm file

due smartsite thursday 1211 1155 p.m. file names grading.py ltbrgtall prompts for input and all output must match my

  Write python code that will execute a list

Write python code that will execute a list of functions with supplied parameters and report the observed runtime for each function run. Assume that the input file has a list of strings like so:

  Write a program that opens an encrypted file

Write a second program that opens an encrypted file and display its decrypted contents on the screen.

  Write a program that does simple packet routing

Write a program that does simple packet routing and your program will take three command-line arguments:

  Write a python program that draw as pie chart

Write a python program that draw as pie chart go n frequent lettering word.txt file. The program, will Use tkinter to build an interface to input n

  Prepare a python program

Prepare a Python program which evaluates how many stuck numbers there are in a range of integers. The range will be input as two command-line arguments.

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