Nt1310 Unit 4 Lab Report

Superior Essays
noshort =1
Term - Regression Results ans = 0.0078 1.0945 -0.0000 -0.1332 -0.1963 -2.0644 0.7653 2.7589 -0.3459 -2.5557
The Adjusted R-squared is 2.00 percent
The Initial Sharpe Ratio is 0.14, this is for Lead = 4, Lag = 9, Holding Period = 0 (No Reverse Transaction)
Next Step Usually Takes 3 Minutes, Please Wait...
Elapsed time is 81.339232 seconds.
The Optimal Sharpe ratio is 0.68, this is for Lead = 20, Lag = 60, HoldingPeriod = 2
Total number of positions = 82
Average position duration = 2.19 periods
Average profit per position = $0.00
Maximum Drawdown = $0.56
从此结果我们可以得出结论The Optimal Sharpe ratio is 0.68, 据此我们可以根据Lead = 20, Lag = 60, HoldingPeriod = 2作为最佳优化位置,并根据MACD来判断与执行交易时机及仓位。 图1每次交易的收益或亏损 图2是三维空间里sharpe
…show more content…
tbl=table(GoldStrip(1:end-1),slopeL(1:end-1,1:1),slopeL(1:end-1,2:2),slopeL(1:end-1,3:3),RawRet(2:end)); mdl = fitlm(tbl); Predicted_RawRet = mdl.Fitted; Predicted_RawRet=[0;Predicted_RawRet];

% Print Regression Statistics disp('Term - Regression Results'); [mdl.Coefficients.Estimate mdl.Coefficients.tStat] fprintf('\nThe Adjusted R-squared is %0.2f percent\n', 100*mdl.Rsquared.Adjusted);
Term - Regression Results ans = 0.0078 1.0945 -0.0000 -0.1332 -0.1963 -2.0644 0.7653 2.7589 -0.3459 -2.5557
The Adjusted R-squared is 2.00
…show more content…
Run Backtest
Select a range of values for the Lead, Lag and Holding Period parameters for the strategy Run a parameter sweep and compute Sharpe's ratios LEAD = 1:1:60; LAG = 1:1:60; HoldingPeriod =

