An Efficient Implementation of the Backtesting of Trading Strategies
|
|
|
- Cecil Hunter
- 9 years ago
- Views:
Transcription
1 An Efficient Implementation of the Backtesting of Trading Strategies Jiarui Ni and Chengqi Zhang Faculty of Information Technology, University of Technology, Sydney, GPO Box 123, Broadway, NSW 2007, Australia {jiarui, Abstract. Some trading strategies are becoming more and more complicated and utilize a large amount of data, which makes the backtesting of these strategies very time consuming. This paper presents an efficient implementation of the backtesting of such a trading strategy using a parallel genetic algorithm (PGA) which is fine tuned based on thorough analysis of the trading strategy. The reuse of intermediate results is very important for such backtesting problems. Our implementation can perform the backtesting within a reasonable time range so that the tested trading strategy can be properly deployed in time. 1 Introduction Backtesting also known as Systems Testing is the concept of taking a strategy and going back in time to see what would have happened if the strategy had been faithfully followed. The assumption is that if the strategy has worked previously, it has a good but not certain chance of working again in the future and conversely if the concept has not worked well in the past, it probably will not work well in the future. The backtesting of trading strategies is important for brokers and investors to judge if the strategies are profitable under certain circumstances. It helps the users learn how a trading strategy is likely to perform in the marketplace. It also provides the users with the opportunity to improve a trading strategy. A detailed discussion of the benefits of backtesting is given by [6]. Due to the many benefits of backtesting, it is widely used by brokers and investors. And there are a lot of backtesting systems available in the market, for example, MetaStock from Equis International ( and TradeStation from TradeStation Securities ( etc. These systems help the users develop and back test their own trading systems. Early trading strategies such as Moving Average Crosses were relatively simple and easy to implement and test. As more and more people join in the game of searching for better trading systems, more complicated trading strategies are investigated. Intraday data instead of interday data are utilized, which increases the data to be processed by a factor of hundreds or even thousands. More complicated indicators that are hard to calculate are exploited. Furthermore, people Y. Pan et al. (Eds.): ISPA 2005, LNCS 3758, pp , c Springer-Verlag Berlin Heidelberg 2005
2 An Efficient Implementation of the Backtesting of Trading Strategies 127 sometimes have to try a strategy against multiple stocks and even multiple markets. All these factors make the backtesting of these trading strategies much more time-consuming, and the ready-for-use commercial products become incapable of dealing with them. People need more efficient implementations in order to perform the backtesting of such trading strategies within an acceptable time range. In the following sections, we will analyze a simplified trading strategy in detail and present an efficient implementation of it using parallel genetic algorithm (PGA) based on the analysis. 2 A Simplified Trading Strategy Today s trading strategies tend to exploit several indicators and filters in combination to make the final decision. To make the discussion easier, we will introduce a simplified trading strategy in this section. Our simplified trading strategy exploits a modified Bollinger band only. Bollinger band is among the most popular technical analysis techniques. It includes 3 lines: the upper band, the lower band, and the center line. The center line is simply the moving average, and the upper and lower bands are, respectively, the center line plus/minus twice the standard deviation [5]. In our strategy, the standard deviation is no longer timed by a fixed coefficient of 2. Instead, the coefficient becomes a variable to be optimized, and its value can be different for upper and lower bands. Given the price series P n (n =1, 2, 3, ), the center line C n, upper band U n and lower band L n of a p-period Bollinger band can be calculated as follows: C n = 1 n P n, (1) p i=n p+1 n i=n p+1 U n = C n + V u (P n C n ) 2, (2) p 1 n i=n p+1 (P n C n ) 2 L n = C n V l p 1, (3) where V n and V l are variables to be optimized, and we assume they vary between 1.0 and2.0 withastepof0.1. Besides, we assume that p can take any integer value between 11 and 50. The financial explanation for Bollinger band is as follows: the closer the prices move to the upper band, the more overbought the market, and the closer the prices move to the lower band, the more oversold the market. Based on this understanding, we derive our simple trading rules as follows: During the normal trading hours, at the end of each bar (a short time period, e.g., 10 or 30 minutes), we evaluate the current price. If the price crosses over the lower band, i.e., P n 1 <= L n 1 AND P n >L n, buy 100 shares at the beginning of the next bar. If the price crosses under the upper band, i.e., P n 1 >= U n 1
3 128 J. Ni and C. Zhang AND P n <U n, sell all shares in hand at the beginning of the next bar. To make the discussion simple, we assume that our trading volume is small enough that our buy/sell orders can be executed at the current price without delay. We also ignore the brokerage fee here. Of course, the real trading strategies have to deal with all these issues. The purpose of the backtesting of this trading strategy is to answer the following questions: 1) Can this strategy make profit when applied to certain stocks for a time period such as one year (the training period)? 2) If it can make profit for a certain stock, what values for the parameters p, V u, V l can give the most profit? 3) Can these values also give a reasonable profit during the following time period such as the next six months (the testing period)? Question 3 is a simple yes-or-no question which can be easily answered by running the trading strategy once with the values given by question 2. However, because the trading strategy is very sensitive to the change of any parameter, there is no simple relation between the profit and the parameters. Therefore, question 1 and 2 can not be easily answered before trying all the possible triples of (p, V u,v l ). 3 A Direct Implementation of the Backtesting Problem The simplest approach to the above optimization problem can simply loop through all the possible triples of (p, V u,v l ) and run the trading strategy with each triple. The following pseudo-code illustrates this approach. Algorithm 1 for(p = 11; p <= 50; p ++) { Calculate Cn and standard deviation Dn; for(vu = 1.0; Vu <= 2.0; Vu += 0.1) { Un = Cn + Vu * Dn; for(vl = 1.0; Vl <= 2.0; Vl += 0.1) { Ln = Cn - Vl * Dn; Run trading strategy with Cn, Un, and Ln; Note that C n and D n only have to be calculated once for each value of p, and that U n only has to be calculated once for each pair of (p, V u ). The idea is to reuse the intermediate results as much as possible. Even in this simple case, experiments show that the execution time is reduced by a factor of 10 with the reuse of intermediate values of C n, D n and U n. Alg. 1 is easy to implement and understand. However, the running time is too long for really complicated trading strategies. While backtesting one trading strategy provided by our industrial partner, our initial try with such an approach took 8 hours to work thru only 1/40of the whole searchspaceon onesinglestock. Obviously, The users can not wait that long for the backtesting result. We have to reduce the computing time.
4 An Efficient Implementation of the Backtesting of Trading Strategies Using PGA A straightforward way to speed up Alg. 1 is to parallelize its execution. Once atripleof(p, V u,v l ) is given, a processing element (PE) can execute the whole trading strategy by itself. If we have N PEs, we can easily partition the search space into N equal subspaces and then start one process to deal with each subspace. Because there are no communication or synchronization requirements, the parallelization causes almost no overhead in this problem. However, this approach is limited by the number of available PEs. Normal brokers or investors can not expect to have more than 1 or 2 CPUs ready for use at any time. We need better software solutions. Genetic algorithms (GAs) have demonstrated to be particularly successful in the optimization, classification and control of very-large-scale and varied data. PGAs further provide the basis for tackling problems in a wider range of fields [4]. GAs and PGAs have been widely used in many disciplines from astronomy [2] to molecular design [1]. [3] discusses many ways in which GAs can be parallelized, including the master-slave model. Based on this model, a basic PGA for our backtesting problem is developed as follows: Algorithm 2 -- Master process Generate random population of n triples; While(true) { Partition the population into N equal groups; Send the triples in each group to one slave process; Receive the fitness value for each triple from the slaves; Exit if no better fitness value is found; Select triples with better fitness from the population; Generate new population by crossover and mutation; Algorithm 2 -- Slave process While(true) { Receive a triple of (p, Vu, Vl) from the master process; Calculate Cn and standard deviation Dn; Un = Cn + Vu * Dn; Ln = Cn - Vl * Dn; Run trading strategy with Cn, Un, and Ln; Send the profit (fitness) to the master process; The crossover and mutation operations used here are very simple. Suppose we have two triples (p 1,V u1,v l1 )and(p 2,V u2,v l2 ), the crossover operation randomly select p, V u and V l independent of each other from the first or second triple and form a new triple. And the mutation operation just randomly change the value of one variable in a given triple to create a new triple. Note that because the triples are randomly generated in Alg. 2, we can no longer reuse the intermediate values of C n,d n and U n in the way we did in
5 130 J. Ni and C. Zhang Alg. 1. This decreases the efficiency of the algorithm. To alleviate this unwanted effect, we have to refine the algorithms to take advantage of the intermediate results as much as possible. The only change to the master process is that the population should be sorted by p and V u before it is partitioned into N equal groups. The refined algorithm for the slave process is showed below: Algorithm 3 -- Slave process, refined p_old = Vu_old = Vl_old = newpflag = 0; While(true) { Receive a triple of (p, Vu, Vl) from the master process; if(p!= p_old) { Calculate Cn and standard deviation Dn; p_old = p; newpflag = 1; if(newpflag > 0 Vu!= Vu_old) { Un = Cn + Vu * Dn; Vu_old = Vu; if(newpflag > 0 Vl!= Vl_old) { Ln = Cn - Vl * Dn; Vl_old = Vl; Run trading strategy with Cn, Un, and Ln; Send the profit (fitness) to the master process; 5 Performance Evaluation For the simplified trading strategy described in this paper, we have carried out a set of experiments for all the algorithms described above to illustrate the effect of each algorithm. We performed the backtesting of each algorithm over 1 year s period against one stock ANZ from the Australian stock market. 30-minutes bar data (open price, close price, best bid, best ask) were used in the experiment. The data were stored in a text file and read by the algorithms at startup. To count the execution time more accurately, each algorithm was repeated 20 times. The average execution time is shown in the upper half of Table 1. The parallelization introduces some overhead. And for this simple trading strategy, the overhead is quite noticeable. When running in parallel on 4 CPUs, it took Alg. 1 much longer than a quarter of the time it needed when running sequentially. And 8 CPUs make hardly any difference than 4 CPUs. The crossover and mutation operations in the PGAs also result in some overhead that is noticeable in the backtesting of this simple strategy. Alg. 2 is much slower than Alg. 1 when both running in parallel on 8 CPUs. However, Alg. 3 shows less running time that Alg. 1. It means that the PGA can reduce the execution time. The difference between Alg. 2 and Alg. 3 emphasizes the importance of reusing the intermediate results wherever possible.
6 An Efficient Implementation of the Backtesting of Trading Strategies 131 Table 1. Execution time for different algorithms Trading strategy Algorithm Execution time Alg. 1 (sequential) 87 s Alg. 1 (parallel on 4 CPUs) 24 s Simplified Alg. 1 (parallel on 8 CPUs) 22 s Alg. 2 (parallel on 8 CPUs) 32 s Alg. 3 (parallel on 8 CPUs) 18 s Alg. 1 (sequential) ca. 300 h Real Alg. 1 (parallel on 8 CPUs) 40 h Alg. 3 (parallel on 8 CPUs) 1 2h For the real trading strategy we tested for our industry partner, we have got the following results as shown in the lower half of Table 1. In this case, the speedup factor of multiple PEs is very apparent. When executed in parallel on 8 CPUs, the execution time of Alg. 1 is reduced to near 1/8. The PGA achieves an speedup factor of at least 20 comparing with the parallel version of Alg. 1. Finally we are able to back test the trading strategy against one stock within 1 2 hours. This makes the backtesting of the complicated trading strategy against multiple stocks and multiple markets feasible. 6 Conclusion In this paper, we have demonstrated step by step the implementation of the backtesting of a complicated trading strategy. We have shown that PGAs can speedup the backtesting process greatly. Furthermore, the reuse of intermediate results is very important for accelerating the backtesting of complicated trading strategies. We believe that the same principles used in this paper can and should be applied in the implementation of the backtesting of other complicated trading strategies as well to make the backtesting feasible. References 1. Clark, D. E. (Ed): Evolutionary Algorithms in Molecular Design, Wiley-VCH, Weinheim, Metcalfe T. S., Charbonneau, P.: Stellar structure modeling using a parallel genetic algorithm for objective global optimization, Journal of Computational Physics, Volume 185, Issue 1, p , Nowostawski M., Poli R.: Parallel genetic algorithm taxonomy, Proc. of 3rd Int. Conference on Knowledge-based Intelligent Information Engineering Systems (KES 99), Adelaide, Australia, Stender J.: Parallel Genetic Algorithms: Theory & Applications, IOS Press, Amsterdam, stockcharts.com/education/indicatoranalysis/indic Bbands.html 6.
The Applications of Genetic Algorithms in Stock Market Data Mining Optimisation
The Applications of Genetic Algorithms in Stock Market Data Mining Optimisation Li Lin, Longbing Cao, Jiaqi Wang, Chengqi Zhang Faculty of Information Technology, University of Technology, Sydney, NSW
Using Bollinger Bands. by John Bollinger
Article Text Copyright (c) Technical Analysis Inc. 1 Stocks & Commodities V. 10:2 (47-51): Using Bollinger Bands by John Bollinger Using Bollinger Bands by John Bollinger Trading bands, which are lines
A Comparison of Genotype Representations to Acquire Stock Trading Strategy Using Genetic Algorithms
2009 International Conference on Adaptive and Intelligent Systems A Comparison of Genotype Representations to Acquire Stock Trading Strategy Using Genetic Algorithms Kazuhiro Matsui Dept. of Computer Science
Advances in Smart Systems Research : ISSN 2050-8662 : http://nimbusvault.net/publications/koala/assr/ Vol. 3. No. 3 : pp.
Advances in Smart Systems Research : ISSN 2050-8662 : http://nimbusvault.net/publications/koala/assr/ Vol. 3. No. 3 : pp.49-54 : isrp13-005 Optimized Communications on Cloud Computer Processor by Using
Pivot Trading the FOREX Markets
Pivot Trading the FOREX Markets A report by Jim White April, 2004 Pivot Research & Trading Co. 3203 Provence Place Thousand Oaks, Ca. 91362 Phone: 805-493-4221 FAX: 805-493-4349 Email: [email protected]
Disclaimer: The authors of the articles in this guide are simply offering their interpretation of the concepts. Information, charts or examples
Disclaimer: The authors of the articles in this guide are simply offering their interpretation of the concepts. Information, charts or examples contained in this lesson are for illustration and educational
Nest Pulse Impact Document
Nest Pulse Impact Document July 25, 2012 1 Document Information DOCUMENT CONTROL INFORMATION DOCUMENT VERSION REVIEWER REVIEW NOTES Omnesys Nest Plus Nest Pulse Impact Document VERSION NOTES This Nest
Applying Design Patterns in Distributing a Genetic Algorithm Application
Applying Design Patterns in Distributing a Genetic Algorithm Application Nick Burns Mike Bradley Mei-Ling L. Liu California Polytechnic State University Computer Science Department San Luis Obispo, CA
Stochastic Oscillator.
Stochastic Oscillator. By Jay Lakhani www.4x4u.net George Lane was the originator of the stochastic indicator in the 1960 s; the indicator tracks the market momentum. Lane observed that as prices rise
Chapter 6 - Condor finder
Chapter 6 - Condor finder Condor Finder Help Help Guide Click PDF to get a PDF printable version of this help file. Condor Finder is a tool for finding and ranking the Maximum Profit/ Maximum Loss ratio
Commodity Channel Index
Commodity (CCI) Developed by Donald Lambert, the Commodity (CCI) was designed to identify cyclical turns in commodities but can be applied to shares as well. The Commodity Channel Index uses a typical
Chapter 30 1-2-3 S AND BOLLINGER BANDS
Chapter 30 1-2-3 S AND BOLLINGER BANDS We ve mentioned previously that Bollinger Bands perform a very important function relative to ones ability to read price charts. Bollinger Bands offer a visual presentation
MATLAB as an Automated Execution System
MATLAB as an Automated Execution System By Ernest P. Chan, Ph.D. Many traders are familiar with MATLAB as a powerful software platform for backtesting trading strategies. This is especially true for those
GO Markets Trading Tools
GO Markets Trading Tools Expert Advisors One of the most popular features of MetaTrader4 and the reason it is the world leader in Forex trading is because of the ability to use Expert Advisors. EAs are
Why the E.A.S.Y. Method?
Why the E.A.S.Y. Method? Mark Douglas, author of Trading in the Zone, states: The best traders have developed an edge and more importantly, they trust their edge. Why the E.A.S.Y. Method? My trading edge
CHAPTER 8. REVERSAL TRADING STRATEGIES
CHAPTER 8. REVERSAL TRADING STRATEGIES Today you will Learn Reversal trading strategies are great or mid-day and afternoon trades, especially on days when momentum is a big slower. Why Is This Important?
MATHEMATICAL TRADING INDICATORS
MATHEMATICAL TRADING INDICATORS The mathematical trading methods provide an objective view of price activity. It helps you to build up a view on price direction and timing, reduce fear and avoid overtrading.
Analysis of Binary Search algorithm and Selection Sort algorithm
Analysis of Binary Search algorithm and Selection Sort algorithm In this section we shall take up two representative problems in computer science, work out the algorithms based on the best strategy to
The Jim Berg Entry and Exit System. 1.
The Jim Berg Entry and Exit System. 1. Note. The description below is given for educational purposes only in order to show how this may be used with AmiBroker charting software. As described here it is
Spring 2011 Prof. Hyesoon Kim
Spring 2011 Prof. Hyesoon Kim Today, we will study typical patterns of parallel programming This is just one of the ways. Materials are based on a book by Timothy. Decompose Into tasks Original Problem
A Quick Tutorial in MACD: Basic Concepts. By Gerald Appel and Marvin Appel
A Quick Tutorial in MACD: Basic Concepts By Gerald Appel and Marvin Appel The Moving Average Convergence-Divergence Indicator (MACD) has been a staple of technical analysis since Gerald invented it more
A Review And Evaluations Of Shortest Path Algorithms
A Review And Evaluations Of Shortest Path Algorithms Kairanbay Magzhan, Hajar Mat Jani Abstract: Nowadays, in computer networks, the routing is based on the shortest path problem. This will help in minimizing
Parallel Computing. Benson Muite. [email protected] http://math.ut.ee/ benson. https://courses.cs.ut.ee/2014/paralleel/fall/main/homepage
Parallel Computing Benson Muite [email protected] http://math.ut.ee/ benson https://courses.cs.ut.ee/2014/paralleel/fall/main/homepage 3 November 2014 Hadoop, Review Hadoop Hadoop History Hadoop Framework
14.1 Rent-or-buy problem
CS787: Advanced Algorithms Lecture 14: Online algorithms We now shift focus to a different kind of algorithmic problem where we need to perform some optimization without knowing the input in advance. Algorithms
The Moving Average. 2004 W. R. Booker II. All rights reserved forever and ever. And ever.
The Moving Average By Rob Booker 2004 W. R. Booker II. All rights reserved forever and ever. And ever. The information contained in this ebook is designed to teach you methods of watching forex quotes
A Catalogue of the Steiner Triple Systems of Order 19
A Catalogue of the Steiner Triple Systems of Order 19 Petteri Kaski 1, Patric R. J. Östergård 2, Olli Pottonen 2, and Lasse Kiviluoto 3 1 Helsinki Institute for Information Technology HIIT University of
Professional Trader Series: Moving Average Formula & Strategy Guide. by John Person
Professional Trader Series: Moving Average Formula & Strategy Guide by John Person MOVING AVERAGE FORMULAS & STRATEGY GUIDE In an online seminar conducted for the Chicago Board of Trade, I shared how to
A Powerful Day Trading Strategy For Futures And Forex Markets Markus Heitkoetter
A Powerful Day Trading Strategy For Futures And Forex Markets Markus Heitkoetter Agenda How To Configure Your Charts The Three (3) Best Indicators The Best Timeframe A Powerful Day Trading Strategy When
Welcome home to true value.
Welcome home to true value. We are the specialists. Whether buying your first home, your dream home or investing in property, the right finance guidance is essential. At LJ Hooker Home Loans we combine
recursion, O(n), linked lists 6/14
recursion, O(n), linked lists 6/14 recursion reducing the amount of data to process and processing a smaller amount of data example: process one item in a list, recursively process the rest of the list
Research on Clustering Analysis of Big Data Yuan Yuanming 1, 2, a, Wu Chanle 1, 2
Advanced Engineering Forum Vols. 6-7 (2012) pp 82-87 Online: 2012-09-26 (2012) Trans Tech Publications, Switzerland doi:10.4028/www.scientific.net/aef.6-7.82 Research on Clustering Analysis of Big Data
The Dynamics of Project Management
The PROJECT PERFECT White Paper Collection Abstract The Dynamics of Project Management Eric Tse This white paper suggests project management methods and practices can move from a static, unidirectional
Empirically Identifying the Best Genetic Algorithm for Covering Array Generation
Empirically Identifying the Best Genetic Algorithm for Covering Array Generation Liang Yalan 1, Changhai Nie 1, Jonathan M. Kauffman 2, Gregory M. Kapfhammer 2, Hareton Leung 3 1 Department of Computer
Technical Indicators Tutorial - Forex Trading, Currency Forecast, FX Trading Signal, Forex Training Cour...
Page 1 Technical Indicators Tutorial Technical Analysis Articles Written by TradingEducation.com Technical Indicators Tutorial Price is the primary tool of technical analysis because it reflects every
Using Generalized Forecasts for Online Currency Conversion
Using Generalized Forecasts for Online Currency Conversion Kazuo Iwama and Kouki Yonezawa School of Informatics Kyoto University Kyoto 606-8501, Japan {iwama,yonezawa}@kuis.kyoto-u.ac.jp Abstract. El-Yaniv
Alerts & Filters in Power E*TRADE Pro Strategy Scanner
Alerts & Filters in Power E*TRADE Pro Strategy Scanner Power E*TRADE Pro Strategy Scanner provides real-time technical screening and backtesting based on predefined and custom strategies. With custom strategies,
Chapter 2.3. Technical Analysis: Technical Indicators
Chapter 2.3 Technical Analysis: Technical Indicators 0 TECHNICAL ANALYSIS: TECHNICAL INDICATORS Charts always have a story to tell. However, from time to time those charts may be speaking a language you
ultra fast SOM using CUDA
ultra fast SOM using CUDA SOM (Self-Organizing Map) is one of the most popular artificial neural network algorithms in the unsupervised learning category. Sijo Mathew Preetha Joy Sibi Rajendra Manoj A
Pre-Algebra Lecture 6
Pre-Algebra Lecture 6 Today we will discuss Decimals and Percentages. Outline: 1. Decimals 2. Ordering Decimals 3. Rounding Decimals 4. Adding and subtracting Decimals 5. Multiplying and Dividing Decimals
Extended Finite-State Machine Inference with Parallel Ant Colony Based Algorithms
Extended Finite-State Machine Inference with Parallel Ant Colony Based Algorithms Daniil Chivilikhin PhD student ITMO University Vladimir Ulyantsev PhD student ITMO University Anatoly Shalyto Dr.Sci.,
Day Trading Stock Controller
Day Trading Stock Controller Disclaimer: Trading stocks, including ETFs, involves substantial risk of loss and is not suitable for all people. You should carefully consider whether trading, especially
BROKER SERVICES AND PLATFORM
BROKER SERVICES AND PLATFORM A broker is an individual who executes buy and sell orders and get commission in the form of SPREAD (I will talk about SPREAD in the subsequent lessons). You trade through
How To Determine If Technical Currency Trading Is Profitable For Individual Currency Traders
Is Technical Analysis Profitable for Individual Currency Traders? Boris S. Abbey and John A. Doukas * Journal of Portfolio Management, 2012, 39, 1,142-150 Abstract This study examines whether technical
2: Computer Performance
2: Computer Performance http://people.sc.fsu.edu/ jburkardt/presentations/ fdi 2008 lecture2.pdf... John Information Technology Department Virginia Tech... FDI Summer Track V: Parallel Programming 10-12
Lecture 5: Put - Call Parity
Lecture 5: Put - Call Parity Reading: J.C.Hull, Chapter 9 Reminder: basic assumptions 1. There are no arbitrage opportunities, i.e. no party can get a riskless profit. 2. Borrowing and lending are possible
Memory Allocation Technique for Segregated Free List Based on Genetic Algorithm
Journal of Al-Nahrain University Vol.15 (2), June, 2012, pp.161-168 Science Memory Allocation Technique for Segregated Free List Based on Genetic Algorithm Manal F. Younis Computer Department, College
HYBRID GENETIC ALGORITHMS FOR SCHEDULING ADVERTISEMENTS ON A WEB PAGE
HYBRID GENETIC ALGORITHMS FOR SCHEDULING ADVERTISEMENTS ON A WEB PAGE Subodha Kumar University of Washington [email protected] Varghese S. Jacob University of Texas at Dallas [email protected]
Genetic Algorithms and Sudoku
Genetic Algorithms and Sudoku Dr. John M. Weiss Department of Mathematics and Computer Science South Dakota School of Mines and Technology (SDSM&T) Rapid City, SD 57701-3995 [email protected] MICS 2009
14.10.2014. Overview. Swarms in nature. Fish, birds, ants, termites, Introduction to swarm intelligence principles Particle Swarm Optimization (PSO)
Overview Kyrre Glette kyrrehg@ifi INF3490 Swarm Intelligence Particle Swarm Optimization Introduction to swarm intelligence principles Particle Swarm Optimization (PSO) 3 Swarms in nature Fish, birds,
Inside the PostgreSQL Query Optimizer
Inside the PostgreSQL Query Optimizer Neil Conway [email protected] Fujitsu Australia Software Technology PostgreSQL Query Optimizer Internals p. 1 Outline Introduction to query optimization Outline of
Quiz for Chapter 1 Computer Abstractions and Technology 3.10
Date: 3.10 Not all questions are of equal difficulty. Please review the entire quiz first and then budget your time carefully. Name: Course: Solutions in Red 1. [15 points] Consider two different implementations,
Hybrid Evolution of Heterogeneous Neural Networks
Hybrid Evolution of Heterogeneous Neural Networks 01001110 01100101 01110101 01110010 01101111 01101110 01101111 01110110 01100001 00100000 01110011 01101011 01110101 01110000 01101001 01101110 01100001
The Methodology of Application Development for Hybrid Architectures
Computer Technology and Application 4 (2013) 543-547 D DAVID PUBLISHING The Methodology of Application Development for Hybrid Architectures Vladimir Orekhov, Alexander Bogdanov and Vladimir Gaiduchok Department
Stock Market Trends...P1. What Is Automated Trading...P2. Advantages & Disadvantages...P3. Automated Trading Conclusion...P4
I S SUE 1 VOLUME 1 YE AR 2013 Stock Market Trends...P1 What Is Automated Trading...P2 Advantages & Disadvantages...P3 Automated Trading Conclusion...P4 IS S UE 1 V O L UME 1 YEAR 2013 Automated stock trading
Implementing Point and Figure RS Signals
Dorsey Wright Money Management 790 E. Colorado Blvd, Suite 808 Pasadena, CA 91101 626-535-0630 John Lewis, CMT August, 2014 Implementing Point and Figure RS Signals Relative Strength, also known as Momentum,
The PageRank Citation Ranking: Bring Order to the Web
The PageRank Citation Ranking: Bring Order to the Web presented by: Xiaoxi Pang 25.Nov 2010 1 / 20 Outline Introduction A ranking for every page on the Web Implementation Convergence Properties Personalized
8 Day Intensive Course Lesson 5 Stochastics & Bollinger Bands
8 Day Intensive Course Lesson 5 Stochastics & Bollinger Bands A)Trading with Stochastic Trading With Stochastic What is stochastic? Stochastic is an oscillator that works well in range-bound markets.[/i]
Prediction of Closing Stock Prices
1 Prediction of Closing Stock Prices Garth Garner Portland State University department of Electrical and Computer Engineering Email: [email protected] This work was completed as part of a course
Dynamic Zones NEW TECHNIQUES
NEW TECHNIQUES Dynamic Zones Most indicators use a fixed zone for buy and sell signals. Here s a concept based on zones that are responsive to past levels of the indicator. by Leo Zamansky, Ph.D., and
Quick Start Guide Getting Started with Stocks
Quick Start Guide Getting Started with Stocks Simple but Sophisticated Don t let the name fool you: the scan may be simple, but behind the curtain is a very sophisticated process designed to bring you
VBM-ADX40 Method. (Wilder, J. Welles from Technical Analysis of Stocks and Commodities, February 1986.)
VBM-ADX40 Method " I ve found that the most important thing in trading is always doing the right thing, whether or not you win or lose this is market savvy money management... I would go so far as to say
Using simulation to calculate the NPV of a project
Using simulation to calculate the NPV of a project Marius Holtan Onward Inc. 5/31/2002 Monte Carlo simulation is fast becoming the technology of choice for evaluating and analyzing assets, be it pure financial
Keywords revenue management, yield management, genetic algorithm, airline reservation
Volume 4, Issue 1, January 2014 ISSN: 2277 128X International Journal of Advanced Research in Computer Science and Software Engineering Research Paper Available online at: www.ijarcsse.com A Revenue Management
Castilion Primary School Coaching Handbook: a guide to excellent practice. Growing excellent teachers
Castilion Primary School Coaching Handbook: a guide to excellent practice Growing excellent teachers Coaching Handbook: a guide to excellent practice Page 1 Contents Section Page Coaching at Castilion
Macedonian Stock Exchange Inc. www.mse.com.mk www.bestnet.com.mk INSTRUCTIONS. Fundamental Analysis Module
Macedonian Stock Exchange Inc. www.mse.com.mk www.bestnet.com.mk INSTRUCTIONS Fundamental Analysis Module March 2010 Content: 1. INTRODUCTION... 3 1.1 WHAT IS FUNDAMENTAL ANALYSIS?... 3 1.2. WHAT THE MODULE
Chaikin Analytics for ipad User Guide
Chaikin Analytics for ipad User Guide v1.3.4 1 Contents 3 Chapter 1: Welcome 4 Overview 6 Chapter 2: Getting Started 7 Sign In 8 Quick Start 9 Chapter 3: Watchlists 10 Overview 11 Main Controls 12 Alert
Timing the Trade How to Buy Right before a Huge Price Advance
Timing the Trade How to Buy Right before a Huge Price Advance By now you should have read my first two ebooks and learned about the life cycle of a market, stock, or ETF, and discovered the best indicators
Greatest Common Factor and Least Common Multiple
Greatest Common Factor and Least Common Multiple Intro In order to understand the concepts of Greatest Common Factor (GCF) and Least Common Multiple (LCM), we need to define two key terms: Multiple: Multiples
200 PIPS DAILY PROFIT
200 PIPS DAILY PROFIT USER GUIDE October 2014 http://www.200pipsdailyprofit.com DISCLAIMER Please be aware of the loss, risk, personal or otherwise consequences of the use and application of this book
Military Reliability Modeling William P. Fox, Steven B. Horton
Military Reliability Modeling William P. Fox, Steven B. Horton Introduction You are an infantry rifle platoon leader. Your platoon is occupying a battle position and has been ordered to establish an observation
Performance Evaluation and Optimization of A Custom Native Linux Threads Library
Center for Embedded Computer Systems University of California, Irvine Performance Evaluation and Optimization of A Custom Native Linux Threads Library Guantao Liu and Rainer Dömer Technical Report CECS-12-11
ST 371 (IV): Discrete Random Variables
ST 371 (IV): Discrete Random Variables 1 Random Variables A random variable (rv) is a function that is defined on the sample space of the experiment and that assigns a numerical variable to each possible
To Cope with Stress? DEMONS of Traders DEMONS. The Mysteries of the Trend Using the Opening Price. The Thought
ASIA PACIFIC S PREEMINENT TRADING MAGAZINE ASIA PACIFIC S PREEMINENT TRADING MAGAZINE November / December 2005 www.traders-journal.com MICA (P) 352/05/2005 The Mysteries of the Trend Using the Opening
Application of Genetic Algorithm to Scheduling of Tour Guides for Tourism and Leisure Industry
Application of Genetic Algorithm to Scheduling of Tour Guides for Tourism and Leisure Industry Rong-Chang Chen Dept. of Logistics Engineering and Management National Taichung Institute of Technology No.129,
Introduction. What is RAID? The Array and RAID Controller Concept. Click here to print this article. Re-Printed From SLCentral
Click here to print this article. Re-Printed From SLCentral RAID: An In-Depth Guide To RAID Technology Author: Tom Solinap Date Posted: January 24th, 2001 URL: http://www.slcentral.com/articles/01/1/raid
MATH 140 Lab 4: Probability and the Standard Normal Distribution
MATH 140 Lab 4: Probability and the Standard Normal Distribution Problem 1. Flipping a Coin Problem In this problem, we want to simualte the process of flipping a fair coin 1000 times. Note that the outcomes
361 Computer Architecture Lecture 14: Cache Memory
1 361 Computer Architecture Lecture 14 Memory cache.1 The Motivation for s Memory System Processor DRAM Motivation Large memories (DRAM) are slow Small memories (SRAM) are fast Make the average access
Euclidean Minimum Spanning Trees Based on Well Separated Pair Decompositions Chaojun Li. Advised by: Dave Mount. May 22, 2014
Euclidean Minimum Spanning Trees Based on Well Separated Pair Decompositions Chaojun Li Advised by: Dave Mount May 22, 2014 1 INTRODUCTION In this report we consider the implementation of an efficient
EUR/USD Trading Strategy
EUR/USD Trading Strategy TRADING SIGNALS TRADING EDUCATION TRADING STRATEGIES Kathy Lien & Boris Schlossberg www.bkforex.com TRADING SIGNALS & TRADING EDUCATION Risk Disclosure BKForex LLC is a registered
DECENTRALIZED LOAD BALANCING IN HETEROGENEOUS SYSTEMS USING DIFFUSION APPROACH
DECENTRALIZED LOAD BALANCING IN HETEROGENEOUS SYSTEMS USING DIFFUSION APPROACH P.Neelakantan Department of Computer Science & Engineering, SVCET, Chittoor [email protected] ABSTRACT The grid
CMSC 858T: Randomized Algorithms Spring 2003 Handout 8: The Local Lemma
CMSC 858T: Randomized Algorithms Spring 2003 Handout 8: The Local Lemma Please Note: The references at the end are given for extra reading if you are interested in exploring these ideas further. You are
Integer Programming: Algorithms - 3
Week 9 Integer Programming: Algorithms - 3 OPR 992 Applied Mathematical Programming OPR 992 - Applied Mathematical Programming - p. 1/12 Dantzig-Wolfe Reformulation Example Strength of the Linear Programming
Downloaded from UvA-DARE, the institutional repository of the University of Amsterdam (UvA) http://hdl.handle.net/11245/2.122992
Downloaded from UvA-DARE, the institutional repository of the University of Amsterdam (UvA) http://hdl.handle.net/11245/2.122992 File ID Filename Version uvapub:122992 1: Introduction unknown SOURCE (OR
Proposal and Analysis of Stock Trading System Using Genetic Algorithm and Stock Back Test System
Proposal and Analysis of Stock Trading System Using Genetic Algorithm and Stock Back Test System Abstract: In recent years, many brokerage firms and hedge funds use a trading system based on financial
Alpha Cut based Novel Selection for Genetic Algorithm
Alpha Cut based Novel for Genetic Algorithm Rakesh Kumar Professor Girdhar Gopal Research Scholar Rajesh Kumar Assistant Professor ABSTRACT Genetic algorithm (GA) has several genetic operators that can
Table Of Contents. iii
Table Of Contents Quickstart... 1 Introduction... 1 Data administration... 1 The Toolbar... 2 Securities management... 3 Chart window structure... 4 Adding an indicator... 5 Chart drawings... 6 Saving
Outline. Definitions Descriptive vs. Inferential Statistics The t-test - One-sample t-test
The t-test Outline Definitions Descriptive vs. Inferential Statistics The t-test - One-sample t-test - Dependent (related) groups t-test - Independent (unrelated) groups t-test Comparing means Correlation
UNLEASH THE POWER OF SCRIPTING F A C T S H E E T AUTHOR DARREN HAWKINS APRIL 2014
UNLEASH THE POWER OF SCRIPTING F A C T S H E E T AUTHOR DARREN HAWKINS APRIL 2014 Summary The ability to create your own custom formulas to scan or filter large sets of data can be a huge time-saver when
RSA Question 2. Bob thinks that p and q are primes but p isn t. Then, Bob thinks Φ Bob :=(p-1)(q-1) = φ(n). Is this true?
RSA Question 2 Bob thinks that p and q are primes but p isn t. Then, Bob thinks Φ Bob :=(p-1)(q-1) = φ(n). Is this true? Bob chooses a random e (1 < e < Φ Bob ) such that gcd(e,φ Bob )=1. Then, d = e -1
Technical Analysis. Technical Analysis. Schools of Thought. Discussion Points. Discussion Points. Schools of thought. Schools of thought
The Academy of Financial Markets Schools of Thought Random Walk Theory Can t beat market Analysis adds nothing markets adjust quickly (efficient) & all info is already in the share price Price lies in
Parallel Simulated Annealing Algorithm for Graph Coloring Problem
Parallel Simulated Annealing Algorithm for Graph Coloring Problem Szymon Łukasik 1, Zbigniew Kokosiński 2, and Grzegorz Świętoń 2 1 Systems Research Institute, Polish Academy of Sciences, ul. Newelska
An Automated Guided Model For Integrating News Into Stock Trading Strategies Pallavi Parshuram Katke 1, Ass.Prof. B.R.Solunke 2
www.ijecs.in International Journal Of Engineering And Computer Science ISSN:2319-7242 Volume 4 Issue - 12 December, 2015 Page No. 15312-15316 An Automated Guided Model For Integrating News Into Stock Trading
A Genetic Algorithm Approach for Solving a Flexible Job Shop Scheduling Problem
A Genetic Algorithm Approach for Solving a Flexible Job Shop Scheduling Problem Sayedmohammadreza Vaghefinezhad 1, Kuan Yew Wong 2 1 Department of Manufacturing & Industrial Engineering, Faculty of Mechanical
