<?xml version="1.0" encoding="UTF-8"?>
<TEI xml:space="preserve" xmlns="http://www.tei-c.org/ns/1.0" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xsi:schemaLocation="http://www.tei-c.org/ns/1.0 https://raw.githubusercontent.com/kermitt2/grobid/master/grobid-home/schemas/xsd/Grobid.xsd"
 xmlns:xlink="http://www.w3.org/1999/xlink">
	<teiHeader xml:lang="en">
		<fileDesc>
			<titleStmt>
				<title level="a" type="main">CPU and GPU Implementations for High Frequency Trading in Algorithmic Finance</title>
			</titleStmt>
			<publicationStmt>
				<publisher/>
				<availability status="unknown"><licence/></availability>
			</publicationStmt>
			<sourceDesc>
				<biblStruct>
					<analytic>
						<author>
							<persName><forename type="first">Mantas</forename><surname>Vaitonis</surname></persName>
							<email>mantas.vaitonis@knf.vu.lt</email>
							<affiliation key="aff0">
								<orgName type="institution">Vilnius University Kaunas Faculty</orgName>
								<address>
									<addrLine>Muitinės street. 8</addrLine>
									<postCode>LT-44280</postCode>
									<settlement>Kaunas</settlement>
									<country key="LT">Lithuania</country>
								</address>
							</affiliation>
						</author>
						<author>
							<persName><forename type="first">Saulius</forename><surname>Masteika</surname></persName>
							<email>saulius.masteika@knf.vu.lt</email>
							<affiliation key="aff1">
								<orgName type="institution">Vilnius University Kaunas Faculty</orgName>
								<address>
									<addrLine>Muitinės street. 8</addrLine>
									<postCode>LT-44280</postCode>
									<settlement>Kaunas</settlement>
									<country key="LT">Lithuania</country>
								</address>
							</affiliation>
						</author>
						<title level="a" type="main">CPU and GPU Implementations for High Frequency Trading in Algorithmic Finance</title>
					</analytic>
					<monogr>
						<imprint>
							<date/>
						</imprint>
					</monogr>
					<idno type="MD5">261F75E2C51854EA4D9809B12149E7F8</idno>
				</biblStruct>
			</sourceDesc>
		</fileDesc>
		<encodingDesc>
			<appInfo>
				<application version="0.7.2" ident="GROBID" when="2023-03-19T16:04+0000">
					<desc>GROBID - A machine learning software for extracting information from scholarly documents</desc>
					<ref target="https://github.com/kermitt2/grobid"/>
				</application>
			</appInfo>
		</encodingDesc>
		<profileDesc>
			<textClass>
				<keywords>
					<term>high frequency trading</term>
					<term>statistical arbitrage</term>
					<term>GPU</term>
					<term>high performance computing</term>
					<term>parallel computing</term>
				</keywords>
			</textClass>
			<abstract>