Related Documents

  • Improved Essays

    Nt1310 Unit 5 Lab Report

    • 1339 Words
    • 6 Pages

    The resistors R1, R2, RD, and RS calculated in the Prelab section were used to connect the circuit as shown in Figure 8-5. A load resistance RL of 10kΩ was used. The values of VD, VG, VS were measured and recorded. 3. The voltage vout was measured using an oscilloscope and the voltage gain AVG-D = vout/vin was calculated.…

    • 1339 Words
    • 6 Pages
    Improved Essays
  • Improved Essays

    We want the neural network to predict the stock price at a future date using stock price, EMA, RSI and MACD data of today and the last few days. The neural network can be configured to have a specified number of hidden layers. In addition to hidden layers the neural network has an input layer and an output layer. In the input layer we give the input that is stock price, EMA, RSI and MACD data of today and the last few days. The hidden layer comes between the input layer and the output layer.…

    • 588 Words
    • 3 Pages
    Improved Essays
  • Improved Essays

    I chose to change the inclination to a 75-degree angle for the third lab assignment. If I were a bird researcher studying a population of birds and the earth began to shift to a 75-degree inclination, the biggest change would be a rise in temperature at the latitude marked with the white “X”. At the original 35-degree inclination, the average temps for early spring are mild and as the months continue into summer; the average daily temperatures do not go above what is described as mild and a half. If a gradual shift began towards a 75-degree inclination, you would begin to see a rise in the temperatures for this region. In the early spring, you might still find mild temperatures but as the spring progresses into summer, the temperatures…

    • 389 Words
    • 2 Pages
    Improved Essays
  • Superior Essays

    Nt1310 Unit 3 Lab Report

    • 1315 Words
    • 6 Pages

    Objective Review: 1. Describe the purpose for using aseptic technique in collecting specimens Aseptic technique is used to prevent contamination of specimens by pathogenic organisms. The goal of maintaining asepsis is to not introduce any other organisms to the patient and prevent the spread of any organisms the patient may be carrying. Certain practices are used to help decrease this from occurring including cleaning, sanitizing, and disinfecting. Aseptic technique is an important process to prevent the spread of infection and diseases in the clinical setting (Hauswirth & Sherk).…

    • 1315 Words
    • 6 Pages
    Superior Essays
  • Improved Essays

    Nt1310 Unit 5 Lab

    • 778 Words
    • 4 Pages

    After the data was collected it was formulated into 4 tables relating to Alpha Amplitude, Alpha Frequency, Beta Amplitude and Beta Frequency, the tables can be found in the appendix section below. The tables contain ID numbers to identify the volunteers as well as columns to show the amplitude (μV)/frequency (Hz) of alpha and beta during the four periods of no music (NM1, NM2, NM3, NM4),CL, CH, RL and RH. The percentage increase for all the different types of music compared to no music was calculated. Each type of music was compared with the individual period of no music prior to it. Calculations are as follows: inc CL % =…

    • 778 Words
    • 4 Pages
    Improved Essays
  • Decent Essays

    1. Why is it a good idea to keep personal information confidential? I think it is important because when you keep it confidential you won’t get your identity stolen. 2. Summarize the components of a strong password?…

    • 74 Words
    • 1 Pages
    Decent Essays
  • Decent Essays

    Nt1310 Unit 1 Test Paper

    • 311 Words
    • 2 Pages

    \noindent According to Tabels \ref{4-tb7}-\ref{4-tb12}, we can get the following conclusions, which will correspond with Corollary \ref{4-cl7} (d)-(f). Note that $e^{exp}_{\alpha,\beta}/\rho(X)$ is denoted as the 2-parameter expectile when $X\sim Exp(100)$ and $e^{pareto}_{\alpha,\beta}/\rho(X)$ is denoted as the 2-parameter expectile when $X\sim Pareto(3,200)$. \begin{enumerate} \item[(i)] Table \ref{4-tb7}-\ref{4-tb9} and Tabel \ref{4-tb10}-\ref{4-tb12} illustrates that the 2-parameter expectiles increase as $\alpha$ increases for any fixed $\beta\geq \alpha$, $\rho$ and $X$. For example, $$e^{exp}_{0.8,0.9}/E[X]=166.33 \leq 204.01…

    • 311 Words
    • 2 Pages
    Decent Essays
  • Improved Essays

    Xacc/280 Week 6 Checkpoint

    • 1119 Words
    • 5 Pages

    Following the correct guidelines for significant figures is crucial in reporting accurate data that is reflective of the accuracy of the means used to collect it. It follows that the answer to any calculation can be no more nor any less precise than the least precise piece of data involved in the calculation. In this course, we will follow a set of rules meant to a) provide consistency to our significant figures and rounding and b) provide answers that agree, in accuracy and precision, with our measured data. These rules allow us to skip complex, although more accurate, data analysis, and provide us with a workable, functional, and accurate enough method for our purposes.…

    • 1119 Words
    • 5 Pages
    Improved Essays
  • Decent Essays

    Nt1310 Unit 6 Lab Report

    • 269 Words
    • 2 Pages

    In a day to day situation, if we want to find how much time does it take a person to go from Point A to Point B, we can use the equation T= D/V. In this equation, D represents the distances in meters between Point A and Point B, and V represents the speed (meter/ second) of how fast a person walks. In mathematical terms, it uses the total distance traveled to divided by the time to get an estimation of the average speed(second). But, if we want to find out the age of the universe ? Then, we need to take it into the universe’s perspective.…

    • 269 Words
    • 2 Pages
    Decent Essays
  • Improved Essays

    Nt1310 Unit 3 Lab

    • 1162 Words
    • 5 Pages

    1. What was the average score you calculated for the lab? What does this number mean in terms of ergonomically correct workplace? a. The average score we calculated for the lab was approximately 6.9/10, and what this number means in terms of an ergonomically correct workplace is that the room is not very ergonomically correct.…

    • 1162 Words
    • 5 Pages
    Improved Essays
  • Improved Essays

    STRATEGIC MANAGEMENT In assessing F1, attribute b) should be given the greatest weight. a) Situational Analysis: The situational analysis is appropriate for the strategic alternatives and business issues being addressed (good quality, depth, breadth, and make sense). It includes internal and external scans, a financial assessment of the company’s current state, and other relevant qualitative information not provided in the high level SWOT in the Backgrounder (e.g. strategic goals, stakeholder preferences, constraints, other SWOT points, KSFs/competitive advantages, and ratios).…

    • 3252 Words
    • 14 Pages
    Improved Essays
  • Great Essays

    Swot Analysis Of Capsim

    • 4542 Words
    • 19 Pages

    Simultaneously, the company will invest on capacity and automation gradually for all segments. This will bring to Erie a competitive advantage over other competitors in terms of long-term cost savings. In addition, maximum second shift capacity may be run as much as possible and a significant amount of money will also be spent on promotion and sales budgets so as to capture the highest possible percentage of market shares. Furthermore, Erie is willing to make losses at least in the first two years because in the remaining years of the simulation, when higher capacity and automation are ready as well as Human Resources and Total Quality Management functions are applied, Erie will become more competitive in the market and hence can make profit as the production costs will be…

    • 4542 Words
    • 19 Pages
    Great Essays
  • Improved Essays

    We then utilize the EG151 information to affectionate the standard deviation of interest Standard Deviation in weekly demand = 2.86 gaskets b. Cost Comparison After developing their plan, students can compare its annual cost with what would be experienced with current policies. Cost Category Current Plan Proposed Plan Ordering Cost $707 $313 Holding Cost $139 $314 TOTAL $846…

    • 1101 Words
    • 5 Pages
    Improved Essays
  • Improved Essays

    Nt1310 Unit 9 Lab Report

    • 812 Words
    • 4 Pages

    1. (8pts) From these data, graph your mean arterial pressure (MAP; see formula) and heart rate (y axes) vs. workload (in METS) on the x-axis (include resting results). Using this information, answer the following questions. Show ALL work. MAP…

    • 812 Words
    • 4 Pages
    Improved Essays
  • Improved Essays

    1. Is mercury an appropriate target for AGI? Why or why not? Please clearly cite examples for your reasons. (10 points)…

    • 839 Words
    • 4 Pages
    Improved Essays