VIA Technologies PT-DVAX Bedienungsanleitung

Stöbern Sie online oder laden Sie Bedienungsanleitung nach Motherboards VIA Technologies PT-DVAX herunter. Stock Market Prediction Using Online Data - ETH E Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 64
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 0
Stock Market Prediction Using Online Data:
Fundamental and Technical Approaches
Nikhil Bakshi
Master’s Thesis in Computer Science
ETH Zurich, August 2008
Seitenansicht 0
1 2 3 4 5 6 ... 63 64

Inhaltsverzeichnis

Seite 1 - ETH Zurich, August 2008

Stock Market Prediction Using Online Data:Fundamental and Technical ApproachesNikhil BakshiMaster’s Thesis in Computer ScienceETH Zurich, August 2008

Seite 2 - Acknowledgement

3. Evaluating and visualizing trading strategiesThe system should evaluate and visualize the financial performance ofthe simulated strategies. This all

Seite 3 - Contents

1.5 System OverviewThe system consists of three main components: a crawler, a simulation serverand a client interface. Figure 1.2 visualizes the syste

Seite 4

trading strategies when instructed by the client. The server’s logic iswritten in Java and is equipped with unit tests.3. ClientThe client offers users

Seite 5

Chapter 2The Crawler2.1 Data SourcesIn an initial phase, a large number of websites were studied and the onesmost suitable for the project were identi

Seite 6 - List of Figures

Marketwatch• Regeneron reports favorable data from obesity trial [9:47am 05/19/03]• Incyte to cut 57% of jobs, close Calif. facility [4:24pm 02/02/04]

Seite 7 - List of Tables

2.1.3 Yahoo Finance Historical PricesAfter analyzing OpenTick[1] and Yahoo Finance, Yahoo’s historical stockquotes were selected. They consist of dail

Seite 8 - Overview

2.2.1 Preprocessing the NewsThe goal of the new preprocessing phase is to parse headlines and their exacttimestamps from the raw HTML. Below are some

Seite 9 - 1.3 Thesis Goal

2.2.2 Preprocessing the Analyst RecommendationsTwo issues surfaced while parsing analyst recommendations.Parsing research firmsSeveral notations were b

Seite 10 - 1.4 Thesis Scope

2.4 Data StatisticsA total of 381’479 historical quotes, 4’222 analyst recommendations, 31’651Marketwatch and 13’907 Reuters news articles were collec

Seite 11 - 1.5 System Overview

Java Package Descriptionserver.data.crawler The implementation of the crawlerserver.data.crawler.analyst The analyst recommendations subcrawler, in-cl

Seite 12 - 1.8 Thesis Organization

AcknowledgementI would like to thank my advisor Prof. Gaston Gonnet and my mentor Prof.Friedemann Mattern for the opportunity to work on this topic an

Seite 13 - The Crawler

Chapter 3The Simulation Server3.1 IntroductionThe simulation server’s job is to simulate trading strategies on the datacollected by the crawler. Table

Seite 14

3.1.2 Step 2: Computing Trading SignalsThe fundamental and technical signals for evaluating companies are describedin sections 3.2 and 3.3. A company

Seite 15 - 2.2 Architecture

3.2 Fundamental Trading Signals3.2.1 NewsInitially, the Text Mining Handbook[4], the crawled news articles and existingresearch papers in the area of

Seite 16 - 2.2.1 Preprocessing the News

hope that the good news will be followed by a continued positive price trend.Accordingly, 0.0 can be regarded as a signal for short selling due to bad

Seite 17 - 2.3 Storage

Figure 3.1: Share price and analyst sentiment (Cephalon Inc.)3.3 Technical Trading SignalsThe book ’New Trading Systems and Methods’[5] covers technic

Seite 18 - 2.5 Source Code Organization

3.3.1 Moving AverageA moving average is a simple technique to suggest buying and selling pointson a stock price chart. For this purpose, the average s

Seite 19

3.3.2 Bollinger BandsBollinger Bands are volatility-based upper and lower bands around the Mov-ing Average. Buy and sell signals are only triggered wh

Seite 20 - The Simulation Server