<div xmlns="http://www.tei-c.org/ns/1.0"><p>Today algorithmic trading and High Frequency Trading (HFT) account for a dominant part of overall trading volume in financial markets. The trade execution time has grown from daily trading to microseconds and nanoseconds.. A modern GPU allows hundreds of operations to be performed in parallel, leaving the CPU free to execute other jobs. The main objective of this research was to test the possibility and quantify how much higher speedups the use of GPUs can bring in calculations of HFT statistical arbitrage algorithms. In the research MATLAB software was applied for GPU application and computations. The statistical arbitrage-pair trading algorithm was parallelized in order to adapt it to GPU application. The effectiveness was measured according to time CPU and GPU did spent working on historical data using pair trading strategy. In the paper the final results of the research are presented and discussed. The results have proven up to 30% increase in computational speed with the application of statistical arbitrage algorithm in HFT.</p></div>
			</abstract>
		</profileDesc>
	</teiHeader>
	<text xml:lang="en">
		<body>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>I. INTRODUCTION</head><p>The computational power requirements have continuously increased in computer science fields such as computational physics, quantitative finance and etc. One of the examples is high-frequency trading (HFT) which is focused on automatic trading decisions making. All decisions to buy or to sell financial instrument are made by computer algorithms without human interaction. The mentioned algorithms analyze the incoming information which is received from the exchange system. Information from exchange system may include new transactions taking place with their transaction prices and volumes, but in some systems also order submission, order modification and order deletion events of other exchange members. If a trading algorithm decides to submit a buy or sell order to the exchange system, then within a few milliseconds this information is sent from exchange member's system to the central exchange server which is responsible for matching offer and demand. The exchange server responds with a confirmation message. <ref type="bibr" target="#b5">[6]</ref> The trade execution time has grown from daily trading to microseconds and even nanoseconds. By the increase in speed a huge number of orders and order cancellations are required.</p><p>Profit chances for high frequency traders are very time sensitive and low latency for trade execution is of the main importance. Thus, HFT firms invest in hardware and highspeed connections and place their trading platforms close to stock market servers via co-location. One of the hardware invested is GPU. The architectures GPU are a cost effective alternative to traditional parallel processing machines. This change ushers in a new era in computing, which allows any modern personal computer to take advantage of parallel processing capabilities previously available only in specialized systems. <ref type="bibr" target="#b19">[20]</ref> Nowadays, standard computers come with sequential CPUs or with multicore CPUs, which allow a limited number of processes to be executed in parallel. On the other hand, the importance of graphics in most application domains pushed industry into producing ad-hoc Graphical Processing Units (GPUs) to relieve the main CPU from the calculations required for graphics. What is important here is that this hardware is strongly parallel and may operate independent from the main CPU. A modern GPU, like those equipping most computers today, allows hundreds of operations to be performed in parallel, leaving the CPU free to execute other jobs. In particular, GPUs offer hundreds of processing cores, but they can be used simultaneously only to perform data parallel computations. Moreover, GPUs usually have no direct access to the main memory and they do not offer hardware managed caches; two aspects that make memory management a critical factor to be carefully considered. <ref type="bibr" target="#b6">[7]</ref> The increasing pervasivity of parallel architectures like multi-/many-core CPUs and GPUs, parallel programming has become not an alternative but rather a need for increasing the software performance. <ref type="bibr" target="#b1">[2]</ref> Graphics processing units (GPU) offer a new possibility for speeding up large scale simulation of long range interacting systems without sacrificing accuracy. GPU is a powerful device which can process thousands of threads simultaneously with high memory bandwidth. Compared to CPU, GPU is designed with more transistors that are devoted to data processing rather than data caching and flow control. It is suitable for computation-intensive and data-parallel computations needed for high frequency traders that are time sensitive. <ref type="bibr" target="#b4">[5]</ref> Multi-threaded parallel CPU implementations are expected to run faster than the single-threaded counterparts, the overhead of creating, destroying, and synchronizing threads may be very Copyright held by the author(s).</p><p>high. An alternative parallel computing platform is the GPU. Originally, it was developed for graphics applications. Due to their massive parallel processing capabilities, state-of-the-art GPUs are the leading software computing devices for the most parallel and computationally intensive applications such as high frequency trading algorithms. <ref type="bibr" target="#b2">[3]</ref> Our study demonstrates how the use of GPUs can bring impressive speedups in statistical arbitrage trading algorithm, leaving the main CPU free to focus on the remaining aspects of trading strategy. Several vendors have recently started offering toolkits to leverage the power of GPUs for general purpose programming. Unfortunately, they introduce a totally new model of computation, which requires algorithms to be fully redesigned. In this research MATLAB was used for GPU computing which allows to accelerate an application with GPUs more easily than by using C or Fortran. With the MATLAB language it is possible take advantage of the CUDA GPU computing technology without having to learn the intricacies of GPU architectures or low-level GPU computing libraries.</p><p>In this paper, we investigate implementations of CPU and GPU the parallel pair trading algorithm. The main aim of this research is to explain the improved designs in detail, and report a performance comparison between CPU and GPU implementations in terms of speed. Improvements suggested in the paper for CPU and GPU implementations are summarized as faster speed due to new memory access patterns, and more flexibility due to a more efficient use of processors, respectively.</p><p>In order to take advantage of the CPU and GPU it is necessary to parallelize the calculations. The effectiveness was measured according to time CPU and GPU did spent working on historical data using pair trading strategy. The strategy used was first researched by D. Herlemont on his paper about pairs trading <ref type="bibr" target="#b18">[19]</ref>. This trading strategy was used on high frequency data during previous researches. <ref type="bibr" target="#b23">[24]</ref>[32] However it was not used with GPU. There are a number of functions of this trading algorithm that can be parallelized like pair selection, trading signal detection, trading and profit/loss calculation for each trade. Thus, it had to be modified and parallelize in order to take advantage of GPU. Importantly, not only pairs trading strategies, but also the method of pairs selection is introduced in this research.</p><p>Cointegration method was used for trading pairs selection. The pairs selection algorithm is based on using Augmented Dickey Fuller Test, Engle and Grangers 2-step approach and Johansen test. <ref type="bibr" target="#b11">[12]</ref> Finally, the comparison of statistical arbitrage trading strategy is given when using CPU and later with GPU.</p><p>The rest of the paper is organized as follows: theory and the problem statement are presented in Sections 1 and 2, the methodology, including the pairs trading strategy, pairs selection algorithm, speedup of an trading algorithm is presented in Sections 3 and 4. The results and the summary of the research, followed by conclusions in Section 5.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>II. TRADING USING HARDWARE ACCELERATION</head><p>Hardware acceleration is achieved by utilizing specific hardware to gain higher computational results than those provided by general purpose CPU. Most devices intended for intense calculations include Field-Programmable Gate Array (FPGA), IBM"s Cell Broadband Engine Architecture (Cell BE or, simply, Cell) and Graphics Processing Units (GPUs). Until recently GPU remained on fringes of HPC (high performance computing) mostly because of the high learning curve caused by the fact that low-level graphics languages were the only way to program the GPUs. Now, however, NVIDIA has come out with a new line of graphics cards -Tesla. <ref type="bibr" target="#b5">[6]</ref> One of NVIDIA GPUs" main features is ease of programmability made possible with CUDA -Compute Unified Device Architecture. CUDA provides the means to compile and run code for NVIDIA"s GPUs. With a low learning curve, CUDA allows developers to tap into enormous computing power of GPUs yielding high performance benefits. <ref type="bibr" target="#b7">[8]</ref> As mentioned in the introduction, we use the compute unified device architecture (CUDA), which allows for implementation of algorithms using MATLAB with CUDA specific extensions. Thus, CUDA issues and manages computations on a GPU as a data-parallel computing device. The graphics card architecture used in recent GPU generations is built around a scalable array of streaming multiprocessors. <ref type="bibr" target="#b7">[8]</ref> When a program using CUDA extensions and running on the CPU invokes a GPU kernel, which is a synonym for a GPU function, many copies of this kernelknown as threadsare enumerated and distributed to the available multiprocessors, where their execution starts. As shown in Fig. <ref type="figure" target="#fig_3">3</ref>, each multiprocessor of the GPU device contains several local registers per processor, memory which is shared by all scalar processor cores in a multiprocessor. In order to allow for reducing the number of involved multiprocessors, the slower global memory can be used, which is shared among all multiprocessors and is also accessible by the function running in the CPU. Please note, that the GPU's global memory is still roughly 10 times faster than current main memory of personal computers. However, each multiprocessor features only one double-precision processing core and so, the theoretical peak performance is significantly reduced for double-precision operations. <ref type="bibr" target="#b7">[8]</ref> III. STATISTICAL ARBITRAGE Correlation is a statistical term that comes from linear regression analysis. This term defines the strength of a relationship between two variables. The main idea of statistical arbitrage or pairs trading is to find the pair of financial instruments that are highly correlated. When a pair is found, a trader must look for the changes in correlation followed by mean reversion to the trend of financial instruments pair, thereby, creating a profit opportunity. This type of trading needs to identify a relationship between two financial instruments, figure out the direction of their relationship, and execute long and short positions, based on the statistical data presented. Selecting a good pair for trading becomes the most important stage of meanreversion of the market-neutral statistical arbitrage strategy. <ref type="bibr" target="#b25">[26]</ref>[34]</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A. Pairs Trading Using Cointegration</head><p>The cointegration method uses mathematical model, developed by Engle and Granger <ref type="bibr" target="#b16">[17]</ref>, which have attracted a considerable interest of the economists over the last two decades. Cointegration states that, in some instances, despite two given non-stationary time series, a specific linear combination of the two time series is actually stationary. The two time series move together in a lockstep fashion. The cointegration can be described like this: x t and y t are two time series that were non-stationary. If there was parameter and the following equation:</p><formula xml:id="formula_0">z t =y t -x t (1)</formula><p>was a stationary process, then x t and y t would be cointegrated. This path-breaking process emerged as a powerful tool for investigating common asset trends in multivariate time series. <ref type="bibr" target="#b24">[25]</ref> </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>B. Data</head><p>The microsecond data for this research was provided by Nanotick company. Futures contract data is from ME group which consists of NYMEX, COMEX and CBOT. Nanotick provided five different futures commodity contracts: NG (natural gas), BZ (Brent crude oil), CL (crude oil), HO (NY Harbor ULSD) , RB (RBOB Gasoline). Time period of commodity futures contracts was from 01-08-2015 to 31-08-2015.</p><p>After normalization, microsecond futures commodity contracts data consisted of 24957994 records. Upon preparation, the data had to be applied to statistical arbitrage trading strategy. The cointegration method uses mathematical model, developed</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>IV. 3. METHODOLOGY</head><p>The main purpose of pairs trading is to find two financial instruments that move together. Once the pair of these instruments is found, strategy has to decide when to take long and short positions based on the trading rules. Following the research, six main steps of pairs trading strategy were identified: Before selecting trading and data normalization window, strategy has to be trained. Thus, before starting to trade, some data must be used for training. This data may be called out of sample data. All data of microsecond futures commodity contracts had to be divided into training and testing datasets. The method of dividing data into training and testing periods was referred to as the holdout method in statistical classification. <ref type="bibr" target="#b25">[26]</ref> When selecting training or out of sample period, it is important to select the right size of this window: if too big window is chosen, strategy may overtrain and it cannot be too small as the strategy will not be able to notice the abnormal behaviour. <ref type="bibr" target="#b29">[30]</ref> Finally, the testing period follows immediately after the training period.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A. Data Normalization</head><p>Upon receiving the microsecond data for commodity futures contracts, next step was to normalize these data to be able to implement them in our test environment. First task was to bring time stamp data together. For example, if we have a time stamp of 17:00:00.869053009 in one contract and the time stamp of 17:00:00.825207610 in other futures contract, these two time stamps have to appear in both contracts. In our case, all different time stamps had to appear in all five different futures contacts.</p><p>If the contract is filled with a new time stamp, the price for that futures contract is set the same as the last time stamp. It is assumed that the price did not change for that time. In this way, all time stamps of futures contracts are normalized for nanosecond and microsecond data. <ref type="bibr" target="#b23">[24]</ref> <ref type="bibr" target="#b31">[32]</ref> As all time stamps for all the futures contracts were obtained, it was time to define data out of sample, normalization and trading periods. During this procedure, all parameter were kept the same: out of sample period was 5 minutes, normalization and trading period was kept the same, i.e., 20 seconds for each trading window. One more period was selected, which is for closing the positions, which was 20 seconds as well.</p><p>Upon setting and defining the above parameters on the trading strategy, price normalization follows. When normalizing for each price of futures commodity contract P(i,t), we calculate empirical mean µ(i,t) and standard deviation σ(i,t) for the selected normalization period, and then apply the following equation <ref type="bibr" target="#b29">[30]</ref>:</p><formula xml:id="formula_1">𝑝(𝑖, 𝑡) = 𝑃(𝑖,𝑡)−𝜇(𝑖,𝑡) 𝜎(𝑖,𝑡)<label>(2)</label></formula><p>Value p(i,t) is the normalized price of futures commodity contract i at time t. <ref type="bibr" target="#b29">[30]</ref> </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>B. Pair Selection</head><p>One of two main parts of this trading methodology is the pairs selection algorithm which is essentially based on cointegration testing. Cointegration method involves the following steps:</p><p>1. Identify futures contract pairs that could potentially be cointegrated;</p><p>2. Once the potential pairs are identified, we need to verify the proposed hypothesis that the futures contract pairs are indeed cointegrated based on the information from historical data; 3. Examine the cointegrated pairs to determine whether they can be trade on. <ref type="bibr" target="#b32">[33]</ref> The objective of this phase is to identify the pairs with linear combination exhibiting a significant predictable component that is uncorrelated with underlying movements in the market as a whole. With this aim, we first measure the spread of pair prices for stationarity. In this research, it is done by checking whether the data series are integrated in the same order by using Augmented Dickey Fuller Test (ADF), which is the extended version Dickey Fuller. <ref type="bibr" target="#b11">[12]</ref> Having passed the ADF test, cointegration tests are performed on all possible combinations of pairs. To test for cointegration we adopted Engle and Granger 2-step approach and Johansen test. This methodology is based on Caldeira and Moura. <ref type="bibr" target="#b11">[12]</ref> Johansen test determines the number of cointegrating relations and also implements a multivariate extension of the 2step Engle and Granger procedure. <ref type="bibr" target="#b11">[12]</ref> All of the procedures are implemented on MATLAB. The second part of the algorithm creates trading signals for the detected cointegrating relations based on the predefined investment decision rules.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>V. EXPERIMENTAL SETUP</head><p>The two main criteria for algorithmic trading are speedthat is the speed with which the same set of computations can be performed on multiple sets of dataand programmability. For this principle, general-purpose hardwaresuch as Intel Central Processing Unit (CPU)is not suitable. The CPU is designed to execute commands in a linear fashion, however, the task at hand will benefit most from parallelization as the same calculations are required to be performed on multiple data; this is where parallelization and hardware acceleration come into play.</p><p>During our research CPU used was Intel i5 -3230M 2,6 GHz with two cores (2 MATLAB worker) and GPU GeForce 710M with 96 CUDA cores. Firstly we did apply the pair trading strategy only two CPU. Using "parfor" function of MATLAB which allows hundreds of operations to be performed in parallel with CPU we did detect calculations that were possible to parallelize. During this stage we did speed up the strategy to maximize its performance by using only CPU.</p><p>When it came to GPU we did use gpuArray and arrayfun GPU functions together with parfor, which works on CPU. GpuArray creates array on GPU and arrayfun applys function to each element of array. This method of using gpuArray with arrayfun makes actual evaluation of the function happens on the GPU, not on the CPU. Thus, any required data not already on the GPU is moved to GPU memory, the MATLAB function passed in for evaluation is compiled for the GPU, and then executed on the GPU. All the output arguments return as gpuArray objects. <ref type="bibr" target="#b9">[10]</ref> <ref type="bibr" target="#b10">[11]</ref> In our experiment we did parallelize pair detection, detecting buy/sell signals, the trading and profit calculation. It was possible to parallelize these functions because every iteration the strategy has it must perform same calculations. In order not to wait for one function to stop we can perform multiple calculations with multiple functions.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>VI. EXPERIMENTAL RESULTS</head><p>The overall pair trading strategy performance was measured in the profit it did generate. During the experiment we did not use transactions cost, which was kept zero, and the amount invested in each trade was kept the same, which was 10. The profit/loss was measured in percentage in change of overall difference at the end of each trading day. A more detailed information is presented in figure below.  <ref type="bibr" target="#b13">[14]</ref>. The chart in Figure <ref type="figure">1</ref> illustrates daily results of an algorithm-based on a statistical arbitrage HFT system. The less profitable days occur because of fewer trades, due to less trade signals, rather than fluctuations or a series of unproductive trades. However, our research aim was not to measure the profit of the strategy but to improve the speed of algorithm by using GPU. The same pair trading strategy was applied to CPU and later to CPU working together with GPU. In the table below we can see the amount of records pairs trading algorithm had to process and how much time did it take using CPU and GPU. </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Number of records processed</head><p>From table 2 it is shown how much time in seconds did algorithm spend on each day trading simulation using different hardware CPU (Intel i5 -3230M 2,6 GHz,2 cores) and GPU (GeForce 710m, 96 CUDA Cores) and how many records it had to process.</p><p>The more detailed information is presented in figure below where the speedup difference in percentage is shown. The more parameters are possible to make parallel and move to GPU, the bigger speedup is possible to achieve. It is shown that CPU, even with multi-threaded implementation, is not a feasible option for large dense matrices. For the GPU implementation, performance impact of the global memory access patterns on the GPU board and the memory coalescing are emphasized. In our case the bigger the matrix of trades and pairs the more measurable is the speed up by GPU. The results show the importance of technical advantages in HFT and how important is to improve the algorithm in order to use the most of the hardware it is presented to. In our research the possibility to improve the speed of daily trading with microseconds came, when algorithms calculations were parallelized and presented to GPU using gpuArrays and arrayfun in MATLAB, that allows to exploit the GPU at hand.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>VII. CONCLUSIONS</head><p>Recent technological advances have made trading in the markets fast and mostly done by computers and algorithms. Instead of humans, computers replicate the role of market makers, specialists or liquidity providers but at a much higher rate of speed. The number of derived financial instruments has caused increased opportunities for profits arising from pricing inefficiencies or price move delays between securities. Trading algorithms now work not only with CPU, but with GPU. These factors have been driving forces to test the system based on pair trading in HFT and see how the effectiveness differ when using different hardware. In this paper, high frequency algorithmic pairs trading was developed on the market -neutral statistical arbitrage strategy presented by D. Herlemont. Importantly, all five futures commodity contracts, used for the proposed pairs trading strategy, belong to same CME group, which is the world's largest options and futures exchange platform. proposed trading strategy used the pairs selection algorithm which consisted of the Augmented Dickey Fuller test. If futures commodity contracts prices pass the Augmented Dickey Fuller test, cointegration tests are performed on all possible combination of pairs. To test for cointegration Engle and Grangers 2-step approach and Johansen test was adopted. Trading strategy was firstly presented to CPU (Intel i5 -3230M 2,6 GHz1 2 cores) and later to GPU (GeForce 710m, 96 CUDS cores). All trading parameters were kept the same during research. The purpose of this was to measure the effectiveness of hardware and to check how much higher frequency trading evolution and performance improves when it is presented to GPU rather than to only CPU. At the end of the research, when all datasets were implemented to the pairs selection algorithm working with CPU and GPU, the results were gathered. It should be no surprise that when algorithm was presented to GPU it did perform more effective. The speed up of daily improvement of speed did vary from 12% to 36%. The difference of speed for different days occurs due to different number of trades made and different number of trade signals. The more parameters are possible to make parallel and move to GPU, the bigger speedup is possible to achieve. The increase could be even more dramatic if algorithm would be presented to even more financial instruments and more trading signals would be created.</p></div><figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_0"><head>[ 6 ]Fig. 1 .</head><label>61</label><figDesc>Fig. 1. Visualization of a GPU multiprocessor with on-chip shared memory.Example of a figure caption. (figure caption)</figDesc><graphic coords="2,321.12,338.40,240.48,179.82" type="bitmap" /></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_1"><head>1 . 2 . 6 .</head><label>126</label><figDesc>Selection of the size of the window trading and data normalization; Data normalization; 3. Selection of the correlated pair; 4. Definition of the trading rules; 5. Trading; Assessment of the pairs trading strategy.[16][24][32]</figDesc></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_2"><head>Fig. 2 .</head><label>2</label><figDesc>Fig. 2. Strategy performance for each day by the profit it did generate Figure 2 above shows the daily profits from HFT trading algorithm and confirms the results revealed by High FrequencyTrading market leader Virtu Financial, Inc, where only one losing trading day out of 1237 days was generated<ref type="bibr" target="#b13">[14]</ref>. The chart in Figure1illustrates daily results of an algorithm-based on a statistical arbitrage HFT system. The less profitable days occur because of fewer trades, due to less trade signals, rather than fluctuations or a series of unproductive trades. However, our research aim was not to measure the profit of the strategy but to improve the speed of algorithm by using GPU. The same pair trading strategy was applied to CPU and later to CPU working together with GPU. In the table below we can see the amount of records pairs trading algorithm had to process and how much time did it take using CPU and GPU.</figDesc><graphic coords="5,51.12,53.40,227.94,153.12" type="bitmap" /></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_3"><head>Fig. 3 .</head><label>3</label><figDesc>Fig.3. The improvement of the algorithm when using GPU As shown in figure above when pair trading algorithm was presented to GPU, the speed of simulation did improve dramatically varying from 12% to 36% improve in overall speed. The difference of speed for different days occurs due to different number of trades made and different number of trade signals. The more parameters are possible to make parallel and move to GPU, the bigger speedup is possible to achieve. It is shown that CPU, even with multi-threaded implementation, is not a feasible option for large dense matrices. For the GPU implementation, performance impact of the global memory access patterns on the GPU board and the memory coalescing are emphasized. In our case the bigger the matrix of trades and pairs the more measurable is the speed up by GPU. The results show the importance of technical advantages in HFT and how important is to improve the algorithm in order to use the most of the hardware it is presented to. In our research the possibility to improve the speed of daily trading with microseconds came, when algorithms calculations were parallelized and presented to GPU using gpuArrays and arrayfun in MATLAB, that allows to exploit the GPU at hand.</figDesc><graphic coords="5,321.12,204.42,227.82,98.10" type="bitmap" /></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" type="table" xml:id="tab_0"><head>TABLE I .</head><label>I</label><figDesc>MICROSECOND DATA EXAMPLE FOR NGF6 CONTRACT</figDesc><table><row><cell></cell><cell></cell><cell></cell><cell></cell><cell></cell><cell>20150809</cell><cell>17:00:00.930168164</cell><cell>NGF6</cell><cell>NG</cell><cell>B</cell><cell>3221</cell></row><row><cell></cell><cell></cell><cell></cell><cell></cell><cell></cell><cell>20150809</cell><cell>17:00:01.017456320</cell><cell>NGF6</cell><cell>NG</cell><cell>A</cell><cell>3226</cell></row><row><cell></cell><cell></cell><cell></cell><cell></cell><cell></cell><cell>20150809</cell><cell>17:00:01.017456320</cell><cell>NGF6</cell><cell>NG</cell><cell>B</cell><cell>3219</cell></row><row><cell></cell><cell></cell><cell></cell><cell></cell><cell></cell><cell>20150809</cell><cell>17:00:01.059840559</cell><cell>NGF6</cell><cell>NG</cell><cell>A</cell><cell>3227</cell></row><row><cell></cell><cell></cell><cell></cell><cell></cell><cell></cell><cell>20150809</cell><cell>17:00:01.059840559</cell><cell>NGF6</cell><cell>NG</cell><cell>B</cell><cell>3219</cell></row><row><cell></cell><cell></cell><cell></cell><cell></cell><cell></cell><cell>20150809</cell><cell>17:00:01.156791713</cell><cell>NGF6</cell><cell>NG</cell><cell>A</cell><cell>3238</cell></row><row><cell></cell><cell></cell><cell></cell><cell></cell><cell></cell><cell>20150809</cell><cell>17:00:01.156791713</cell><cell>NGF6</cell><cell>NG</cell><cell>B</cell><cell>3216</cell></row><row><cell></cell><cell></cell><cell></cell><cell></cell><cell></cell><cell>20150809</cell><cell>17:00:01.204683812</cell><cell>NGF6</cell><cell>NG</cell><cell>A</cell><cell>3238</cell></row><row><cell></cell><cell></cell><cell></cell><cell></cell><cell></cell><cell>20150809</cell><cell>17:00:01.204683812</cell><cell>NGF6</cell><cell>NG</cell><cell>B</cell><cell>3216</cell></row><row><cell></cell><cell></cell><cell></cell><cell></cell><cell></cell><cell>20150809</cell><cell>17:00:01.205605232</cell><cell>NGF6</cell><cell>NG</cell><cell>A</cell><cell>3238</cell></row><row><cell></cell><cell></cell><cell></cell><cell></cell><cell></cell><cell>20150809</cell><cell>17:00:01.205605232</cell><cell>NGF6</cell><cell>NG</cell><cell>B</cell><cell>3215</cell></row><row><cell></cell><cell></cell><cell></cell><cell></cell><cell></cell><cell>20150809</cell><cell>17:00:01.206755867</cell><cell>NGF6</cell><cell>NG</cell><cell>A</cell><cell>3238</cell></row><row><cell></cell><cell></cell><cell></cell><cell></cell><cell></cell><cell>20150809</cell><cell>17:00:01.206755867</cell><cell>NGF6</cell><cell>NG</cell><cell>B</cell><cell>3215</cell></row><row><cell></cell><cell></cell><cell></cell><cell></cell><cell></cell><cell>20150809</cell><cell>17:00:01.207350519</cell><cell>NGF6</cell><cell>NG</cell><cell>A</cell><cell>3231</cell></row><row><cell></cell><cell></cell><cell></cell><cell></cell><cell></cell><cell>20150809</cell><cell>17:00:01.207350519</cell><cell>NGF6</cell><cell>NG</cell><cell>B</cell><cell>3215</cell></row><row><cell></cell><cell></cell><cell></cell><cell></cell><cell></cell><cell>20150809</cell><cell>17:00:01.208805474</cell><cell>NGF6</cell><cell>NG</cell><cell>A</cell><cell>3231</cell></row><row><cell></cell><cell></cell><cell></cell><cell></cell><cell></cell><cell>20150809</cell><cell>17:00:01.208805474</cell><cell>NGF6</cell><cell>NG</cell><cell>B</cell><cell>3217</cell></row><row><cell></cell><cell></cell><cell></cell><cell></cell><cell></cell><cell>20150809</cell><cell>17:00:01.224604710</cell><cell>NGF6</cell><cell>NG</cell><cell>A</cell><cell>3233</cell></row><row><cell></cell><cell></cell><cell></cell><cell></cell><cell></cell><cell>20150809</cell><cell>17:00:01.224604710</cell><cell>NGF6</cell><cell>NG</cell><cell>B</cell><cell>3217</cell></row><row><cell>Receiving</cell><cell>Receiving Time</cell><cell>Symbo</cell><cell>Asse</cell><cell>Entr</cell><cell>Entr</cell></row><row><cell>Date</cell><cell></cell><cell>l</cell><cell>t</cell><cell>y</cell><cell>y</cell></row><row><cell></cell><cell></cell><cell></cell><cell></cell><cell>Type</cell><cell>Price</cell></row><row><cell>20150809</cell><cell>17:00:00.869053009</cell><cell>NGF6</cell><cell>NG</cell><cell>A</cell><cell>3227</cell></row><row><cell>20150809</cell><cell>17:00:00.869053009</cell><cell>NGF6</cell><cell>NG</cell><cell>B</cell><cell>3221</cell></row><row><cell>20150809</cell><cell>17:00:00.930168164</cell><cell>NGF6</cell><cell>NG</cell><cell>A</cell><cell>3226</cell></row></table></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" type="table" xml:id="tab_1"><head>TABLE II .</head><label>II</label><figDesc>CPU AND GPU COMPARISON</figDesc><table><row><cell>Date</cell><cell>Intel i5 -3230M</cell><cell>GeForce 710m, 96</cell></row><row><cell></cell><cell>2,6 GHz,2 cores</cell><cell>CUDA Cores (in</cell></row><row><cell></cell><cell>(in seconds)</cell><cell>seconds)</cell></row></table></figure>
		</body>
		<back>

			<div type="acknowledgement">
