Scenario-based approach to backtesting trading systems
|
|
|
- Dinah Carter
- 10 years ago
- Views:
Transcription
1 Scenario-based approach to backtesting trading systems Konstantin Savenkov Dennis Zhbankov, Lomonosov Moscow State University Abstract In this paper we present a scenario-based system for backtesting trading strategies. The backtesting system takes a list of market orders and historical quote data as inputs and calculates a set of metrics for a given scenario. The system incorporates simulation model of market orders and transactions execution. It is based on a mathematic model of market order execution and allows for testing systems that employ full range of modern market orders. The system analyzes market volume and therefore is capable of simulating partial execution of market orders. The mathematic model of market execution include static and operational semantic of market orders. It specifies how brokerage account affects the possibility of market order registration, how a market order transforms to a sequence of transactions (in case of partial execution) and how the transactions affect brokerage account. As the inputs are market orders, the system could be used for testing arbitrary trading system. Such a trading system could be a mechanical trading system, human trading system or even a scenario of actions for a trader, whom trading system is unknown. Therefore, the backtesting system presented in this paper could be used for backtesting and risk analysis of mechanical trading systems, backtesting and algorithmization of nonmechanical trading systems, evaluation of a human trader s skills and capabilities. Also we have collected useful set of metrics that are calculated by the backtesting system based on a given scenario and historical quote data. The system is implemented as an opensource software project. This paper presents a case study of comparing three different trading strategies, which demonstrates benefits of the proposed approach to the backtesting. Keywords: stock market, trading, backtesting, risk analysis, simulation Introduction The main question for all stock market players concerns defining optimal time when to buy and to sell stock. To answer this question, a player uses so-called trading strategy (or trading system) a set of rules that define conditions for opening and closing market positions. These conditions could depend on either technical or economic indicators or events. Thus, it is very important to know how to estimate and compare efficiency of different trading strategies. Such estimations are desired to solve a number of practical problems: 1) Development of trading strategies and algorithms, 2) Validation and risk analysis for mechanical trading systems, 3) Optimization of trading strategies, 4) Evaluation of human trader s skills and capabilities. The most popular approach to evaluation of trading strategies is backtesting [6] testing the strategy on historical quote data. The existing backtesting tools are intended for evaluation of mechanical trading systems. In such backtesting tools, historical quote data are passed as inputs to the trading system, which is implemented as a computer program. Using the quote data, the trading system generates a sequence of limit buy and sell orders. Then these orders are processed by the backtesting system to estimate variation of cash equivalent value of broker s assets over
2 time. During the processing, it is assumed that the traded volume is insufficient to influence the market price. The trace of the broker s account s variations is used to calculate a set of efficiency metrics for the trading strategy (maximum drawdown, payoff ratio, profit compared to buy&hold strategy, profit compared to random walk etc). The scheme described above is employed by virtually all existing backtesting systems. However, it possesses several intrinsic flaws, which impose restrictions on applicability of backtesting and limit accuracy of the backtesting results. The flaws are enumerated below. 1. Evaluation of mechanical trading systems only. 2. Restrictions on the means of specifying of the trading strategies (internal languages with limited capabilities and low performance). 3. Limited set of supported market orders. Most of the existing backtesting tools allow for usage of simple limit orders and stop orders with a fixed price. 4. Market traded volume in historical quote data is not considered. The backtesting approach that is proposed in this paper is free of these flaws. Inputs for the backtesting tool are historical quote data and a trading scenario, which is a sequence of market orders. That allows our backtesting tool to be used for evaluation of trading strategies of different nature, including evaluation of human trader s performance. As for evaluation of mechanical trading systems, that provides an ability to describe trading algorithm using any programming language and unlimited possibilities to define custom trading efficiency metrics. The backtesting tool utilizes historical market traded volume data to assess possibility of market order s execution. That allows for simulation of partial market order execution. The proposed approach to backtesting is based on the formal model of market order registration and execution (see Section 1). This model specifies all types of market orders that are available in modern electronic stock trading systems [11]. Using this formal model, the simulation model of stock exchange has been built. It simulates how broker issues an market order, how the order is registered (or dismissed) by a trading system and how the active marker order is executed (transformed in a sequence of transactions). The simulation model realizes a market trading loopback: the state of a brokerage account defines the broker s capability to issue market orders; executed order is transformed in a sequence of transactions; a transaction, in its turn, affects the state of the brokerage account. Variation of the brokerage account over time is used to calculate a set of efficiency metrics. The backtesting tool presented in this paper is implemented an open source software [1]. The paper is organized as follows. In the first section, the formal model of market order registration and execution is briefly described. In the second section, we give a list of available trading efficiency metrics, describe architecture of the backtesting tool and make an example of using this tool for comparing several trading strategies. In the Conclusion, limitations of the proposed approach and further development plans are discussed. 1. The formal model of market order execution The proposed formal model consists of two parts. The first part defines static semantics of the model by specifying notions of brokerage account, market order and transaction. The second part defines operational semantics of the model by formal definition of market order registration, market order execution (i.e. transforming market order in a sequence of transactions) and transaction processing. This section presents a condensed version of the formal model.
3 1.1 Static semantics Basic definitions Domains of Money (a set of all possible amounts of money) and Time (a set of all possible timestapms) are defined as subsets of positive real numbers. For the sake of simplicity, a single stock market model is considered. Therefore, a set of all possible amounts of stock is defined as a subset of integers. Brokerage account Brokerage account is defined as a collection of cleared monetary assets, cleared stock assets and both monetary and stock assets, reserved for execution of active market orders (successfully registered in electronic trading system). Transaction Transaction corresponds to a successfully executed market order and describes atomic pair of transitions: a transition of stock from a brokerage account of a seller to a brokerage account of a buyer, and a transition of money backwards. Here, transactions are considered from the viewpoint of a backtested trading system, therefore two types of transactions are identified: purchase and sale. A domain of possible transactions is defined as a collection of transaction type, traded price, traded volume and a timestamp: Historical quote data Historical quote data is represented as a set of transactions, ordered by timestamps: Market order Five types of market orders are identified: market, limit, stop loss, trailing stop and take profit: A domain of Orders if defined as a collection of order type, type of corresponding transactions, desired price, desired volume, registration timestamp and cancellation timestamp:
4 Order types are described in more detail in Section 1.2 Operational semantics. Broker scenario Scenario of broker s actions is defined as a set of orders, ordered by registration timestamps: 1.2 Operational semantics In accordance to the notation introduced in the previous section, the backtesting problem reduces to evaluation of the following functions: 1. The backtest function projects from a product of an initial brokerage account, a broker scenario and historical quote data into a sequence of transactions over the brokerage account: 2. A set of metric i functions, each projects a sequence of transactions in a value of i-th trading efficiency metric: A possibility of registering an order in electronic trading system depends on a state of the brokerage account, which, in its turn, depends on a result of execution of previously registered orders. That makes impossible direct (i.e. analytic) evaluation of the backtest function and prompts for the usage of simulation. An algorithm for the trading session simulation is presented below. Then we define semantics of several auxiliary functions and derivation rules for the operational semantics of order registering and execution. The derivation rules are specified using a standard form, which means that if predicate cause evaluates to true for the current state of the model, then the rule is applicable and predicate effect evaluates to true after its application. In effect, elements of the model s state that have been modified by application of the rule are marked by a stroke ( ) Broker state A state of the broker is defined as a collection of modeling time list of registered orders, broker scenario and historical quote data :, brokerage account state, a Order registration semantics Possibility of registering an order is defined by a function valid:
5 An order o is valid to be registered at a given time t if the amount of cleared monetary assets on a brokerage account a is sufficient to be reserved for the order execution, taking into account historical quote data h for the time t: Here, the function depends on time t and historical quote data h for the market type orders only. Thus, operational semantics of the order registration could be defined as follows. If the model time is equal to the timestamp of the first order from the scenario sc, then the order o is processed and removed from the scenario. In case the order o is valid at that moment, it is added to the list of active orders. If o is a purchase order, then the corresponding amount become reserved for the execution of o. of cleared monetary assets A sale orders are treated in a similar way, but in such case the corresponding amount cleared non-monetary assets is reserved. of Order execution semantics Operational semantics of the order execution defines a function that projects the order s parameters and historical quote data into a set of transactions: Function exec is defined as a set of derivation rules. A pair of rules is defined per each of the ten possible kinds of an order 1, one rule for the full execution of an order and another one for the partial execution. Below there is an example of operational semantics for a sell limit order 2. Full execution of a sell limit order Execution of a sell limit order o is planned (see Section 1.2.6) on a timestamp of such transaction from historical quote data, that the timestamp is greater than the timestamp of the order, and the stock price in the transaction stated in the order. is not lesser than the price 1 A number of possible kinds of an order is defined by 2 Sell limit order o is an order such that
6 In case the volume of the transaction is greater or equal to the volume stated in the order, the order is fully executed, and the list of transactions corresponding to the order is entailed by a transaction on a full volume of the order. Partial execution of a sell limit order In case the volume of the transaction from historical quote data is not sufficient to fully execute the order, the transaction list is entailed by a transaction that partially executes the order. Volume of the active order is reduced to reflect the partial execution, the new order execution event for the order is scheduled in the future Order recall In case some order has been recalled, all events corresponding to the order are erased from a list of events scheduled in the future; assets reserved for execution of the order become cleared; the order itself is removed from the list of active orders Transaction processing When a purchase transaction on the brokerage account is processed, an amount of cleared stock increases, while the money paid for the stock is subtracted from the monetary assets reserved for execution of the order corresponding to the transaction. In a similar fashion, when a sale transaction is processed, the amount of stock reserved for the registered order is reduced, while the amount of cleared monetary assets is increased by the monetary volume of the transaction Trading session simulation The simulation employs the discrete-event approach and identifies three types of events: 1. order registration,
7 2. order execution (including fulfillment of the order execution condition), 3. transaction processing (i.e. a change of the brokerage account). The simulation algorithm is as follows: 1. Fetch the topmost order from the broker scenario. 2. According to the order, brokerage account and historical quote data, schedule in the future order registration event. 3. Advance the simulation time to the earliest event and process the event in the following way: a. Order registration. The possibility of order registration is checked. In case of the positive result, the order is placed in a list of active events and the order execution event is scheduled. b. Order execution. If condition of a limit order is fulfilled or a market order is registered, then the order is converted in a sequence of transactions by using rules of the operational semantics. The transactions are planned as transaction processing events in future. c. Transaction processing. When a transaction is processed, it is recorded in the history of the brokerage account changes and a new state of the brokerage account is calculated. 2. Backtesting tool prototype The proposed approach to backtesting of trading strategies is implemented and published under open-source license [1]. The architecture of the backtesting tool is outlined below, along with a brief description of trading efficiency metrics calculated by the tool and a simple case study of trading strategy comparison. 2.1 Trading efficiency metrics There is a number of common metrics for assessing efficiency of trading activity [2-5]. These metrics are calculated in a course of backtesting and incorporated in the backtesting report. Most of the metrics described below are implemented in some of the existing backtesting tools [12-18]. However, this set has been extended by several metrics found in research papers only [7-10]. According to the formal model of the order execution proposed above, a trading efficiency metric is a function that projects from a set of possible transaction sequences into a set of real numbers. However, to calculate some of the metrics it is more convenient to work with a set of deals instead of a transaction sequence. This set is populated by deals that close market positions. The set of deals is unambiguously constructed from a sequence of transactions using the FIFO 3 principle. Profit for a deal is calculated by subtracting price of a deal that has opened positions from the deal that closes the position. The set of implemented efficiency metrics is divided in several groups: metrics calculated for loss-making deals only; metrics, calculated for profitable deals only; metrics calculated for the whole scenario; statistical metrics. 3 FIFO First In First Out.
8 Metrics for profitable deals gross profit: overall profit from all profitable deals, adjusted gross profit: overall profit from such profitable deals, that their profit do not exceed 3 standard deviations, profit deals number: number of profitable deals, average profit deal time: average time between opening deal and closing deal for profitable deals, percent of profit deals: percent of profitable deals among all deals, max profit: maximum profit from a profitable deal, average profit: average profit from a profitable deal, max continuous profit: maximum profit, given by consequent profitable deals, max continuous profit number: maximum length of a sequence of profitable positions; Metrics for loss-making positions gross loss: overall loss from all loss-making deals, adjusted gross loss: overall loss from such loss-making deals, that their loss do not exceed 3 standard deviations, loss deals number: number of loss-making deals, average loss deal time: average time between opening deal and closing deal for lossmaking deals, percent of loss deals: percent of loss-making deals among all deals, max loss: maximum loss from a loss-making deal, average loss: average loss from a loss-making deal, max continuous loss: maximum loss, given by consequent loss-making deals, max continuous loss number: maximum length of a sequence of loss-making positions; Metrics for all deals total income: overall profit from both profitable and loss-making deals, deals number: a number of deals, total time in testing: time interval between the first opening deal and the last closing deal, average time in market: average time between an opening deal and the closing deal, max drawdown: maximum drawdown of equivalent monetary value of the brokerage account from its maximum value to reaching the new maximum, relative drawdown: maximum ratio of a drawdown to local maximum of equivalent monetary value of brokerage account, payoff ratio: ratio of an average profit from profitable positions to an average loss from loss-making positions, profit factor: ratio of total income to a max drawdown, relative total income: ratio of equivalent monetary value of the brokerage account after the last closing deal to the equivalent value before the first opening deal, buy-and-hold profit: ratio of the stock price after the last closing deal to the stock price before the first opening deal; Statistical metrics
9 profit mean: mean value of total income, profit standard deviation: standard deviation of the total income, Sharp ratio: ratio of total income to the standard deviation, T-sign: a probability to get the same relative total income using a random walk. 2.2 Architecture of the backtesting software Software prototype of the proposed approach to backtesting is called Backtester [1] and is organized as follows. The historical quote data are given in CSV format and describe a sequence of recorded transactions. Recorded transactions are of a special undefined type (neither purchase nor sale), since they reflect existence of both buyer and seller. Broker s scenario is represented as a text file, which describes a sequence of broker s orders. The software prototype implements the simulation model of trading session (See Section 1 Formal model of market order execution ). Given historical quote data and a scenario, the software generates a sequence of transactions. This sequence is used to calculate a set of trading efficiency metrics (See Section 2.1). Values of the metrics are saved in a backtesting report, which is the final output of the software prototype. 2.3 Backtesting Case Study To provide a case study for the proposed approach, several trading strategies are compared on a same period of time. The historical quote data are tick market quotes for GAZPROM stock for 5 of May, 2009 on MICEX. Each line of historical quote data file contain information about a single transaction in a CSV format (See Table 1). The date, time, price and volume of a transaction are given ,184416, , ,184416, , ,184416, , ,184417, , ,184417, , ,184417, , ,184418, , ,184419, ,4028 Table 1. A fragment of the file with the historical quote data (date, time,price and volume of a transaction). Picture 1. Graphical representation of the historical quote data.
10 Graphical representation of the historical quote data is given on a Picture 1. Blue solid line denotes variation of a stock price, blue dashed line denotes the hourly average price value, green bars denote volume of transactions. Two simple trading strategies are compared. Both strategies are based on comparison of a stock price with a hourly average value of the price. Buy orders are placed if the price become greater than its hourly average value, sell orders are placed when the price become lesser than its hourly average value. The first of the two strategies (Simple) operates only simple market orders. The second strategy uses market orders, limit orders and stop orders. The scenarios generated according to the trading strategies are recorded in files scenariosimple and scenariosmart. Each line of the scenario file defines parameters of a single order. The parameters include order number, order type, transaction type, price, volume, date and time of the order validity, number of corresponding order, spread and ident. As a result of backtesting, one backtesting report is generated per each scenario. Most important statistics and metrics from the reports are accumulated in Table 2. Efficiency Metric Name Scenatio Simple Scenario Smart Statistics Deals number: Total income: (0.19%) (0.45%) Buy-and-hold profit: 0.11% 0.40% Total time in testing: 06:08:42 05:48:51 Average time in market: 00:32:55 00:24:27 Max drawdown: Relative drawdown: 0.15% 0.13% Profit mean: Profit standard deviation: Sharp ratio: Payoff ratio: Profit factor: Profit Profit deals number: Max continuous profit number: Average profit deal time: 02:21:49 00:35:49 Gross profit: Adjusted gross profit: Max profit: Average profit: Max continuous profit: Percent of profit deals: 16.75% 66.67% Loss Loss deals number: Max continuous loss number: Average loss deal time: 00:11:30 00:01:44 Gross loss: Adjusted gross loss: Max loss: Average loss: Max continuous loss: Percent of loss deals: 66.67% 33.33% Table 2. Values of efficiency metrics for scenariosimple and scenariosmart.
11 The results obviously demonstrate that the Smart scenario, which employs more advanced orders, has better profit and stability characteristics. 3. Conclusions The model of order execution proposed in this paper formally defines all orders available for a broker on modern stock market. Operational semantics of the model define how the orders are registered and executed and allows for implementing of trading simulation model. The simulation model uses historical quote data and broker activity scenario to calculate a sequence of transactions over the brokerage account. The sequence is used to calculate various trading efficiency metrics. To compare several trading strategies one should generate a trading scenario per strategy using rules of the strategy and the same historical trading data that would be used for backtesting. Then the scenarios and the historical quote data are passed to the backtesting software that implements the proposed approach [1]. 3.1 Limitations of the order execution model This paper presents the simplest model of stock market trading. It does not consider some highdemanded features of the modern stock market: margin trading, short trading, market feedback : usage of information about execution of the registered orders to decide whether to register new orders, transaction costs. All of these limitations are not crucial and the model could be easily extended to remove them. Fundamental features of real-world trading are beyond the scope of the model are that: a) Registered orders affect market price, b) Concurrent orders from multiple market players could prevent market orders from execution at the given These flaws exist in any backtesting tool and, moreover, are intrinsic to the very approach that relies on historical quote data to evaluate trading strategy. Inaccuracy imposed by these flaws usually is balanced out using the slippage coefficient. We are going to supplement this technique by empirical estimation of the slippage coefficient using a ratio of an order to a historically traded volume. Besides that, the proposed approach is free from the third common backtesting problem, which is related to inaccuracy due to historical traded volume is not sufficient to fully execute an order. 3.2 Further work Most of the limitations described above are in a short-term development plan of the proposed approach and Backtester tool [1].
12 The next main milestone of the Backtester project is a development of flexible modular framework for development of mechanical trading systems. Such framework would incorporate user-defined modules that define metrics, indicators and mechanical trading algorithms, as well as learning-based components for the purpose of trading strategy optimization. Every aspect of the framework would be based on a strong formal basis, introducing mathematical rigor to a field of technical analysis and stock market trading. The very nature of the technical analysis is that successful research results are highly confidential and proprietary. However, the field of methods and tools that support technical analysis and stock market trading has a perfect potential for further development. The Backtester software prototype [1] will be used as an integral component of open platform for development of mechanical trading systems. References 1. Backtester homepage at SourceForge [HTML] ( 2. Jeffrey Owen Katz, Donna L. McCormick. The Encyclopedia Of Trading Strategies. М.: Альпина, с. 3. Bruce James Vanstone, Clarence Tan A Survey of the Application of Soft Computing to Investment and Financial Trading. // Information Technology papers. Australia: Bond University, School of Information Technology, p. 4. Michael Korolyuk. How to compare trading strategies. Saint-Petersburg: Modern Trading, p.(In Russian) 5. Bruce James. Vanstone Trading in the Australian Stockmarket using Artificial Neural Networks. // Submitted to Bond University in fulfillment of the requirements for the degree Doctor of Philosophy. Australia: Bond University, School of Information Technology, p. 6. Sean D. Campbell A Review of Backtesting and Backtesting Procedures // Finance and Economics Discussion Series. Washington, D. C.: Federal Reserve Board, Divisions of Research & Statistics and Monetary Affairs, p. 7. Gautam Mitra, Triphonas Kyriakis, Cormac Lucas, Mehndi Pirbhai. A Review of Portfolio Planning: Models and Systems. Preprint. London, England: Brunel University, Center for the Analysis of Risk and Optimisation Modelling Applications, p. 8. Marcus Haas. New Methods in Backtesting. Preprint Bonn, Germany: Financial Engineering Research Center, p. 9. W. Hardle, G. Stahl Backtesting Beyond VaR. Preprint. Berlin, Germany: Institut fur Statistik und Okonometrie Wirtschaftswissenschaftliche Fakultat Humboldt-Universitat zu Berlin, p. 10. Colleen Cassidy, Marianne Gizycki Measuring Traded Market Risk: Value-at-Risk and Backtesting Techniques // Research Discussion Paper. Australia: Reserve Bank of Australia, Bank Supervision Department, p. 11. ARQA Technologies. Description of orders, available on the Russian stock market [HTML] ( (In Russian) 12. Wikipedia.Org Feature comparison of Technical Analysis Software [HTML] ( 13. Raphael Hertzog, Fabien Fulhaber. Genius Trader project homepage [HTML] ( 14. pvoosten at users.sourceforge.net. LongBow project homepage [HTML] ( 15. Andrew Leppardю Merchant of Venice project homepage [HTML] ( 16. Steve Stratos. Qtstalker project homepage [HTML] ( 17. Glauco Siliprandi. QuantProject homepage [HTML] ( 18. Caleb Doise. Quote Blizzard project homepage [HTML] (
EVALUATING THE APPLICATION OF NEURAL NETWORKS AND FUNDAMENTAL ANALYSIS IN THE AUSTRALIAN STOCKMARKET
EVALUATING THE APPLICATION OF NEURAL NETWORKS AND FUNDAMENTAL ANALYSIS IN THE AUSTRALIAN STOCKMARKET Bruce J Vanstone School of IT Bond University Gold Coast, Queensland, Australia [email protected]
Strategies in Options Trading By: Sarah Karfunkel
Strategies in Options Trading By: Sarah Karfunkel Covered Call Writing: I nvestors use two strategies involving stock options to offset risk: (1) covered call writing and (2) protective puts. The strategy
Algorithmic Trading Session 1 Introduction. Oliver Steinki, CFA, FRM
Algorithmic Trading Session 1 Introduction Oliver Steinki, CFA, FRM Outline An Introduction to Algorithmic Trading Definition, Research Areas, Relevance and Applications General Trading Overview Goals
Futures Contract Introduction
Futures Contract Introduction 1 The first futures exchange market was the Dojima Rice exchange in Japan in the 1730s, to meet the needs of samurai who being paid in rice and after a series of bad harvests
Proceedings of the 9th WSEAS International Conference on APPLIED COMPUTER SCIENCE
Automated Futures Trading Environment Effect on the Decision Making PETR TUCNIK Department of Information Technologies University of Hradec Kralove Rokitanskeho 62, 500 02 Hradec Kralove CZECH REPUBLIC
Requirements engineering
Learning Unit 2 Requirements engineering Contents Introduction............................................... 21 2.1 Important concepts........................................ 21 2.1.1 Stakeholders and
Optimization of technical trading strategies and the profitability in security markets
Economics Letters 59 (1998) 249 254 Optimization of technical trading strategies and the profitability in security markets Ramazan Gençay 1, * University of Windsor, Department of Economics, 401 Sunset,
Math 489/889. Stochastic Processes and. Advanced Mathematical Finance. Homework 1
Math 489/889 Stochastic Processes and Advanced Mathematical Finance Homework 1 Steve Dunbar Due Friday, September 3, 2010 Problem 1 part a Find and write the definition of a ``future'', also called a futures
Contents. List of Figures. List of Tables. List of Examples. Preface to Volume IV
Contents List of Figures List of Tables List of Examples Foreword Preface to Volume IV xiii xvi xxi xxv xxix IV.1 Value at Risk and Other Risk Metrics 1 IV.1.1 Introduction 1 IV.1.2 An Overview of Market
Prediction Model for Crude Oil Price Using Artificial Neural Networks
Applied Mathematical Sciences, Vol. 8, 2014, no. 80, 3953-3965 HIKARI Ltd, www.m-hikari.com http://dx.doi.org/10.12988/ams.2014.43193 Prediction Model for Crude Oil Price Using Artificial Neural Networks
CONTRACTS FOR DIFFERENCE
CONTRACTS FOR DIFFERENCE Contracts for Difference (CFD s) were originally developed in the early 1990s in London by UBS WARBURG. Based on equity swaps, they had the benefit of being traded on margin. They
Data quality in Accounting Information Systems
Data quality in Accounting Information Systems Comparing Several Data Mining Techniques Erjon Zoto Department of Statistics and Applied Informatics Faculty of Economy, University of Tirana Tirana, Albania
MATHEMATICS OF FINANCE AND INVESTMENT
MATHEMATICS OF FINANCE AND INVESTMENT G. I. FALIN Department of Probability Theory Faculty of Mechanics & Mathematics Moscow State Lomonosov University Moscow 119992 [email protected] 2 G.I.Falin. Mathematics
IT SOLUTIONS MOSCOW EXCHANGE
IT SOLUTIONS MOSCOW EXCHANGE CONTENTS Network connectivity Selection of network solutions 1 Universal DMA scheme 2 ConnectME 3 Co-location 4 Internet connection 5 Global Connectivity 6 DMA interfaces Terminals
Section 1 - Overview and Option Basics
1 of 10 Section 1 - Overview and Option Basics Download this in PDF format. Welcome to the world of investing and trading with options. The purpose of this course is to show you what options are, how they
DERIVATIVES Presented by Sade Odunaiya Partner, Risk Management Alliance Consulting DERIVATIVES Introduction Forward Rate Agreements FRA Swaps Futures Options Summary INTRODUCTION Financial Market Participants
Finanzdienstleistungen (Praxis) Algorithmic Trading
Finanzdienstleistungen (Praxis) Algorithmic Trading Definition A computer program (Software) A process for placing trade orders like Buy, Sell It follows a defined sequence of instructions At a speed and
Trading Tutorial. Microstructure 2 Liquidity. Rotman School of Management http://rit.rotman.utoronto.ca Page 1 of 9
Microstructure 2 Tutorial Introduction Welcome to Rotman Interactive Trader (RIT). This document begins assuming that you have installed and run the Rotman Interactive Trader client application (RIT Client).
Creating Short-term Stockmarket Trading Strategies using Artificial Neural Networks: A Case Study
Creating Short-term Stockmarket Trading Strategies using Artificial Neural Networks: A Case Study Bruce Vanstone, Tobias Hahn Abstract Developing short-term stockmarket trading systems is a complex process,
Lecture 24: Market Microstructure Steven Skiena. http://www.cs.sunysb.edu/ skiena
Lecture 24: Market Microstructure Steven Skiena Department of Computer Science State University of New York Stony Brook, NY 11794 4400 http://www.cs.sunysb.edu/ skiena Types of Buy/Sell Orders Brokers
(Refer Slide Time: 01:52)
Software Engineering Prof. N. L. Sarda Computer Science & Engineering Indian Institute of Technology, Bombay Lecture - 2 Introduction to Software Engineering Challenges, Process Models etc (Part 2) This
Turk s ES ZigZag Day Trading Strategy
Turk s ES ZigZag Day Trading Strategy User Guide 11/15/2013 1 Turk's ES ZigZag Strategy User Manual Table of Contents Disclaimer 3 Strategy Overview.. 4 Strategy Detail.. 6 Data Symbol Setup 7 Strategy
Analyzing an Electronic Limit Order Book
64 CONTRIBUTED RESEARCH ARTICLES Analyzing an Electronic Limit Order Book by David Kane, Andrew Liu, and Khanh Nguyen Abstract The orderbook package provides facilities for exploring and visualizing the
Challenger Retirement Income Research. How much super does a retiree really need to live comfortably? A comfortable standard of living
14 February 2012 Only for use by financial advisers How much super does a retiree really need to live comfortably? Understanding how much money will be needed is critical in planning for retirement One
Lecture 4: Derivatives
Lecture 4: Derivatives School of Mathematics Introduction to Financial Mathematics, 2015 Lecture 4 1 Financial Derivatives 2 uropean Call and Put Options 3 Payoff Diagrams, Short Selling and Profit Derivatives
6. Foreign Currency Options
6. Foreign Currency Options So far, we have studied contracts whose payoffs are contingent on the spot rate (foreign currency forward and foreign currency futures). he payoffs from these instruments are
NanoTrader A Quantum Leap in Trading Software Integrated Charting and Trading has never been so easy and flexible
Software-Review NanoTrader from Fipertec GmbH, Berlin As appeared in Traders Magazine April, 2009 NanoTrader A Quantum Leap in Trading Software Integrated Charting and Trading has never been so easy and
How to Win the Stock Market Game
How to Win the Stock Market Game 1 Developing Short-Term Stock Trading Strategies by Vladimir Daragan PART 1 Table of Contents 1. Introduction 2. Comparison of trading strategies 3. Return per trade 4.
Review of Basic Options Concepts and Terminology
Review of Basic Options Concepts and Terminology March 24, 2005 1 Introduction The purchase of an options contract gives the buyer the right to buy call options contract or sell put options contract some
Trader Manual. NatureForex.com
Trader Manual NatureForex.com Welcome to the exciting world of FX/CFD trading! This manual will explain how to trade FX/CFD with NatureForex platform. For any further questions, please feel free to contact
FINANCIAL ECONOMICS OPTION PRICING
OPTION PRICING Options are contingency contracts that specify payoffs if stock prices reach specified levels. A call option is the right to buy a stock at a specified price, X, called the strike price.
A Simulation Model for Studying the Influence of Algorithmic Trading and. Vending Machines on the State of the Stock Market
Journal of Business and Economics, ISSN 2155-7950, USA August 2014, Volume 5, No. 8, pp. 1271-1281 DOI: 10.15341/jbe(2155-7950)/08.05.2014/008 Academic Star Publishing Company, 2014 http://www.academicstar.us
Design of an FX trading system using Adaptive Reinforcement Learning
University Finance Seminar 17 March 2006 Design of an FX trading system using Adaptive Reinforcement Learning M A H Dempster Centre for Financial Research Judge Institute of Management University of &
Hedging Illiquid FX Options: An Empirical Analysis of Alternative Hedging Strategies
Hedging Illiquid FX Options: An Empirical Analysis of Alternative Hedging Strategies Drazen Pesjak Supervised by A.A. Tsvetkov 1, D. Posthuma 2 and S.A. Borovkova 3 MSc. Thesis Finance HONOURS TRACK Quantitative
Introduction to Equity Derivatives on Nasdaq Dubai NOT TO BE DISTRIUTED TO THIRD PARTIES WITHOUT NASDAQ DUBAI S WRITTEN CONSENT
Introduction to Equity Derivatives on Nasdaq Dubai NOT TO BE DISTRIUTED TO THIRD PARTIES WITHOUT NASDAQ DUBAI S WRITTEN CONSENT CONTENTS An Exchange with Credentials (Page 3) Introduction to Derivatives»
Long-term Stock Market Forecasting using Gaussian Processes
Long-term Stock Market Forecasting using Gaussian Processes 1 2 3 4 Anonymous Author(s) Affiliation Address email 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
TRANSAQ. Perfect software for broker-dealer services. Russian and International Markets
TRANSAQ Perfect software for broker-dealer services Russian and International Markets Contents 3 Facts about TRANSAQ Advantages of the system 7 Markets and architecture Available trading floors, platform
MTREPORT 4.0. User s Manual
MTREPORT 4.0 User s Manual 2006-2015 Thijs van Vliet - www.mt4tools.com - build 1042 jun 2015 General description MTReport 4.0 is a software utility for analysing report files generated by MetaTrader.
INTRODUCTION. This program should serve as just one element of your due diligence.
FOREX ONLINE LEARNING PROGRAM INTRODUCTION Welcome to our Forex Online Learning Program. We ve always believed that one of the best ways to protect investors is to provide them with the materials they
Empirical Analysis of an Online Algorithm for Multiple Trading Problems
Empirical Analysis of an Online Algorithm for Multiple Trading Problems Esther Mohr 1) Günter Schmidt 1+2) 1) Saarland University 2) University of Liechtenstein [email protected] [email protected] Abstract:
General Forex Glossary
General Forex Glossary A ADR American Depository Receipt Arbitrage The simultaneous buying and selling of a security at two different prices in two different markets, with the aim of creating profits without
A Day Trading Strategy: The Gap System
A Day Trading Strategy: The Gap System Michael Tan, Ph.D., CFA Copyright 2005 Michael Tan, Ph.D., CFA Apothem Capital Management, LLC 330 East 38 th Street t 14L New York, NY 10016 Tel: 212-922-1265 [email protected]
Understanding Margins
Understanding Margins Frequently asked questions on margins as applicable for transactions on Cash and Derivatives segments of NSE and BSE Jointly published by National Stock Exchange of India Limited
Online and Offline Selling in Limit Order Markets
Online and Offline Selling in Limit Order Markets Kevin L. Chang 1 and Aaron Johnson 2 1 Yahoo Inc. [email protected] 2 Yale University [email protected] Abstract. Completely automated electronic
RULES OF FINANCIAL INSTRUMENT TRADING IN THE ALTERNATIVE TRADING SYSTEM. Chapter 1 General provisions
Exhibit 2 to the Alternative Trading System Rules (text according to legal condition at 2 April 2012) NOTE: Only the Polish version of this document is legally binding. This translation is provided for
Partnerships you can depend on
Introducers Partnerships you can depend on There s more than one way to profit from forex. At FxPro we ve made it our business to offer clients and partners every opportunity to benefit from the world
5 STEPS TO TRADING OPTIONS
AUSTRALIAN STOCKMARKET DATA PROFESSIONAL COVERED CALL OPTIONS TRADING PLAN SYSTEM 5 STEPS TO TRADING OPTIONS Page 1 PREAMBLE Please find below the 5 Steps To Writing Covered Call Options This module is
9 Questions Every ETF Investor Should Ask Before Investing
9 Questions Every ETF Investor Should Ask Before Investing 1. What is an ETF? 2. What kinds of ETFs are available? 3. How do ETFs differ from other investment products like mutual funds, closed-end funds,
SAVI TRADING 2 KEY TERMS AND TYPES OF ORDERS. SaviTrading LLP 2013
SAVI TRADING 2 KEY TERMS AND TYPES OF ORDERS 1 SaviTrading LLP 2013 2.1.1 Key terms and definitions We will now explain and define the key terms that you are likely come across during your trading careerbefore
Understanding Margins. Frequently asked questions on margins as applicable for transactions on Cash and Derivatives segments of NSE and BSE
Understanding Margins Frequently asked questions on margins as applicable for transactions on Cash and Derivatives segments of NSE and BSE Jointly published by National Stock Exchange of India Limited
Module 5 Index CFDs. Course #: Title. Version 1 August 2013 1
Module 5 Index CFDs Course #: Title Topic 1: S&P/ASX 200 CFDs... 3 Initial margin... 3 Variation margins... 3 Cashflows... 4 Topic 2: S&P/ASX 200 CFD strategies... 6 Trade broad market movements... 6 Protect
Chapter 4 Software Lifecycle and Performance Analysis
Chapter 4 Software Lifecycle and Performance Analysis This chapter is aimed at illustrating performance modeling and analysis issues within the software lifecycle. After having introduced software and
FIN-40008 FINANCIAL INSTRUMENTS SPRING 2008
FIN-40008 FINANCIAL INSTRUMENTS SPRING 2008 Options These notes consider the way put and call options and the underlying can be combined to create hedges, spreads and combinations. We will consider the
Service Overview 1 June 2012
Service Overview 1 June 2012 Contents 1.0 Preface 3 1.1 About European Central Counterparty Limited 3 2.0 Introduction 4 2.1 About European Central Counterparty Limited 4 2.2 Benefits of participation
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
EXCHANGE TRADED OPTIONS PRODUCT DISCLOSURE STATEMENT INTERACTIVE BROKERS LLC ARBN 091 191 141 AFSL 245 574
EXCHANGE TRADED OPTIONS PRODUCT DISCLOSURE STATEMENT INTERACTIVE BROKERS LLC ARBN 091 191 141 AFSL 245 574 Date of Issue: 12 February 2014 INDEX 1. GENERAL INTRODUCTION 4 1.1 Important Information 4 1.2
January 2001 UNDERSTANDING INDEX OPTIONS
January 2001 UNDERSTANDING INDEX OPTIONS Table of Contents Introduction 3 Benefits of Listed Index Options 5 What is an Index Option? 7 Equity vs. Index Options 9 Pricing Factors Underlying Instrument
Stock Market Dashboard Back-Test October 29, 1998 March 29, 2010 Revised 2010 Leslie N. Masonson
Stock Market Dashboard Back-Test October 29, 1998 March 29, 2010 Revised 2010 Leslie N. Masonson My objective in writing Buy DON T Hold was to provide investors with a better alternative than the buy-and-hold
UNDERSTANDING INDEX OPTIONS
UNDERSTANDING INDEX OPTIONS The Options Industry Council (OIC) is an industry cooperative created to educate the investing public and brokers about the benefits and risks of exchange-traded options. Options
State of the Art Virtual Portfolio Management: Building Skills that Matter
State of the Art Virtual Portfolio Management: Building Skills that Matter There are many ways for students to play stock market games or more generally, participate in a virtual portfolio simulation:
CHAPTER 14. Stock Options
CHAPTER 14 Stock Options Options have fascinated investors for centuries. The option concept is simple. Instead of buying stock shares today, you buy an option to buy the stock at a later date at a price
Up/Down Analysis of Stock Index by Using Bayesian Network
Engineering Management Research; Vol. 1, No. 2; 2012 ISSN 1927-7318 E-ISSN 1927-7326 Published by Canadian Center of Science and Education Up/Down Analysis of Stock Index by Using Bayesian Network Yi Zuo
Derivatives: Options
Derivatives: Options Call Option: The right, but not the obligation, to buy an asset at a specified exercise (or, strike) price on or before a specified date. Put Option: The right, but not the obligation,
Monte Carlo Methods in Finance
Author: Yiyang Yang Advisor: Pr. Xiaolin Li, Pr. Zari Rachev Department of Applied Mathematics and Statistics State University of New York at Stony Brook October 2, 2012 Outline Introduction 1 Introduction
Stock market simulation with ambient variables and multiple agents
Stock market simulation with ambient variables and multiple agents Paolo Giani Cei 0. General purposes The aim is representing a realistic scenario as a background of a complete and consistent stock market.
How CFD Trading Works?
What are CFD s In finance, a contract for difference (CFD) is a contract between two parties, typically described as "buyer" and "seller", stipulating that the seller will pay to the buyer the difference
How to Make Money Shorting Stocks in Up and Down Markets
How to Make Money Shorting Stocks in Up and Down Markets Now I am very much aware that many market players do not like to short stocks. This bias against the short side of the market is totally understandable,
Robert and Mary Sample
Comprehensive Financial Plan Sample Plan Robert and Mary Sample Prepared by : John Poels, ChFC, AAMS Senior Financial Advisor February 11, 2009 Table Of Contents IMPORTANT DISCLOSURE INFORMATION 1-7 Presentation
www.ifcmarkets.com tutorial
tutorial Introduction Chapter 1: THE BASICS YOU SHOULD KNOW ABOUT CFD TRADING Chapter 2: CHOOSE YOUR CFD PROVIDER Chapter 3: TRADING IN ACTION Chapter 4: CONSIDER AND MANAGE YOUR RISKS INTRODUCTION Nowadays,
Web2.0 HTML5. User Manual. Ayers Solutions Limited
Web2.0 HTML5 User Manual By Ayers Solutions Limited Amendment History Web2.0 HTML5 User Manual (Internet) V1.13.1 Version Date V1.13.0 29-Sep-15 V1.13.1 15-Dec-15 Details Initial Copy Revamp 2 Contents
Chapter 1 INTRODUCTION. 1.1 Background
Chapter 1 INTRODUCTION 1.1 Background This thesis attempts to enhance the body of knowledge regarding quantitative equity (stocks) portfolio selection. A major step in quantitative management of investment
Commodity Options as Price Insurance for Cattlemen
Managing for Today s Cattle Market and Beyond Commodity Options as Price Insurance for Cattlemen By John C. McKissick, The University of Georgia Most cattlemen are familiar with insurance, insuring their
Forex Basics brought to you by MatrasPlatform.com
Forex Basics brought to you by MatrasPlatform.com Table of Content What is FOREX... 3 FOREX Basics... 4 Trading Hours... 4 What Is Traded on FOREX?... 4 The Six Majors... 4 Currency Pair Distribution...
Proposal for the Establishment of the OTC Market for Emissions Trading ISDA Japan Emissions Trading Working Group May 2004
Proposal for the Establishment of the OTC Market for Emissions Trading ISDA Japan Emissions Trading Working Group May 2004 1. Introduction Emissions trading is the mechanism of trading between states or
www.optionseducation.org OIC Options on ETFs
www.optionseducation.org Options on ETFs 1 The Options Industry Council For the sake of simplicity, the examples that follow do not take into consideration commissions and other transaction fees, tax considerations,
BINOMIAL OPTIONS PRICING MODEL. Mark Ioffe. Abstract
BINOMIAL OPTIONS PRICING MODEL Mark Ioffe Abstract Binomial option pricing model is a widespread numerical method of calculating price of American options. In terms of applied mathematics this is simple
Services Guide A S S E T M A N A G E M E N T P R O J E C T. Version 2.3 English
www.faunus-am.com www.faunusanalytics.com Services Guide A S S E T M A N A G E M E N T P R O J E C T Version 2.3 English I Copyright 2012 Faunus Analytics LLC. All rights reserved. This document is the
Prescriptive Analytics. A business guide
Prescriptive Analytics A business guide May 2014 Contents 3 The Business Value of Prescriptive Analytics 4 What is Prescriptive Analytics? 6 Prescriptive Analytics Methods 7 Integration 8 Business Applications
NorthCoast Investment Advisory Team 203.532.7000 [email protected]
NorthCoast Investment Advisory Team 203.532.7000 [email protected] NORTHCOAST ASSET MANAGEMENT An established leader in the field of tactical investment management, specializing in quantitative research
Dynamic macro stress exercise including feedback effect
Dynamic macro stress exercise including feedback effect by Tokiko Shimizu * Institute for Monetary and Economic Studies Bank of Japan Abstract The goal of this study is to illustrate a viable way to explore
Futures Trading Using the 14-day Stochastic Signal as Defined and Published by Robert McHugh, Ph.D.,
Futures Trading Using the 14-day Stochastic Signal as Defined and Published by Robert McHugh, Ph.D., by David Zaitzeff, futures broker at PFG West (Camarillo, CA) 800-656-0443 (office) Robert McHugh, Ph.D.,
Meta Trader 4 for iphone User Guide
Meta Trader 4 for iphone User Guide Hirose Financial UK Ltd. 27 Austin Friars, London, EC2N 2QP Email: [email protected] FSA Registration Number 540244 Table of Contents Page MT4 Installation 2 Make Demo
Describing, manipulating and pricing financial contracts: The MLFi language
Describing, manipulating and pricing financial contracts: The MLFi language Centre for Financial Research, Judge Institute of Management Cambridge, 14 March 2003 (revised January 2005) Jean-Marc Eber LexiFi,
Execution Costs. Post-trade reporting. December 17, 2008 Robert Almgren / Encyclopedia of Quantitative Finance Execution Costs 1
December 17, 2008 Robert Almgren / Encyclopedia of Quantitative Finance Execution Costs 1 Execution Costs Execution costs are the difference in value between an ideal trade and what was actually done.
Notes on Complexity Theory Last updated: August, 2011. Lecture 1
Notes on Complexity Theory Last updated: August, 2011 Jonathan Katz Lecture 1 1 Turing Machines I assume that most students have encountered Turing machines before. (Students who have not may want to look
INCORPORATION OF LIQUIDITY RISKS INTO EQUITY PORTFOLIO RISK ESTIMATES. Dan dibartolomeo September 2010
INCORPORATION OF LIQUIDITY RISKS INTO EQUITY PORTFOLIO RISK ESTIMATES Dan dibartolomeo September 2010 GOALS FOR THIS TALK Assert that liquidity of a stock is properly measured as the expected price change,
FIN-40008 FINANCIAL INSTRUMENTS SPRING 2008. Options
FIN-40008 FINANCIAL INSTRUMENTS SPRING 2008 Options These notes describe the payoffs to European and American put and call options the so-called plain vanilla options. We consider the payoffs to these
FUTURES Helping the Share Trader Understand. By Paul Ash Educator & Past Futures Broker TCT Australia Pty Ltd Phone 0414 836 063
FUTURES Helping the Share Trader Understand By Paul Ash Educator & Past Futures Broker TCT Australia Pty Ltd Phone 0414 836 063 The information is provided for training purposes only and is not a substitute
IT SERVICES FOR DIRECT MARKET ACCESS FROM BASIC TO ULTIMATE
IT SERVICES FOR DIRECT MARKET ACCESS FROM BASIC TO ULTIMATE IN TOUCH WITH OPPORTUNITIES Trading Technology Solutions ATON has created and is continuously improving an extensive trading platform, designed
CHAPTER 1 INTRODUCTION
1 CHAPTER 1 INTRODUCTION Exploration is a process of discovery. In the database exploration process, an analyst executes a sequence of transformations over a collection of data structures to discover useful
AyersGTS (Internet) User Manual. Ayers Solutions Limited
AyersGTS (Internet) User Manual By Ayers Solutions Limited Amendment History AyersGTS User Manual (Internet) v1.10.0 Version Date Details V1.0 1-Jun-04 Initial Copy V1.1 3-Aug-04 Updated Images V1.2 20-Dec-04