3.4 Combining Trading SignalsA trading strategy can use one or more of the signals specified in sections3.2 and 3.3. When using more than one signal, a

Seite 21 - 3.1.5 Step 5: Iteration

Figure 3.4: The neural network setupInputs• Moving AverageThe Moving Average signal can be expressed in a price-independentway by computingpricemoving

Seite 22 - 3.2.1 News

Hidden LayerOne hidden layer is used with a configurable number of neurons. A regularsigmoid function is used as a transfer function.OutputThe output i

Seite 23 - 3.2.2 Analyst Recommendations

Contents1 Overview 71.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71.2 Basics . . . . . . . . . . . . . . . . . . . . . . .

Seite 24 - 3.3 Technical Trading Signals

3.5 ArchitectureThe simulation server underwent several iterations during the course of thethesis. The final architecture was designed with two primary

Seite 25 - 3.3.1 Moving Average

3.5.1 TimeLineFigure 3.5 shows the components of the timeline. It consists of a TimeSeriesper company containing TimePoints. Each TimePoint holds the

Seite 26 - 3.3.2 Bollinger Bands

3.6 Unit TestingWhen working on a large project, small bugs can creep in and easily gounnoticed for some time (e.g. array indices off by one). Particul

Seite 27 - 3.4 Combining Trading Signals

Chapter 4The Client4.1 ArchitectureThe client lets users specify and simulate trading strategies. It is a browser-based interface built using the open

Seite 28

implement the AsyncCallback interface. All data transferred between theclient and the simulation server must be serializable and must implement theIsS

Seite 29