<div xmlns="http://www.tei-c.org/ns/1.0"><head>ACKNOWLEDGMENT</head><p>We would also like to show our gratitude to the NANOTICK for providing high frequency data in microseconds of 5 commodity futures contracts.</p></div>
			</div>

			<div type="references">

				<listBibl>

<biblStruct xml:id="b0">
	<monogr>
		<title level="m" type="main">Statistical Arbitrage in High Frequency Trading Based on Limit Order Book Dynamics</title>
		<author>
			<persName><forename type="first">M</forename><surname>Ahmed</surname></persName>
		</author>
		<author>
			<persName><forename type="first">A</forename><surname>Chai</surname></persName>
		</author>
		<author>
			<persName><forename type="first">X</forename><surname>Ding</surname></persName>
		</author>
		<author>
			<persName><forename type="first">Y</forename><surname>Jiang</surname></persName>
		</author>
		<author>
			<persName><forename type="first">Y</forename><surname>Sun</surname></persName>
		</author>
		<imprint>
			<date type="published" when="2009">2009</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b1">
	<monogr>
		<title level="m" type="main">Parallelizing High-Frequency Trading Applications by Using C++11 Attributes</title>
		<author>
			<persName><forename type="first">M</forename><surname>Danelutto</surname></persName>
		</author>
		<author>
			<persName><forename type="first">T</forename><surname>De Matteis</surname></persName>
		</author>
		<author>
			<persName><forename type="first">G</forename><surname>Mencagli</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><surname>Torquati</surname></persName>
		</author>
		<imprint>
			<date type="published" when="2015-08">2015. August 2015</date>
			<publisher>IEEE</publisher>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b2">
	<analytic>
		<title level="a" type="main">FPGA, GPU, and CPU implementations of Jacobi algorithm for eigenanalysis</title>
		<author>
			<persName><forename type="first">Mustafa</forename><forename type="middle">U</forename><surname>Torun</surname></persName>
		</author>
		<author>
			<persName><forename type="first">Onur</forename><surname>Yılmaz</surname></persName>
		</author>
		<author>
			<persName><forename type="first">N</forename><surname>Ali</surname></persName>
		</author>
		<author>
			<persName><surname>Akansu</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Journal of Parallel and Distributed Computing</title>
		<imprint>
			<biblScope unit="volume">96</biblScope>
			<biblScope unit="page" from="172" to="180" />
			<date type="published" when="2016">2016</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b3">
	<analytic>
		<title level="a" type="main">Potential future exposure, modelling and accelerating on GPU and FPGA</title>
		<author>
			<persName><forename type="first">G</forename><surname>Kozikowski</surname></persName>
		</author>
		<author>
			<persName><forename type="first">G</forename><surname>Papamanousakis</surname></persName>
		</author>
		<author>
			<persName><forename type="first">J</forename><surname>Yang</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Proceedings of the 8th Workshop on High Performance Computational Finance</title>
				<meeting>the 8th Workshop on High Performance Computational Finance</meeting>
		<imprint>
			<date type="published" when="2015">2015. 2015</date>
		</imprint>
	</monogr>
	<note>Article No. 4</note>
