Ask Financial Management Expert

Stock Trading System

a. Download a financial data (e.g. stock, gold, and oil price) from any web site like Yahoo finance, Google finance, quandl.com, and so on. i. You may need to figure out how to extract the data from those web sites by yourself. It’s recommended to use API they provide but not parse html codes.

b. The data should be a time series data, which means x is date (1-dimension) and y is price.

c. Plot the price change using R i. plot(x,y)

d. Using linear regression and prices of last k days including current prices, predict next day’s prices. For example, if k = 5, the program will predict the price of 7/10/15 with actual prices during 7/5/15 ~ 7/9/15 assuming that we do not know the price of 7/10/15 on 7/9/15. Based on your predicted price of 7/10/15, you decide to buy or sell on 7/9/15. Of course, you will pay or earn the actual price of 7/9/15 if you buy or sell on 7/9/15. Then, again the simulation program continually predicts the price of 7/11/15 with actual prices during 7/6/15 ~ 7/10/15. Similarly you decide to buy, sell, or do nothing on 7/10/15 based on the predicted price of 7/11/15.

e. Using the predicted prices, do trading simulation for a long-term period and returns earning rate (final balance / balance at start). For example, if you predict that the price will increase tomorrow, you may want to buy one today and sell tomorrow. The trading strategy like when to buy and sell is up to the programmer.

f. We do not consider trading fees and tax in the simulation.

g. The simulation should be performed day by day (probably using for loop) but not necessary to buy or sell every day.

h. The simulation period is up to programmer (e.g. 1/1/2013 ~12/31/2014).

Financial Management, Finance

  • Category:- Financial Management
  • Reference No.:- M92255513

Have any Question?


Related Questions in Financial Management

Assignment problems1 on the day harry was born his parents

Assignment Problems 1. On the day Harry was born, his parents put $1600 into an investment account that promises to pay a fixed interest rate of 5 percent per year. How much money will Harry have in this account when he ...

1 activities of a company that require the spending of cash

1) Activities of a company that require the spending of cash are known as: A) Uses of cash. B) Cash on hand. C) Cash receipts. D) Sources of cash. E) Cash collections. 2) Relationships determined from a firm's financial ...

Module discussion forumto prepare for this discussion

Module : Discussion Forum To prepare for this discussion, review "Basics of Speechwriting" and "Basics of Giving a Speech" in textbook Chapter 15. Then watch this video of Apple founder and CEO Steve Jobs giving the 2005 ...

Launching a new product linefor this portfolio project

Launching a New Product Line For this Portfolio Project Option, you will act as an employee in a large company that develops and distributes men's and women's personal care products. The company has developed a new produ ...

Question 1 discuss valuing bonds and how interest rates

Question : 1) Discuss valuing bonds and how interest rates affect their value. Also consider the importance of the yield-to-maturity (YTM). 2) Discuss common stocks and preferred stocks. Also, which common stock valuatio ...

Introductionlast week you determined the root causes of the

Introduction Last week, you determined the root cause(s) of the problem you are trying to resolve for your final paper. As a reminder, the decision you are working on is the one that you selected in week two. This week, ...

You have owned and operated a successful brick-and-mortar

You have owned and operated a successful brick-and-mortar business for several years. Due to increased competition from other retailers, you have decided to expand your operations to sell your products via the Internet. ...

You will be conducting an interview with a market research

You will be conducting an interview with a market research professional or a company representative. Use the results of your research to make specific recommendations on how market research can be applied to the Marketpl ...

Question 1 what is marketing research what are the two

Question 1: What is marketing research? What are the two primary types of research? Question 2: What factors influence marketing research? Question 3: The role of statistics in business decision-making? Assignment : Sele ...

Chapter 74 for commercial banks what is meant by a managed

Chapter 7 4. For commercial banks, what is meant by a managed liability? What role do liquid assets play on the balance sheet of commercial banks? What role do money market instruments play in the asset and liability man ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As