Stock trading system

Assignment Help Financial Management
Reference no: EM131446768

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).

Reference no: EM131446768

Questions Cloud

What is her cash flow under the current capital structure : Desert Rose, Inc., a prominent consumer products firm, is debating whether to convert its all-equity capital structure to one that is 30 percent debt. Currently, there are 9,000 shares outstanding, and the price per share is $64. Allison, a sharehold..
Determining the interest rate on home mortgage : A person's credit score is important in determining the interest rate on a home mortgage. According to Consumer Credit Counseling Service, a home owner with a $100,000 mortgage and a 520 credit score will pay $110, 325 more in interest charges over t..
What is the present value of investment : An investment will pay $1,628 two years from now, $3,158 four years from now, and $3,158 five years from now. If the opportunity rate is 9.80 percent per year, what is the present value of this investment?
Stock trading system : 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 A..
What is the yield to maturity of the bond : Use the following bond quote: Rating Moody’s/ Company Symbol Coupon Maturity S&P/Fitch High Low Last Change Yield% Int’l Systems ISU.GO 6.850% May, 2032 Baa2/BBB/BB– 102.817 91.865 93.231 1.650 7.482%. What is the yield to maturity of the bond?
What is the amount of each payment : You are borrowing $21,800. The terms of the loan call for monthly payments for 5 years at an annual 8.25 % interest rate. What is the amount of each payment?
What is your dollar profit on this transaction : Corn 5,000 bushels Contract Month Open High Low Settle Chg Open Int Mar 455.125 457.000 451.750 452.000 −2.750 597,913 May 467.000 468.000 463.000 463.250 −2.750 137,547 July 477.000 477.500 472.500 473.000 −2.000 153,164 Sep 475.000 475.500 471.750 ..
Features of corporate bond affect its yield : How do the following features of a corporate bond affect its yield: call option, convertibility, collateralization, sinking fund, and senior status. Why are the GSEs said to be characterized by moral hazard? Any evidence that this is a serious proble..

Reviews

Write a Review

Financial Management Questions & Answers

  Foreign company acquisition

Acquisition by a foreign company and the effects of that decision and the results of foreign exchange in Euro and the exchange rate differences.

  Financial management for profit and non profit organizations

In this essay, we are going to discuss the issues of financial management in a non-profit organisation.

  Method for estimating a venture''s value

Evaluate venture's present value, cash and surplus cash and basic venture capital.

  Replacement analysis

This document show the Replacement Analysis of modling machine. Is replacement give profit to company or not?

  Business finance task - capital budgeting

Your company is considering using the payback period for capital-budgeting. Discuss the advantages and disadvantages of this technique.

  Analysis of the investment

In this project, you will focus on one of these: the additional cost resulting from the purchase of an apple press (a piece of equipment required to manufacture apple juice).

  Conduct a what-if analysis

Review the readings and media for this unit, including the Anthony's Orchard case study media. Familiarise yourself with the Anthony's Orchard company and its current situation.

  Determine operational expenditures

Organisations' behaviour is guided by financial data. In the short term, such data will help determine operational expenditures; in the long term, historical data may help generate forecasts aimed at determining strategic plans. In both instances.

  Personal financial management

How much will you have left over each half year if you adopt the latter course of action?

  Sources of finance for expansion into new foreign markets

A quoted company is considering several long-term sources of finance for expansion into new foreign markets.

  Long term financial planning

This assignment is designed for analyze Long term financial planning begins with the sales forecast and the key input in the long term fincial planning.

  Explain the role of fincial manager

This assignment explain the role of fincial manager, function of manger. And what are the motives of financial manager.

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