</biblStruct>

<biblStruct xml:id="b4">
	<analytic>
		<title level="a" type="main">A GPU-based large-scale Monte Carlo simulation method for systems with long-range interactions</title>
		<author>
			<persName><forename type="first">Y</forename><surname>Liang</surname></persName>
		</author>
		<author>
			<persName><forename type="first">X</forename><surname>Xing</surname></persName>
		</author>
		<author>
			<persName><forename type="first">Y</forename><surname>Li</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Journal of Computational Physics</title>
		<imprint>
			<biblScope unit="volume">338</biblScope>
			<biblScope unit="page" from="252" to="268" />
			<date type="published" when="2017">2017</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b5">
	<analytic>
		<title level="a" type="main">GPU -computing in econophysics and statistical physics</title>
		<author>
			<persName><forename type="first">T</forename><surname>Preis</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">The European Physical Journal Special Topics</title>
		<imprint>
			<biblScope unit="volume">194</biblScope>
			<biblScope unit="page" from="87" to="119" />
			<date type="published" when="2011">2011</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b6">
	<analytic>
		<title level="a" type="main">High performance content-based matching using GPUs</title>
		<author>
			<persName><forename type="first">A</forename><surname>Margara</surname></persName>
		</author>
		<author>
			<persName><forename type="first">G</forename><surname>Cugola</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Proceedings of the 5th ACM international conference on Distributed event-based system</title>
				<meeting>the 5th ACM international conference on Distributed event-based system<address><addrLine>New York, USA</addrLine></address></meeting>
		<imprint>
			<date type="published" when="2011">2011</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b7">
	<monogr>
		<title level="m" type="main">NVIDIA CUDA Compute Unified Device Architecture</title>
		<imprint>
			<date type="published" when="2008">2008</date>
		</imprint>
		<respStmt>
			<orgName>NVIDIA Corporation</orgName>
		</respStmt>
	</monogr>
