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