4.2.1 General SettingsClicking the tab ’Simulation Setup’ brings up some general settings (see figure4.3). This includes the simulation time period (st

Seite 30 - 3.5 Architecture

Figure 4.4 shows the available options for a strategy. Each strategy can begiven a name (1) and a list of trading signals (2). Each selected signal’sp

Seite 31 - 3.5.3 Adding a Signal

Figure 4.6: Portfolio value chartStrategy DetailsFor each of the strategies, following details are listed (see figure 4.7 for anexample).(1) Annual ROI

Seite 32 - 3.7 Source Code Organization

Figure 4.7: Performance statistics for each strategy4.3 Source Code OrganizationBelow is a list of the client’s source code packages.Java Package Desc

Seite 33 - The Client

Chapter 5Experimental Results5.1 Experiment DesignThe dataset was split into two disjoint sets and used for two experimentphases I and II. The followi

Seite 34 - 4.2 User Interface

3.1.5 Step 5: Iteration . . . . . . . . . . . . . . . . . . . . . 203.2 Fundamental Trading Signals . . . . . . . . . . . . . . . . . . 213.2.1 News .

Seite 35 - 4.2.1 General Settings

5.2 Phase I Results5.2.1 Moving Average and Bollinger BandsThis simulation compares the Moving Average and Bollinger Bands signalswith different window

Seite 36 - 4.2.3 Building the TimeLine

ObservationSeveral observations can be made. Firstly, using Bollinger Bands reducesthe number of signals compared to the Moving Average. This is reflec

Seite 37

Figure 5.2: Simulation of MACD, RSI and Stochastic5.2.3 Analyst SentimentThis simulation tests analyst sentiment signals. Different values for the min-

Seite 38 - 4.3 Source Code Organization

Figure 5.3: Simulation of the analyst sentiment signalObservationBased on figure 5.3, one can observe that the strategies tend to follow thegeneral tre

Seite 39 - Experimental Results

Strategies and ResultsStrategy Annual ROI # Positions Average DurationBuy And Hold Index -2.93% - -5% News +40.86% 804 119 days7% News +49.71% 551 168

Seite 40 - 5.2 Phase I Results

5.2.5 Simple CombinationsThese simulations test strategies that combine a technical and a fundamentalsignal. The resulting annual ROI values are liste

Seite 41

5.3 Phase II ResultsBased on the annual ROI values of the simulations in phase I, the followingsignals were selected for phase II.• 63-Day Bollinger B

Seite 42 - 5.2.3 Analyst Sentiment

RSI is a low performance strategy in both phases. Figure 5.5 visualizes theportfolio value over time for the strategies during phase II.Figure 5.5: Si

Seite 43 - 5.2.4 News

Common SetupInitial cash Cash to invest Maximum per trade Stop loss10’000 50% 500 -Strategies and ResultsStrategy Annual ROI duringphase IAnnual ROI d

Seite 44

Chapter 6ConclusionThe simulation results and observations in chapter 5 can be summarizedas follows. Note that these observations are restricted to th

Seite 45 - 5.2.5 Simple Combinations

6 Conclusion 48A The Nasdaq Biotech Index 50B Recommendation Phrases 53C Database Schema 54D Research Papers using News-Based Prediction 56E Technical

Seite 46 - 5.3 Phase II Results

• The combined technical and fundamental strategies that were simulateddid not consistently show better results than using individual signalsseparatel

Seite 47

Appendix AThe Nasdaq Biotech IndexThe following 152 companies make up the Nasdaq Biotech Index as of July2008 [Source: Yahoo Finance].Symbol Company N

Seite 48

Symbol Company Name Symbol Company NameDRRX Durect Corp. DSCO Discovery Laboratories Inc.DVAX Dynavax Technologies Corp. DYAX Dyax Corp.ENDP Endo Phar

Seite 49 - Conclusion

Symbol Company Name Symbol Company NameTHRX Theravance Inc. TRCA Tercica Inc.TRMS Trimeris Inc. TWTI Third Wave Technologies Inc.UTHR United Therapeut

Seite 50

Appendix BRecommendation PhrasesThe following 96 phrases were found in the analyst recommendations dataset.BuyAbove Average, Accumulate, Add, Attracti

Seite 51 - The Nasdaq Biotech Index

Appendix CDatabase SchemaThe diagrams below are simple representations of the database schema.marketwatch news pagesid symbol url htmlbigint(20) varch

Seite 52

yahoo analyst recommendationsid symbol date researchfirm action fromOpinion ...bigint(20) varchar(8) date varchar(128) varchar(128) varchar(128) ...

Seite 53

Appendix DResearch Papers usingNews-Based PredictionBelow is a list of the relevant research papers that were studied; they aresorted chronologically

Seite 54 - Recommendation Phrases

but the performance is not clearly documented. Two other research papersdescribing SVM-based approaches are [19] and [20].2004. Forecasting Intraday S

Seite 55 - Database Schema

Appendix ETechnical Trading SignalsIn addition to the Moving Average and Bollinger Bands covered in section 3.3,here are summaries of the other three

Seite 56 - Figure C.1: Database schema

List of Figures1.1 Nasdaq Biotech Index (2002 - 2008) . . . . . . . . . . . . . . . 91.2 System architecture . . . . . . . . . . . . . . . . . . . . .

Seite 57 - News-Based Prediction

signal =1.0 RSI(n) < 0.30.0 RSI(n) > 0.70.5 elsewhere RSI(n) =RS(n)1 + RS(n)and RS(n) =total upward price movements in the last n daystotal

Seite 58

References[1] OpenTick is a project that offers free historical stock market data.http://www.opentick.com[2] The Apache httpclient library is an open s

Seite 59 - Technical Trading Signals

[8] Neural Networks for Technical Analysis: A Study on KLCIYao, J.; Tan, C.; Poh, H.-L.International Journal of Theoretical and Applied Finance, 1999[

Seite 60 - E.3 Stochastic

[17] Language Models for Financial News RecommendationLavrenko, V.; Schmill, M.; Lawrie, D.; Ogilvie, P.; Jensen, D.; Al-lan, J.Ninth International Co

Seite 61 - References

Project Source Code (CD)• /src contains the source code• /test contains the test cases• /doc contains the documentation• /lib contains the libraries63

Seite 62

List of Tables2.1 Data sources . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122.2 Sample analyst recommendations for Amgen . . . . . . . .

Seite 63

Chapter 1Overview1.1 IntroductionFrom mainstream books offering investing advice to research papers analyz-ing mathematical prediction models, the stoc

Seite 64 - Project Source Code (CD)

1.2 BasicsIn order to clarify the goal of the thesis, two dominant schools of thought oninvesting must first be introduced.Fundamental analysisThis app

Kommentare zu diesen Handbüchern

Keine Kommentare