</biblStruct>

<biblStruct xml:id="b8">
	<analytic>
		<title level="a" type="main">A cloud-distributed GPU architecture for pattern identification in segmented detectors big-data surveys</title>
		<author>
			<persName><forename type="first">C</forename><surname>Napoli</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">The Computer Journal</title>
		<imprint>
			<biblScope unit="volume">59</biblScope>
			<biblScope unit="issue">3</biblScope>
			<biblScope unit="page" from="338" to="352" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b9">
	<analytic>
		<title/>
		<ptr target="https://se.mathworks.com/help/distcomp/gpu-computing.html" />
	</analytic>
	<monogr>
		<title level="j">Matlab</title>
		<imprint>
			<date type="published" when="2016">2016</date>
		</imprint>
	</monogr>
	<note>mathworks</note>
</biblStruct>

<biblStruct xml:id="b10">
	<analytic>
		<title/>
		<ptr target="https://se.mathworks.com/discovery/matlab-gpu.html" />
	</analytic>
	<monogr>
		<title level="j">Matlab</title>
		<imprint>
			<date type="published" when="2015">2015</date>
		</imprint>
	</monogr>
	<note>mathworks</note>
</biblStruct>

<biblStruct xml:id="b11">
	<analytic>
		<title level="a" type="main">Selection of a portfolio of pairs based on cointegration: A statistical arbitrage strategy</title>
		<author>
			<persName><forename type="first">J</forename><forename type="middle">F</forename><surname>Caldeira</surname></persName>
		</author>
		<author>
			<persName><forename type="first">G</forename><forename type="middle">V</forename><surname>Moura</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Revista Brasileira de Financas</title>
		<imprint>
			<biblScope unit="volume">11</biblScope>
			<biblScope unit="issue">1</biblScope>
			<biblScope unit="page" from="49" to="80" />
			<date type="published" when="2013">2013</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b12">
	<analytic>
		<title level="a" type="main">An Empirical detection of High Frequency Trading Strategies</title>
		<author>
			<persName><forename type="first">D</forename><surname>Bogoev</surname></persName>
		</author>
		<author>
			<persName><forename type="first">A</forename><surname>Karam</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">6th International Conference of the Financial Engineering and Banking Society</title>
				<imprint>
			<date type="published" when="2016-06-10">2016. June 10-12, 2016 Melaga</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b13">
	<monogr>
		<author>
			<persName><forename type="first">D</forename><forename type="middle">A</forename><surname>Cifu</surname></persName>
		</author>
		<title level="m">FORM S-1, Registration Statement Under The Securities Act Of 1933</title>
				<imprint>
			<publisher>Virtu Financial, Inc</publisher>
			<date type="published" when="2014">2014</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b14">
	<analytic>
		<title level="a" type="main">Distribution of the Estimator for Autoregressive Time series with a Unit Root</title>
		<author>
			<persName><forename type="first">D</forename><surname>Dickey</surname></persName>
		</author>
		<author>
			<persName><forename type="first">W</forename><surname>Fuller</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Journal of the American Statistical Association</title>
		<imprint>
			<biblScope unit="volume">74</biblScope>
			<biblScope unit="page" from="427" to="431" />
			<date type="published" when="1979">1979</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b15">
	<analytic>
		<title level="a" type="main">An algorithm-based statistical arbitrage high frequency trading system to forecast prices of natural gas futures</title>
		<author>
			<persName><forename type="first">K</forename><surname>Driaunys</surname></persName>
		</author>
		<author>
			<persName><forename type="first">S</forename><surname>Masteika</surname></persName>
		</author>
		<author>
			<persName><forename type="first">V</forename><surname>Sakalauksas</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><surname>Vaitonis</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Transformations in business and economics</title>
		<imprint>
			<biblScope unit="volume">13</biblScope>
			<biblScope unit="issue">3</biblScope>
			<biblScope unit="page" from="96" to="109" />
			<date type="published" when="2014">2014</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b16">
	<analytic>
		<title level="a" type="main">Co-integration and error correction: Representation, estimation, and testing</title>
		<author>
			<persName><forename type="first">R</forename><forename type="middle">F</forename><surname>Engle</surname></persName>
		</author>
		<author>
			<persName><forename type="first">C</forename><forename type="middle">W J</forename><surname>Granger</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Econometrica</title>
		<imprint>
			<biblScope unit="volume">55</biblScope>
			<biblScope unit="issue">2</biblScope>
			<biblScope unit="page" from="251" to="276" />
			<date type="published" when="1987">1987</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b17">
	<analytic>
		<title level="a" type="main">The New Stock Market: Sense and Nonsense</title>
		<author>
			<persName><forename type="first">M</forename><forename type="middle">B</forename><surname>Fox</surname></persName>
		</author>
		<author>
			<persName><forename type="first">L</forename><forename type="middle">R</forename><surname>Glosten</surname></persName>
		</author>
		<author>
			<persName><forename type="first">G</forename><forename type="middle">V</forename><surname>Rauterberg</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Duke L.J</title>
		<imprint>
			<biblScope unit="page">191</biblScope>
			<date type="published" when="2015">2015</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b18">
	<analytic>
		<title level="a" type="main">Pairs Trading, Convergence Trading, Cointegration</title>
		<author>
			<persName><forename type="first">D</forename><surname>Herlemont</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Quantitative Finance</title>
		<imprint>
			<biblScope unit="volume">12</biblScope>
			<biblScope unit="issue">9</biblScope>
			<date type="published" when="2013">2013</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b19">
	<analytic>
		<title level="a" type="main">High -frequency trading. Reaching the limits</title>
		<author>
			<persName><forename type="first">O</forename><surname>Kaya</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Automated trader magazine</title>
		<imprint>
			<biblScope unit="volume">41</biblScope>
			<biblScope unit="page" from="23" to="27" />
			<date type="published" when="2016">2016</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b20">
	<analytic>
		<title level="a" type="main">High frequency trading: Fact and fiction</title>
		<author>
			<persName><forename type="first">S</forename><surname>Kirchner</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Policy: A Journal of Public Policy and Ideas</title>
		<imprint>
			<biblScope unit="volume">31</biblScope>
			<biblScope unit="issue">4</biblScope>
			<biblScope unit="page" from="8" to="20" />
			<date type="published" when="2015">2015</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b21">
	<analytic>
		<title level="a" type="main">Multi -Dimensional Pairs Trading Using Copulas</title>
		<author>
			<persName><forename type="first">C</forename><forename type="middle">A</forename><surname>Lau</surname></persName>
		</author>
		<author>
			<persName><forename type="first">W</forename><surname>Xie</surname></persName>
		</author>
		<author>
			<persName><forename type="first">Y</forename><surname>Wu</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">European Financial Management Association 2016 Annual Meetings</title>
				<meeting><address><addrLine>Basel, Switzerland</addrLine></address></meeting>
		<imprint>
			<date type="published" when="2016-06-29">2016. June 29-July 2, 2016</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b22">
	<monogr>
		<title level="m" type="main">Statistical Arbitrage Using Pairs Trading With Support Vector Machine Learning</title>
		<author>
			<persName><forename type="first">G</forename><forename type="middle">R</forename><surname>Madhavaram</surname></persName>
		</author>
		<imprint>
			<date type="published" when="2013">2013</date>
		</imprint>
		<respStmt>
			<orgName>Saint Mary&apos;s University</orgName>
		</respStmt>
	</monogr>
</biblStruct>

<biblStruct xml:id="b23">
	<analytic>
		<title level="a" type="main">Quantitative Research in High Frequency Trading for Natural Gas Futures Market</title>
		<author>
			<persName><forename type="first">S</forename><surname>Masteika</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><surname>Vaitonis</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Business Information Systems Workshops</title>
		<imprint>
			<biblScope unit="volume">228</biblScope>
			<biblScope unit="page" from="29" to="35" />
			<date type="published" when="2015">2015</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b24">
	<analytic>
		<title level="a" type="main">High Frequency and Dynamic Pairs Trading Based on Statistical Arbitrage Using a Two-Stage Correlation and Cointegration Approach</title>
		<author>
			<persName><forename type="first">G</forename><forename type="middle">J</forename><surname>Miao</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">International Journal of Economics and Finance</title>
		<imprint>
			<biblScope unit="volume">6</biblScope>
			<biblScope unit="issue">3</biblScope>
			<biblScope unit="page" from="96" to="110" />
			<date type="published" when="2014">2014</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b25">
	<monogr>
		<title level="m" type="main">Digital Signal Processing and Statistical Classification</title>
		<author>
			<persName><forename type="first">G</forename><forename type="middle">J</forename><surname>Miao</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><forename type="middle">A</forename><surname>Clements</surname></persName>
		</author>
		<imprint>
			<date type="published" when="2002">2002</date>
			<publisher>Artech House</publisher>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b26">
	<analytic>
		<author>
			<persName><forename type="first">R</forename><forename type="middle">S</forename><surname>Miller</surname></persName>
		</author>
		<author>
			<persName><forename type="first">G</forename><surname>Shorter</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">High Frequency Trading: Overview of Recent Developments</title>
				<meeting><address><addrLine>Washington D.C</addrLine></address></meeting>
		<imprint>
			<date type="published" when="2016-04-04">2016. April 4, 2016</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b27">
	<monogr>
		<title level="m" type="main">Augmented Dickey Fuller Test</title>
		<author>
			<persName><forename type="first">R</forename><surname>Mushtaq</surname></persName>
		</author>
		<ptr target="https://ssrn.com/abstract=1911068" />
		<imprint>
			<date type="published" when="2011">2011</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b28">
	<analytic>
		<title level="a" type="main">High frequency market microstructure</title>
		<author>
			<persName><forename type="first">M</forename><surname>Ohara</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Journal of Financial Economics</title>
		<imprint>
			<biblScope unit="volume">116</biblScope>
			<biblScope unit="issue">2</biblScope>
			<biblScope unit="page" from="257" to="270" />
			<date type="published" when="2015">2015</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b29">
	<analytic>
		<title level="a" type="main">Evaluation of Pairs-trading strategy at the Brazilian financial market</title>
		<author>
			<persName><forename type="first">M</forename><forename type="middle">S</forename><surname>Perlin</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Journal of Derivatives &amp; Hedge Funds</title>
		<imprint>
			<biblScope unit="volume">15</biblScope>
			<biblScope unit="issue">2</biblScope>
			<biblScope unit="page" from="122" to="136" />
			<date type="published" when="2009">2009</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b30">
	<analytic>
		<title level="a" type="main">Pairs Trading Using HFT in OMX Baltic Market</title>
		<author>
			<persName><forename type="first">M</forename><surname>Vaitonis</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Baltic J. Modern Computing</title>
		<imprint>
			<biblScope unit="volume">5</biblScope>
			<biblScope unit="issue">1</biblScope>
			<biblScope unit="page" from="37" to="49" />
			<date type="published" when="2017">2017</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b31">
	<analytic>
		<title level="a" type="main">Research in High Frequency Trading and Pairs Selection Algorithm with Baltic Region Stocks</title>
		<author>
			<persName><forename type="first">M</forename><surname>Vaitonis</surname></persName>
		</author>
		<author>
			<persName><forename type="first">S</forename><surname>Masteika</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Information and Software Technologies. ICIST</title>
		<title level="s">Communications in Computer and Information Science</title>
		<editor>
			<persName><forename type="first">G</forename><surname>Dregvaite</surname></persName>
		</editor>
		<editor>
			<persName><forename type="first">R</forename><surname>Damasevicius</surname></persName>
		</editor>
		<imprint>
			<publisher>Springer</publisher>
			<date type="published" when="2016">2016. 2016</date>
			<biblScope unit="volume">639</biblScope>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b32">
	<monogr>
		<title level="m" type="main">Pairs Trading -Quantitative Methods and Analysis</title>
		<author>
			<persName><forename type="first">G</forename><surname>Vidyamurthy</surname></persName>
		</author>
		<imprint>
			<date type="published" when="2004">2004</date>
			<publisher>John Wiley &amp; Sons, Inc</publisher>
			<biblScope unit="page">210</biblScope>
			<pubPlace>New Jersey</pubPlace>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b33">
	<monogr>
		<title level="m" type="main">The High frequency game changer: how automated trading strategies have revolutionized the markets</title>
		<author>
			<persName><forename type="first">P</forename><surname>Zubulake</surname></persName>
		</author>
		<author>
			<persName><forename type="first">S</forename><surname>Lee</surname></persName>
		</author>
		<imprint>
			<date type="published" when="2011">2011</date>
			<publisher>Wiley trading</publisher>
		</imprint>
	</monogr>
</biblStruct>

				</listBibl>
			</div>
		</back>
	</text>
</TEI>
