Next Article in Journal
Fourier-Spectral Method for the Phase-Field Equations
Next Article in Special Issue
On a Free Boundary Problem for American Options Under the Generalized Black–Scholes Model
Previous Article in Journal
Predicting Fire Brigades Operational Breakdowns: A Real Case Study
Previous Article in Special Issue
A Nonlinear Technical Indicator Selection Approach for Stock Markets. Application to the Chinese Stock Market
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Optimization Parameters of Trading System with Constant Modulus of Unit Return

by
Krzysztof Piasecki
1,* and
Michał Dominik Stasiak
2
1
Institute of Economy and Finance, WSB University in Poznań, ul. Powstańców Wielkopolskich 5, 61-895 Poznań, Poland
2
Department of Investment and Real Estate, Poznan University of Economics and Business, al. Niepodleglosci 10, 61-875 Poznań, Poland
*
Author to whom correspondence should be addressed.
Submission received: 29 June 2020 / Revised: 24 July 2020 / Accepted: 5 August 2020 / Published: 18 August 2020
(This article belongs to the Special Issue Advanced Methods in Mathematical Finance)

Abstract

:
The unit return is determined as the return in the quotation currency (QCR) per the unit of base exchange medium (BEM). The main purpose is to examine the applicability of a trading system with a constant modulus of unit return (CMUR). The CMUR system supports speculative operations related to the exchange rate, given as the BEM quotation per the QCR. Premises for investment decisions are based on knowledge about the quotation dynamics described by its binary representation. This knowledge is described by a prediction table containing the conditional probability distributions of exchange rate increments. Any prediction table depends on observation range. Financial effectiveness of any CMUR system is assessed in the usual way by interest rate and risk index based on Shannon entropy. The main aim of our paper is to present algorithms which may be used for selecting effective CMUR systems. Required unit return modulus and observation range are control parameters applied for management of CMUR systems. Optimal values of these parameters are obtained by implementation of the proposed algorithm. All formal considerations are illustrated by an extensive case study linked to gold trading.

1. Introduction

Each financial instrument is determined as a given asset in short position or in long position. The speculator’s earning does not result from the underlying asset attributes, such as long-term technical analysis or fundamental ratios. In general, speculation is the acquisition of a financial instrument with the expectation that it will be sold as more expensive in the near future [1]. Therefore, speculation is acquisition of an asset in anticipation of its price increase, and also the disposal of an asset in anticipation of its price fall. For these reasons, speculation transaction is such financial transactions where the speculator’s earnings result from short-term fluctuations in the quoted price of a traded asset. For these reasons, speculation transactions can only be implemented on financial markets characterized by frequent price changes. Moreover, the duration of a single speculative transaction is generally short. This is why speculation transactions require the use of High-Frequency Trading (HFT) systems. HFT systems help traders hold positions for short periods of time and earn their profits by accumulating tiny gains on a large number of transactions [2].
The existing body of literature on HFT is extensive, and it covers many items devoted to different aspects of HFT [2,3]. IT techniques’ development implies an increase in HFT systems’ popularity.
The subject of speculation is trading in base exchange medium (BEM), given as any currency, any precious metal, or any standardized commodity. All speculative transactions are related to an exchange rate, given as the BEM quotation per the quotation currency (QCR). The trading in exchange rates is organized on the Foreign eXchange market (FX), characterized by very frequent price changes. Therefore, speculative transactions are implemented on FX. A price dynamic on FX may be characterized by unite return, defined as the return in QCR per unit of BEM [4].
Generally, financial speculators use well-known methods to manage speculative transactions. On the other hand, most speculators bear losses [5,6]. The above fact shows that this is not a good approach to profitable trading. Hence, there is demand for a new, fully justified method of financial market analyses supporting speculative transactions [7].
Among other things, heuristic trading systems are used on financial markets [8,9]. On the other hand, applied mathematics is the obvious research field for new HFT systems. For example, here, we use advanced mathematical statistics [10,11,12], genetic algorithms [13,14,15], artificial intelligence models [11], neural networks [16,17,18,19,20,21], multi agent theory [10,22,23], and mathematics for fuzzy systems [10]. Applying these theories requires acceptance of strong formal assumptions. Therefore, the mathematical apparatus used significantly limits the field of practical applications. This causes a demand for such HFT systems that their mathematical models are based on weak formal assumptions.
An HFT system may be determined with use of the criterion of Constant Modulus of Return Rate (CMUR) [4]. To the best of our knowledge, proposing CMUR systems in 2019 is completely original. For this reason, the CMUR systems’ bibliography contains only Reference [4] and a few pilot studies [24,25,26,27,28,29,30,31,32].
The correct application of the CMUR system requires only a few general assumptions. Moreover, the CMUR system is very basic. Therefore, applied mathematical apparatus does not significantly restrict the area of CMUR system use. In previous pilot studies [23,24,25,26,27,28,29,30,31,32], the necessary mathematical assumptions were always met, and this is a very important advantage of the CMUR system.
Aldridge [7] distinguish the following FX participants: high-frequency speculators, long-term investors, and corporations. The CMUR system can support speculators. Any HFT system can consist of three components: transaction management, risk reduction, and money management [33,34]. The CMUR system does not refer to money management, which is a disadvantage of the CMUR system.
Any HFT system is related to the method of financial prediction [2,10,35,36,37,38,39]. In the CMUR system, a sign of unitary return is forecasted with the use of a simple prediction table specified for required unitary return modulus on the space of all binary states of an assumed observation range. In this way, required unitary return modulus and assumed states observation range are the only control parameters of the CMUR system. It means that any CMUR system is uniquely determined by the fixed pair of control parameters.
The application of the CMUR system each time requires choice of the optimal variant of its control parameters. This selection is made by the speculator. The main goal of this paper is presentation of a method of optimization control parameters of the CMUR system. Any variant of control parameters will be evaluated by the ex-ante characteristic proposed in Reference [4]. Optimal variants of the control parameters system will be chosen as the Pareto set.
The article is organized in the following way. Section 2 describes the procedure of discretization Ask price trend. Here, we simplify the procedure description given in Reference [4]. We obtained this simplification in this way by omitting all the proofs and justifications required in Reference [4]. In an analogous way, we simplified the description of the CMUR model, as presented in Section 3. In Section 4, we present some tools for assessing financial effectiveness of CMUR systems. In Section 5, we propose original algorithms that select the optimal variants of the CMUR system. In Section 6, obtained theoretical results are illustrated by an extensive case study linked to gold trading. Section 7 justifies the ambiguity of the obtained results and points to the future research directions.

2. Discretization of Ask Price Trend

By basic exchange medium (BEM), we understand any base currency, any precious metal, or any standardized commodity. On the financial market of the exchange pair BEM/QCR, each considered BEM price is expressed in the quoted currency (QCR). The exchange pair BEM/QCR market is also called the BEM/QCR market. The Ask price of BEM is the unit price of BEM in the QCR. In each moment of time, t [ 0 , T ] , we note the Ask price, Q A s k ( t ) . In this way, we determine the Ask price trend, Q A s k : [ 0 , T ] + , which describes the dynamics of an exchange pair, BEM/QCR.
In this section, we describe such method of discretization Ask price trend, which is dedicated to CMUR systems. This discretization method was introduced and justified in Reference [4]. The changes on the BEM/QCR market are described by a unit return, defined as a dirty return by the BEM amount. The unit return 𝓊 𝓇 ( t , t ) in the time interval [ t , t ] equals
𝓊 𝓇 ( t , t ) = Q A s k ( t ) Q A s k ( t ) .
In the first step, we create a binary representation of Ask price trend. Applied binary representation is inspired by the historical point-symbolic notation [40].
We observe a continuous trend, Q A s k : [ 0 , T ] + . If a single trend observation begins at the time t , then it ends as early as possible at the moment t > t , fulfilling condition
| 𝓊 𝓇 ( t , t ) | = δ > 0
where δ is assumed as the discretization unit. We must remember that the assumed discretization unit, δ , should be equal to the unit return modulus requested by the speculator.
The event, δ , denotes such an Ask price increase which fulfils the condition (2). The complement, δ C , of this event is Ask price fall fulfilling condition (2). Forecasting changes in the Ask price is limited to answering the question of whether there will be an increase, δ , or a decrease, δ C , after the current time, t . The examined CMUR systems require only such elementary forecasts.
The first trend observation begins at the time t 0 = 0 . We assume that the observation continuity of it means that at each moment of closing the observation, the next observation is opened. That is why the sequence, ( t i ) i = 0 n [ 0 , T ] , of observation opening moments is recursively determined in the following way:
t 0 = 0 ,
t i + 1 = min { min { τ > t i : 𝓊 𝓇 ( t i , τ ) = δ   } , min { τ > t i : 𝓊 𝓇 ( t i , τ ) = δ   } } .
The sequence ( t i ) i = 0 n is a record of the observation history. Therefore, the sequence ( t i ) i = 0 n = Θ is called an observation record.
The binary representation of the trend Q A s k : [ 0 , T ] + consists of transforming this trend into its binary representation = ( ε i ) i = 1 n , determined as follows:
ε i = { 1                     𝓊 𝓇 ( t i 1 , t i ) = δ   0                   𝓊 𝓇 ( t i 1 , t i ) = δ   .
The number, n , of binary observations contained in the binary representation = ( ε i ) i = 1 n depends on the discretization unit δ and the length T of the observation interval.
For set observation range c , we define the state space E c as the set of all c-elements’ permutations with repetition from the set { 0 ,   1 } . The state space E c consists of 2 c states defined in the following way:
s j = ( e 1 , e 2 , , e c ) ,
where
j = l = 1 c 2 c l e l + 1
The observation range c is chosen by an analyst examining the BEM/QCR market. We will use any state s j E c as as the only premise for the forecast required by the CMUR system.
Example 1
[4]. For the number c = 4 , we have the following state space:
E 4 = { s 1 = ( 0 , 0 , 0 , 0 ) ,   s 2 = ( 0 , 0 , 0 , 1 ) ,   s 3 = ( 0 , 0 , 1 , 0 ) , s 4 = ( 0 , 0 , 1 , 1 ) , s 5 = ( 0 , 1 , 0 , 0 ) ,   s 6 = ( 0 , 1 , 0 , 1 ) , s 7 = ( 0 , 1 , 1 , 0 ) , s 8 = ( 0 , 1 , 1 , 1 ) , s 9 = ( 1 , 0 , 0 , 0 ) , s 10 = ( 1 , 0 , 0 , 1 ) ,   s 11 = ( 1 , 0 , 1 , 0 ) ,   s 12 = ( 1 , 0 , 1 , 1 ) , s 13 = ( 1 , 1 , 0 , 0 ) ,   s 14 = ( 1 , 1 , 0 , 1 ) ,   s 15 = ( 1 , 1 , 1 , 0 ) ,     s 16 = ( 1 , 1 , 1 , 1 ) , } .
Let us take into account fixed binary representation = ( ε i ) i = 1 n associated with observation record Θ . Each moment t i Θ   ( i = c ,   c + 1 , , n ) is attributed to an observed state, s ˜ i E c , of the BEM/QCR market. In this way, we create a sequence,
Ξ = ( s ˜ i ) i = c n = ( ( ε k ) k = i c + 1 i ) i = c n ,
of following observations of market states. The sequence, Ξ , defined in this way is a record of all observed changes in BEM/QCR market states. Therefore, the sequence, Ξ , is called a state record.
For any pair, ( t i , t i + 1 ) Θ , the value ε i + 1 = 1 denotes the observation of rise in the Ask price in the interval [ t i , t i + 1 ] . Then, the value ε i + 1 = 0 denotes the observation of fall in the Ask price in the interval [ t i , t i + 1 ] . For the purposes of Ask price trend discretization, the sequence
Ψ = ( s ˜ ( t i ) , ε i + 1 ) i = c n 1
plays the role of a training dataset [41].
Each state, s j E c , is observed exactly n j times. The sequence ( n j ) j = 1 2 c   of random numbers is explicitly determined by training dataset Ψ . Thanks to this, for each j = 1 , 2 , , m , we can establish the probability
p ( s j ) = n j n c 1
of achieving the state s j . Moreover, the training dataset Ψ determines the space of all observed states
G c ( Ψ ) = { s j E c :   n j > 0 } .
In Reference [4] it is justified that the training dataset Ψ uniquely determines conditional probability
p ( δ | s j ) = n j * n j ,
of achieving assumed rise, δ , immediately after that the state, s j , has occurred. The sequence ( n j * ) j = 1 m is explicitly determined as follows:
n j * = { i :   c i n c 1 ,   s ˜ i = s j } ε i
The total probability, p ( δ ) , of rise in Ask price can be determined as:
p ( δ ) = s j G c ( Ψ ) p ( s j ) · p ( δ | s j ) .
The set of triples below:
𝒫 ( BEM / QCR , δ , c , Ψ ) = { ( n j , p ( s j ) , p ( δ | s j ) ) : s j G c ( Ψ ) } ,
forms the prediction table to foresee the changes of the BEM/QCR exchange rate For any exchange pair BEM/QCR, its prediction table depends only on three parameters:
  • Ψ —training dataset,
  • δ —discretization unit,
  • c —observation range.
The training dataset Ψ depends on observed ex-ante Ask price trend, Q A s k : [ 0 , T ] + , on required discretization unit, δ , and on assumed observation range, c . During the calculation of the prediction table, financial analysts and traders do not have influence on the observed ex-ante Ask price trend. Therefore, training dataset Ψ cannot be taken into account as a control parameter of a prediction table.
On the other hand, discretization unit, δ , and observation range, c , are always specified by financial analysts and traders. Therefore, these last two parameters may be considered as control ones.
The confidence interval of a sample statistic (13) is given as the Wald confidence interval [42]. The proposed approximation is reliable when the sample size is large enough, and the success probability is noticeably different from 1 [43].
The value α is the assumed value of a significance level. For each state, s j G c ( Ψ ) , the ( 1 2 · α ) level Wald’s confidence interval is given by the equation
W j ( α ) = [ p ( δ | s j ) z α · p ( δ | s j ) ( 1 p ( δ | s j ) ) n j , p ( δ | s j ) + z α · p ( δ | s j ) ( 1 p ( δ | s j ) ) n j , ]
where z α is the α {\displaystyle 1-{\tfrac {\alpha }{2}}} quantile of a standard normal distribution. In financial practice, the minimal sample size should be determined empirically.
Each state, s j E c , can use a prediction premise. If prediction premise s j E c fulfils the condition
{ 1 p ( δ | s j ) } W j ( α ) ,
then it is called a well-justified premise. Other prediction premises are called ill-justified ones. In this way, for assumed α level of significance, we determine the space,
D ( α , δ ,   c ) = { s j G c ( Ψ ) :   { 1 p ( δ | s j ) } W j ( α ) } ,
of all well-justified premises. For any well-justified premise, the probability of inaccurate forecasting Ask price change is not greater than the value α . For ill-justified premises, this probability increases. Therefore, when it is possible, ill-justified premises should be avoided.
In practice, FX is the main financial market where the BEM/QCR exchange rate is traded. All quotations on the FX are related to the BEM unit. For any base currency (BCR) except Japanese Yen (JPY), the BEM unit equals to its monetary unit. For JPY, the BEM unit is equal to 100 JPY. For any precious metal, the BEM unit is equal to 1 troy ounce (1 oz). Major precious metals traded in the FX are gold, marked by acronym XAU, and silver, marked by acronym XAG.
On the FX, traders use the lot as a measure unit for the BEM amount. Table 1 contains different lot values determined for various BEMs.
In FX, a change in an exchange rate is expressed in pips. One pip is equal to 0.0001 lot of QCR.
Example 2
[4]. We discuss some cases of speculations in exchange pair silver quoted in U.S. dollars (XAG/USD). The selected value, δ = 28   p i p s , of assumed discretization unit is justified in Reference [28]. We use the space E 4 of all possible FX states.
In the first research stage, we determine the prediction table and distinguish well-justified premises. The Dukascopy broker has collected tick data containing 42,782,438 XAG/USD quotations from 31 December 2012 to 1 January 2018, denoted in the following way: [ 0 ,   5 Y ] . For exchange pair XAG/USD, these tick data determine the Ask price trend, Q A s k : [ 0 , 5 Y ] + . This trend graph is presented in Figure 1.
We see that the trend Q A s k contains descriptions of bull market, bear market rand, and sideways market. For this reason, we can say that collected tick data are representative.
Using recurrent Formula (4), we transform the collected tick data into the observation record Θ = ( t i ) i = 0 1480 [ 0 , 5 Y ] . In the next step, with Formula (5), we set binary representation = { ε i } i = 1 1480 of Ask price trend Q A s k .
The binary representation is applied for determination of the state record Ξ = ( s ˜ i ) i = 4 1480 = ( ( ε k ) k = i 3 i ) i = 4 1480 . Taking together all the above results, we build training dataset Ψ = ( s ˜ ( t i ) , ε i + 1 ) i = 4 1479 , which is used for calculation of the prediction table 𝒫 ( X A G / U S D , 28 , 4 , Ψ ) presented in Table 2. For significance level α = 0.05 , we determine Wald’s confidence intervals W j ( 0.05 ) by using Formula (17). Then, we distinguish the space D ( 0.05 , 28 ,   4 ) of all well-justified premises. In Table 2, the ill-justified premises are market by the hash, #. The last row in Table 2 shows the following: a total number of observations n 5 and a total probability p ( 28 ) of assumed rise in Ask price. The probability, p ( 28 ) , is calculated using Formula (15).
For premises s 2 ,   s 3 ,   s 4 ,   s 5 ,   s 6 ,   s 8 ,   s 10 ,   s 11 ,   s 13 ,   a n d   s 14 , the probability of inaccurately forecasting Ask price change is less than or equal to α = 0.05 . In the next stage of the research, we will examine the profitability of financial decisions made under the impact of well-justified premises. This topic will be discussed in Example 3.

3. Description of the CMUR System

The CMUR system is designed to support trading on FX. Trading on FX is managed by a broker. The applied variant of the CMUR system is selected by a speculator. Any exchange pair BEM/QCR is traded on FX in the following way.
The current value of BEM is quoted in two prices: The Bid price and the Ask price. Bid reflects how much of QCR will be obtained when we dispose of the BEM unit. Observed evolution of these prices is described by trends Q A s k : [ 0 , T ] + and Q B i d : [ 0 , T ] + . Ask price is always greater than Bid price. Therefore, we have
Q A s k ( t ) Q B i d ( t ) = s p r ( t ) > 0 .
The difference, s p r : [ 0 , T ] + , between a current Ask and Bid price is determined by the broker. This difference is called spread.
Two types of transaction may be opened on FX: long position and short position. A long position is opened by BUY order and it is closed by SELL order. A short position is opened by SELL order and it is closed by BUY order. The BUY order is made with the Ask price, Q A s k , and it means acquisition BEM with QCR. The SELL order is made with the Bid price, Q B i d , and it means disposal BEM with QCR. Transactions on FX are concluded between brokers and speculators. At FX, only the speculator can give the broker an order to BUY or SELL. A broker accepting an opening order is obliged to accept the closing order. The amount of the order is defined by the speculator.
Each transaction consists of its opening in time t and its closing in a time t > t . On the FX, the duration of the transaction is short. That is why we assume
τ [ t ,   t ]   :     s p r ( τ ) = s p r ( t ) = s p r ¯ > 0 .
This condition is almost always satisfied. The value of a spread, s p r ¯ , depends on the offer of the broker. Therefore, we cannot take spread, s p r ¯ , into account as a control parameter of the CMUR system. On the other hand, the individual variants of the CMUR system differ in the value δ > s p r ¯ of the required unit return modulus, which is always specified by the speculator. Therefore, unit return modulus may be considered as a control parameter of the CMUR system. In Reference [4], these last two parameters are used for determining the following ratio:
π 𝓊 p = δ + s p r ¯ 2 · δ > 1 2 ,
which will be interpreted later below the Formula (27).
FX brokers set their fees based on commission equal to the spread. A speculator wants to earn due to an accurate prediction of a BEM/QCR quotation change. To achieve this goal, a speculator can apply the CMUR system. A CMUR system is linked to the prediction table 𝒫 ( BEM / QCR , δ , c , Ψ ) , where the discretization unit, δ , is equal to the unit return modulus required by the speculator. Since the discretization unit, δ , and the observation range, c , are the only control parameters of the prediction table 𝒫 ( BEM / QCR , δ , c , Ψ ) , the unit return modulus, δ , and the observation range length, c , are control parameters of any CMUR system. In Reference [4], it is shown that these last two parameters are the only control ones of the CMUR system.
The effectiveness of CMUR system operation results from the proper selection of transaction premises. Each well-justified premise can be used as a premise for opening transaction on FX. Using the ratio (22), we distinguish the following kind of transaction premises. If well-justified transaction premise s j D ( α , δ ,   c ) fulfils the condition
π ( s j ) = m a x { p ( δ | s j ) ,   1 p ( δ | s j ) } > π 𝓊 p ,
then it is called an acceptable transaction premise [4]. The value π ( s j ) will be explained belowthe Formula (27). In this way, we determine the space
D = D ( α , δ ,   c , π 𝓊 p ) = { s j D ( α , δ ,   c ) :   π ( s j ) > π 𝓊 p }
of all well-justified premises. If we open a transaction after encountering an acceptable premise, then the probability of a loss is relatively low. For non-acceptable premises, this probability increases. We can expect that transactions opened repeatedly under acceptable premises will be profitable. Therefore, non-acceptable transaction premises should be avoided.
Example 3
[4]. Let us consider some ways of speculating on the XAG/USD exchange market. The speculator plans to speculate only using transactions with the unit return modulus δ = 28 . These speculations may be supported by using prediction table 𝒫 ( X A G / U S D , 28 , 4 , Ψ ) , presented in Table 2. Using (23), for each well-justified premise, we calculate its success probability, presented in Table 3. For the pair XAG/USD, the broker offers the spread s p r ¯ = 1   p i p . Therefore, we have the infimum of acceptable success probability, π 𝓊 p = 0.5179 . It, together with condition (23), implies that all well-justified transaction premises are acceptable.
We can expect that transactions opened repeatedly under premises s 2 ,   s 3 ,   s 4 ,   s 5 ,   s 6 ,   s 8 ,   s 10 ,   s 11 ,   s 13 ,   a n d   s 14 will be profitable. For these premises, the probability of opening a profitable transaction is greater than or equal to 1 α = 0.95 .
Each trading system is linked to the implemented strategy of transaction-making. The CMUR system is related to a very simple strategy with only the following four transaction-making rules:
  • Any transaction can be opened only at the moment t , when the acceptable premise, s j D , has occurred.
  • If, for observed premise s j , we have
    p ( δ | s j ) > 1 2 ,
    then place a BUY order and go long.
  • If, for observed premise s j , we have
    p ( δ | s j ) < 1 2 ,
    then place a SELL order and go short.
  • Each opened transaction is closed at the moment t , determined by dependence
    t = min { τ :   τ > t ,   | 𝓊 ( t , τ ) | = δ } .
Listing the applied transaction-making rules ends the CMUR system description. We denote the CMUR system described in this section by symbol C = CMUR ( 𝒫 ( B E M / Q C R , δ , c , Ψ ) , s p r ¯ , α ) . Taking into account conditions (25) and (26), we infer that the value π ( s j ) determined by Formula (23) is the probability of accurate transaction opening due to an observation of a current premise, s j . Each accurately opened transaction is profitable for a speculator. Therefore, the probability π ( s j ) will be called the conditional success probability. In agreement with conditions (23) or (24), the ratio π 𝓊 p is the infimum of conditional succes probabilities determined for acceptable transaction premise.
For any CMUR system, C , we define the success probability as the probability of accurate transaction opening due to use of this system. We get:
π ( C ) = s j D p ( s j ) · π ( s j ) s j D p ( s j ) .
An expected single payment from transaction is defined as the expected value of payment obtained due to realization of this transaction on one lot of BEM. Then, by the symbol Y ( s j ) , we denote the expected single payment from transaction opened immediately after that the acceptable premise, s j D , has occurred. The expected single payment, Y ( s j ) , is equal to value
Y ( s j ) = ( 2 · π ( s j ) 1 ) · δ s p r ¯ > 0 ,
expressed in pips [4].
Example 4
[4]. The transaction-making strategy implemented in C M U R ( 𝒫 ( X A G / U S D , 28 , 4 , Ψ ) , 1 , 0.05 ) is presented in Table 3. All acceptable premises, s j D ( 0.05 ,   28 ,   4 ,   0.5179 ) = D , fulfilling condition (25) are marked by a star, *. Moreover, in Table 3, expected single payments, Y ( s j ) , assesses benefits achieved by a speculator trading one lot of silver.

4. Effectiveness of the CMUR System

The effectiveness of any trading system means being able to achieve the highest possible profits under conditions of the lowest possible risk. An important element of each trading process in any market is the proper choice of an effective supporting system. For realization of this choice, we can use criteria pointed out by Garcia et al. [44] and Li et al. [45], who point to the trading system features that should be evaluated. Their proposals are implemented for evaluating the CMUR system [4]. In further considerations, without loss of generality, we can ignore the leverage problem. All efficiency characteristics are determined for payment obtained due to realization of a single transaction on one lot of BEM. We assess the CMUR system effectiveness using the following notions.
Let a fixed CMUR system, C = CMUR ( 𝒫 ( B E M / Q C R , δ , c , Ψ ) , s p r ¯ , α ) , be given, with the space of all acceptable premises, D = D ( α ,   c , π 𝓊 p ) . The expected annual number of transactions is
N ( C ) = s j D n ˜ j ,
where n ˜ j is an annaualized number of the state, s j , observations collected during construction of the prediction table 𝒫 ( B E M / Q C R , δ , c , Ψ ) .
  • The success probability, π ( C ) ,   is determined by the Formula (28)
  • The expected unit payment, expressed in QCR units, is
    𝓎 ( C ) = 10 · [ ( 2 · π ( C ) 1 ) · δ s p r ¯ ] ;
  • The expected unit profit is
    Y ( C ) = N ( C ) · 𝓎 ( C ) .
  • The expected interest rate is
    i ( C ) = Y ( C ) v B E M / Q C R   · 100 % ,
    where v B E M / Q C R   is current Ask price of one lot of BEM.
In CMUR system evaluation, we understate the speculator’s risk as the possibility of incurring losses as a result of placing an inaccurate order. In Reference [4], the risk index, ( C ) , is defined as expected Shannon’s entropy [46] in the following way:
( C ) = s j D p ( s j ) · ( π ( s j ) · ln π ( s j ) + ( 1 π ( s j ) ) · ln ( 1 π ( s j ) ) ) ln 2 · s j D p ( s j ) .
In summary, for the CMUR system, C = CMUR ( 𝒫 ( B E M / Q C R , δ , c , Ψ ) , s p r ¯ , α ) , its effectiveness should be characterized by a pair of
( i ( C ) , ( C ) ) .
The evaluation of effectiveness of the CMUR system can also be simplified by means of interest risk premium:
( C ) = i ( C ) ( C ) .
The characteristics presented above are useful only for comparison of evaluated CMUR systems with other trading systems.
Example 5
[4]. We evaluate effectiveness of the trading system C M U R ( 𝒫 ( X A G / U S D , 28 , 4 , Ψ ) , 1 , 0.05 ) described in Examples 2, 3, and 4. On 28 December 2018, the silver price was $15.44 per troy ounce [30]. It implies that for silver, the current lot value is as follows:
v X A G / U S D   = 1000   o z · $ 15.44 / o z = $ 15 , 440 .
The effectiveness characteristic of considered CMUR system are given in Table 4.
Effectiveness of the evaluated CMUR system is represented by the pair ( 41.68 % ,   0.9813 ) . The high interest rate of 41.68 tells us that the use of the system C M U R ( 𝒫 ( X A G / U S D , 28 , 4 , Ψ ) , 1 , 0.05 ) on the gold market guarantees profits well above average. We can use the value 0.9813 of the risk index only for comparison with the system C M U R ( 𝒫 ( X A G / U S D , 28 , 4 , Ψ ) , 1 , 0.05 ) applied on the gold market with other trading systems applied on any exchange market.

5. Optimization of the CMUR System

The financial effectiveness increases along with the increase of expected interest and with the decrease of the systemic risk index. Therefore, the subset of all effective CMUR systems may be distinguished as the Pareto’s optimum, determined as a two-criteria comparison of maximization of expected unit profit and minimization of risk index.
Let us take into account the single CMUR system. C δ , c = CMUR ( 𝒫 ( B E M / Q C R , δ , c , Ψ ) , s p r ¯ , α ) . To simplify further considerations, we can assume that the required unit return modulus, δ , is an integer number. Therefore, we can restrict limit the search area for effective CMUR systems by the condition:
δ [ δ * ,   δ * ]  
where
  • δ * is the least required unit return modulus, and
  • δ * is the greatest required unit return modulus.
Moreover, searching for the most effective CMUR system is always limited by condition
c [ c * ,   c * ]  
where
  • c * is the least assumed observation range, and
  • c * is the greatest assumed observation range.
The financial effectiveness of the CMUR system, C δ , c , is characterized by the pair
( i δ , c , δ , c ) = ( i ( C δ , c ) , ( C δ , c ) ) .
On the space of all compared CMUR systems, we determine some preorders, C δ , c · Q x · C , f , which read:
C M U R   s y s t e m   C δ , c   i s   n o t   w o r s e   t h a n   C M U R   s y s t e m   C , f
In this section, we will apply the following preorders:
C δ , c · Q 1 · C , f i δ , c i , f ,
C δ , c · Q 2 · C , f δ , c , f ,
The set of all effective CMUR systems we appoint as Pareto’s optimum are determined by multi-criterial comparison Q 1   Q 2 . We solve this optimization task in two stages.
In the first stage, for each observation range, c [ c * ,   c * ]   , we execute the following algorithm:
STEP 1:
c { C δ * , c }
STEP 2:
δ i δ * + 1
STEP 3:
( C x , c c : (   i x , c i δ , c x , c δ , c ) (   i x , c i δ , c x , c δ , c ) (   i x , c i δ , c x , c δ , c ) )
c c   { C δ , c } .
STEP 4:
C x , c c : ( ( i x , c < i δ , c x , c > δ , c )   c c { C x , c } )
STEP 5:
δ δ + 1 .
STEP 6:
δ > δ * g o   t o   S T O P .
STEP 7:
g o   t o   S T E P   3 .
STOP.
In this way, we obtain the sequence ( c ) c = c * c * of partial optima of Pareto. In the second stage, we execute the following algorithm:
STEP 1:
c *
STEP 2:
c c * + 1
STEP 3:
C x , c c : ( ( C y , z : (   i y , z i x , c y , z x , c ) (   i y , z i x , c y , z x , c ) (   i y , z i x , c y , z x , c ) ) P P   { C x , c } )
STEP 4:
C x , c c C y , z : ( ( i y , z < i x , c y , z > x , c )   { C y , z } )
STEP 5:
c c + 1 .
STEP 6:
c > c * g o   t o   S T O P .
STEP 7:
g o   t o   S T E P   3 .
STOP.
In this way, we obtain the Pareto’s optimum, . Any CMUR system C δ , c is an effective one. Then, the pair of control parameters ( δ , c ) is optimal.

6. Case Study

In this section, we explore the possibility of effective use of the CMUR system for speculations in exchange pair gold quoted in USD (XAU/USD). We have collected tick data containing 188,055,881 XAU/USD quotations from 31 December 2014 to 1 January 2020 [47]. For exchange pair XAU/USD, these tick data determine the Ask price trend. This trend graph is presented in Figure 2.
We see that the trend Q Ask contains descriptions of bull market, bear market rand, and sideways market. For this reason, we can say that the collected tick data are representative.
On 2 January 2020, the average price of 1 gold ounce was $1520.30. It means that average Ask price of 1 gold lot was v X A U / U S D = $ 152 , 030 . Trading on the XAU/USD exchange market is managed by many brokers. We assume that the speculator gives orders to a broker who offers a spread of s p r ¯ = 20   p i p s . This level of spread is most often offered on the XAU/USD exchange market.
In our study, we evaluated all CMUR systems characterized by observation range c = 2 , 3 , 4 , 5 and discretization unit δ = 21 , 22 , , 2420 . It means that we examined the effectiveness of 9680 variants of the CMUR system. We will lead our statistical research at the significance level α = 0.05 . The assumed research area results from our experience gathered during previous studies [24,25,26,27,28,29,30,31,32].
For each pair of control parameters ( δ , c ) , we determine following values and sets:
  • δ , c the binary representation containing all binary observations (5),
  • n δ , c the number of binary observations,
  • Ψ δ , c the training dataset (10),
  • a δ , c the average sample size given by the equation:
    a δ , c = n δ , c c 1 2 c ,
  • 𝒫 ( X A G / U S D , δ , c , Ψ δ c ) the prediction table (16),
  • D ( 0.05 , δ ,   c ) the space of all well-justified premises (19),
  • D δ , c = D ( 0.05 , δ ,   c , π 𝓊 p ) the space of all acceptable premises (24),
  • N δ , c the expected annual number of transactions (29),
  • 𝓎 δ , c the expected unit payment (31),
  • i δ , c the expected interest rate (33),
  • δ , c the risk index (34).
A sample size will be applied for heuristic evaluation of obtained solutions of the optimization task.
In the next step, we use the algorithm (43–49) for each observation range, c = 2 , 3 , 4 , 5 , separately. Obtained results are presented in Table 5, Table 6, Table 7 and Table 8.
It is very easy to see that if we use the optimal CMUR system linked to observation range c = 5 , then expected interest rates, i δ , 5 , are not realistic. On the other hand, each average sample size, i δ , 5 , is always low. Therefore, we can suppose that prediction tables 𝒫 ( X A U / U S D , δ , 5 , Ψ ) are not reliable. For this reason, we propose to accept the value a = 300 as the minimal average sample size. Of course, our proposal is only heuristic. The above heuristic inference leads to the omission of the optimal CMUR systems, C M U R ( 𝒫 ( X A U / U S D , δ , 5 , Ψ ) , 20 , 0.05 ) in subsequent calculations.
In the last step, we use the algorithm (50–56) for all observation ranges, c = 2 ,   3 ,   4 , together. Obtained results are presented in Table 9.
The above table can be used as follows: A speculator chooses one of the recommended values of unit return modulus. This choice implies a recommendation of the proper observation range. An interesting situation exists in the case of a recommendation unit return modulus δ = 463 . Then, we have two options of choice:
  • The observation range c = 3 for speculators with risk aversion.
  • The observation range c = 4 for speculators with risk propensity.
This is a simple example of the CMUR system flexibility.

7. Conclusions

In this paper, we proposed an original method of selecting financially effective CMUR systems. Proper selection is given as Pareto’ optimum determined by interest rate maximization and risk index minimization. In our case study, we show a heuristic limitation of optimization task. The results of the discussion point to further research directions.
Results obtained in the case study show that distinguished Pareto’s optima are multi-element sets. This fact implies that a most-powerful parameter specification does not exist. This is a common situation in economics and finance. For this reason, in economics and finance, we are finding non-dominated parameter specification. It is a widely accepted approach in operations research. Therefore, such approach is applied in our paper.
Moreover, obtained results show that distinguished Pareto’s optima are not convex. It implies that expected interest rate and risk index are not convex functions of CMUR system parameters. It implies that convex analysis cannot be used.
In our paper, we have used risk index (34) related to Shannon’ entropy [46]. It would be useful to discuss the use of other suitable risk indices here. We propose to discuss the following ex-ante risk indices: inverse of success probability (28), single payment variance, and single payment semi-variance. In addition, we suggest taking max drawdown into account as ex-post risk indices. A rank correlation between these indices should be investigated. After this research, we will be able to start comparing CMUR systems and other types of trading systems. In the case study, we proposed to accept some values as minimal average sample size. This proposal is only heuristic. This means that there is a real need to build a formal method of determining minimal sample size. Additionally, we propose the following directions of investigation on the CMUR systems:
  • Influence of levering on CMUR system effectiveness, and
  • Influence of lot value variability on systemic risk.

Author Contributions

Conceptualization, K.P. and M.D.S.; methodology, K.P.; data curation M.D.S.; validation, K.P. and M.D.S.; formal analysis, K.P.; resources, M.D.S.; writing—original draft preparation, K.P.; writing—review and editing, K.P. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Acknowledgments

The authors are very grateful to the anonymous reviewers for their helpful suggestions and comments.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Kaldor, N. Essays on Economic Stability and Growth; The Free Press of Glencoe Published by Gerald Duckworth: Glencoe, IL, USA, 1960. [Google Scholar]
  2. Huang, B.; Huan, Y.; Xu, L.D.; Zheng, L.; Zou, Z. Automated trading systems statistical and machine learning methods and hardware implementation: A survey. Enterp. Inf. Syst. 2019, 13, 132–144. [Google Scholar] [CrossRef]
  3. Dymova, L.; Sevastjanov, P.; Kaczmarek, K. A Forex trading expert system based on a new approach to the rule-base evidential reasoning. Expert Syst. Appl. 2016, 51, 1–13. [Google Scholar] [CrossRef]
  4. Piasecki, K.; Stasiak, M.D. The Forex Trading System for Speculation with Constant Magnitude of Unit Return. Mathematics 2019, 7, 623. [Google Scholar] [CrossRef] [Green Version]
  5. Komunikat w Sprawie Wyników Osiąganych Przez Inwestorów na Rynku Forex. Available online: https://www.knf.gov.pl/poprzednie_lata/komunikaty?articleId=53122&p_id=18 (accessed on 2 January 2019).
  6. News Releases AMF. 2014. Available online: https://www.amf-france.org/en_US/Actualites/Communiques-de-presse/AMF/annee_2014.html?docId=workspace%3A%2F%2FSpacesStore%2F96c52a14-3900-464f-8fff-7d4700ff37e3 (accessed on 2 January 2019).
  7. Aldridge, I. High-Frequency Trading: A Practical Guide to Algorithmic Strategies and Trading Systems, 2nd ed.; John Wiley and Sons: New York, NY, USA, 2013. [Google Scholar]
  8. Petropoulos, A.; Chatzis, S.P.; Siakoulis, V.; Vlachogiannakis, N. A stacked generalization system for automated FOREX portfolio trading. Expert Syst. Appl. 2017, 90, 290–302. [Google Scholar] [CrossRef]
  9. Bekiros, S.D. Heuristic learning in intraday trading under uncertainty. J. Empir. Financ. 2015, 30, 34–49. [Google Scholar] [CrossRef]
  10. Dunis, C.; Zhou, B. Nonlinear Modelling of High Frequency Financial Time Series; John Wiley & Sons: New York, NY, USA, 1998. [Google Scholar]
  11. Dempster, M.A.; Leemans, V. An automated FX trading system using adaptive reinforcement learning. Expert Syst. Appl. 2006, 30, 543–552. [Google Scholar] [CrossRef]
  12. Rundo, F.; Trenta, F.; Di Stallo, A.L.; Battiato, S. Advanced Markov-Based Machine Learning Framework for Making Adaptive Trading System. Computation 2019, 7, 4. [Google Scholar] [CrossRef] [Green Version]
  13. Dempster, M.A.; Jones, C.M. A real-time adaptive trading system using genetic programming. Quant. Financ. 2001, 1, 397–413. [Google Scholar] [CrossRef] [Green Version]
  14. Mendes, L.; Godinho, P.; Dias, J. A Forex trading system based on a genetic algorithm. J. Heuristics 2012, 18, 627–656. [Google Scholar] [CrossRef]
  15. Evans, C.; Pappas, K.; Xhafa, F. Utilizing artificial neural networks and genetic algorithms to build an algo-trading model for intra-day foreign exchange speculation. Math. Comput. Model. 2013, 58, 1249–1266. [Google Scholar] [CrossRef]
  16. Fischer, T.; Krauss, C. Deep learning with long short-term memory networks for financial market predictions. Eur. J. Oper. Res. 2018, 270, 654–669. [Google Scholar] [CrossRef] [Green Version]
  17. Li, Y.; Zheng, W.; Zheng, Z. Deep robust reinforcement learning for practical algorithmic trading. IEEE Access 2019, 7, 108014–108022. [Google Scholar] [CrossRef]
  18. Dixon, M.; Klabjan, D.; Bang, J.H. Classification-based financial markets prediction using deep neural networks. Algorithmic Financ. 2017, 6, 67–77. [Google Scholar] [CrossRef] [Green Version]
  19. Sezer, O.B.; Ozbayoglu, A.M. Algorithmic financial trading with deep convolutional neural networks: Time series to image conversion approach. Appl. Soft Comput. 2018, 70, 525–538. [Google Scholar] [CrossRef]
  20. Rundo, F.; Trenta, F.; di Stallo, A.L.; Battiato, S. Grid trading system robot (GTSbot): A novel mathematical algorithm for trading FX market. Appl. Sci. 2019, 9, 1796. [Google Scholar] [CrossRef] [Green Version]
  21. Alonso-Monsalve, S.; Suárez-Cetrulo, A.L.; Cervantes, A.; Quintana, D. Convolution on neural networks for high-frequency trend prediction of cryptocurrency exchange rates using technical indicators. Expert Syst. Appl. 2020, 149, 113250. [Google Scholar] [CrossRef]
  22. Barbosa, R.P.; Belo, O. Multi-agent forex trading system. In Agent and Multi-Agent Technology for Internet and Enterprise Systems; Hakansson, A., Hartung, R., Nguyen, N.T., Eds.; Springer: Berlin/Heidelberg, Germany, 2010; pp. 91–118. [Google Scholar]
  23. Aloud, M.; Fasli, M.; Tsang, E.; Dupuis, A.; Olsen, R. Modeling the High-Frequency FX Market: An Agent-Based Approach. Comput. Intell. 2017, 33, 771–825. [Google Scholar] [CrossRef]
  24. Stasiak, M.D. Modelling of Currency Exchange Rates Using a Binary Representation. In Information Systems Architecture and Technology, Proceedings of the 37th International Conference on Information Systems Architecture and Technology—ISAT 2016, Karpacz, Poland, 18–20 September 2016; Wilimowska, Z., Borzemski, L., Grzech, A., Świątek, J., Eds.; Advances in Intelligent Systems and Computing; Springer: Berlin, Germany, 2016; Volume 524, pp. 153–161. [Google Scholar] [CrossRef]
  25. Stasiak, M.D. Wave relations of exchange rates in binary-temporal representation. In Proceedings of the 35th International Conference Mathematical Methods in Economics MME 2017, Hradec Králové, Czech Republic, 13–15 September 2017; Prazak, P., Ed.; Gaudeamus, University of Hradec Kralove: Hradec Králové, Czech Republic, 2017; pp. 720–725. [Google Scholar]
  26. Stasiak, M.D. Modelling of Currency Exchange Rates Using a Binary-Wave Representation. In Proceedings of 38th International Conference on Information Systems Architecture and Technology—ISAT 2017. Part III, Szklarska Poręba, Poland, 17–19 September 2017; Wilimowska, Z., Borzemski, L., Grzech, A., Świątek, J., Eds.; Springer: Berlin/Heidelberg, Germany, 2017; pp. 27–37. [Google Scholar] [CrossRef]
  27. Stasiak, M.D. Modelling of Currency Exchange Rates Using a Binary-Temporal Representation. In Contemporary Trends in Accounting, Finance and Financial Institutions, Proceedings of the International Conference on Accounting, Finance and Financial Institutions (ICAFFI), Poznan, Poland, 19–21 October 2016; Choudhry, T., Mizerka, J., Eds.; Springer: Berlin/Heidelberg, Germany, 2018; pp. 97–110. [Google Scholar]
  28. Stasiak, M.D. A study on the influence of the discretisation unit on the effectiveness of modelling currency exchange rates using the binary-temporal representation. Oper. Res. Dec. 2018, 28, 57–70. [Google Scholar]
  29. Piasecki, K.; Stasiak, M. Exchange rate modelling with use of relative binary representation. In Proceedings of the 36th International Conference Mathematical Methods in Economics, Jindrichuv Hradec, Czech Republic, 12–14 September 2018; MatfyzPress, Publishing House of the Faculty of Mathematics and Physics Charles University: Prague, Czech Republic, 2018; pp. 410–415. [Google Scholar]
  30. Piasecki, K.; Stasiak, M.; Staszak, Ż. Investment Decision Support on Precious Metal Market with Use of Binary Representation, Effective Investments on Capital Markets. In Proceedings of the 10th Capital Market Effective Investments Conference (CMEI 2018), Międzyzdroje, Poland, 19 September 2018; Tarczyński, W., Nermend, K., Eds.; Springer Proceedings in Business and Economics; Springer International Publishing AG: Cham, Switzerland, 2019; pp. 423–438. ISBN 978-3-030-21273-5. [Google Scholar] [CrossRef]
  31. Stasiak, M. Trend analysis with use of binary representation. In Proceedings of the 37th International Conference Mathematical Methods in Economics MME 2019: Conference Proceedings, České Budějovice, Czech Republic, 11–13 September 2019; Houda, M., Remeš, R., Eds.; University of South Bohemia in České Budějovice, Faculty of Economics: České Budějovice, Czech Republic, 2019; pp. 529–535. ISBN 978-80-7394-760-6. [Google Scholar]
  32. Piasecki, K.; Stasiak, M. Verification of the Precious Metals Market Effectiveness—Gold and Silver. In Proceedings of the International Scientific Conference Hradec Economic Days, Hradec Králové, Czech Republic, 2–3 April 2020; Jedlička, P., Marešová, P., Firlej, K., Soukal, I., Eds.; University of Hradec Králové: Hradec Králové, Czech, 2020; Volume 10, pp. 1–9. [Google Scholar] [CrossRef]
  33. Chante, S. Beyond Technical Analysis: How to Develop and Implement a Winning Trading System; John Wiley & Sons: New York, NY, USA, 1997. [Google Scholar]
  34. Vastone, B.; Finnie, G. An empirical methodology for developing stock market trading systems using artificial neural networks. Expert Syst. Appl. 2009, 36, 6668–6680. [Google Scholar] [CrossRef] [Green Version]
  35. Nelson, D.M.; Pereira, A.C.; De Oliveira, R.A. Stock market’s price movement prediction with LSTM neural networks. In Proceedings of the International Joint Conference on Neural Networks, Anchorage, AK, USA, 14–19 May 2017; pp. 1419–1426. [Google Scholar]
  36. Chong, E.; Han, C.; Park, F.C. Deep learning networks for stock market analysis and prediction: Methodology, data representations, and case studies. Expert Syst. Appl. 2017, 83, 187–205. [Google Scholar] [CrossRef] [Green Version]
  37. Borovkova, S.; Tsiamas, I. An Ensemble of LSTM Neural Networks or High-Frequency Stock Market Classification. Quant. Financ. 2019, 38, 600–619. [Google Scholar] [CrossRef] [Green Version]
  38. Nakano, M.; Takahashi, A.; Takahashi, S. Bitcoin technical trading with artificial neural network. Phys. A Stat. Mech. Appl. 2018, 510, 587–609. [Google Scholar] [CrossRef]
  39. Shintate, T.; Pichl, L. Trend Prediction Classification for High Frequency Bitcoin Time Series with Deep Learning. J. Risk Financ. Manag. 2019, 12, 17. [Google Scholar] [CrossRef] [Green Version]
  40. De Villiers, V. The Point and Figure Method of Anticipating Stock Price Movements: Complete Theory and Practice; Stock Market Publications: New York, NY, USA, 1935. [Google Scholar]
  41. Geisser, S. Predictive Inference; Chapman and Hall: New York, NY, USA, 1993. [Google Scholar]
  42. Wallis, S.A. Binomial confidence intervals and contingency tests: Mathematical fundamentals and the evaluation of alternative methods. J. Quant. Linguist. 2013, 20, 178–208. [Google Scholar] [CrossRef] [Green Version]
  43. Brown, L.D.; Cai, T.T.; Das Gupta, A. Interval Estimation for a Binomial Proportion. Stat. Sci. 2001, 16, 101–133. [Google Scholar] [CrossRef]
  44. García, B.Q.; Gaytán, J.C.T.; Wolfskill, L.A. The Role of Technical Analysis in the Foreign Exchange Market. Glob. J. Bus. Res. 2012, 6, 17–22. [Google Scholar]
  45. Li, W.; Wong, M.C.; Cenev, J. High frequency analysis of macro news releases on the foreign exchange market: A survey of literature. Big Data Res. 2015, 2, 33–48. [Google Scholar] [CrossRef]
  46. Shannon, C.E. A Mathematical Theory of Communication. Bell Syst. Tech. J. 1948, 27, 379–423. [Google Scholar] [CrossRef] [Green Version]
  47. Gold Reaches 6-Month Maximum. Available online: https://fbs.eu/analytics/news/gold-reaches-6-month-maximum-4133 (accessed on 2 January 2019).
Figure 1. The graph for trend of Ask price of XAG/USD exchange pair.
Figure 1. The graph for trend of Ask price of XAG/USD exchange pair.
Mathematics 08 01384 g001
Figure 2. The graph for trend of Ask price of XAU/USD exchange pair.
Figure 2. The graph for trend of Ask price of XAU/USD exchange pair.
Mathematics 08 01384 g002
Table 1. Lot definitions for main base exchange mediums (BEMs).
Table 1. Lot definitions for main base exchange mediums (BEMs).
BEMLot Size
BCR100,000 BEM units
XAU100 oz
XAG1000 oz
Table 2. Prediction table 𝒫 ( X A G / U S D , 28 , 4 , Ψ ) and Wald confidence intervals.
Table 2. Prediction table 𝒫 ( X A G / U S D , 28 , 4 , Ψ ) and Wald confidence intervals.
s j p ( s j ) p ( 28 | s j ) W j ( 0.05 )
s 1 # 960.0650850.4688 [ 0.385272 ,   0.552328 ]
s 2 870.0589830.4205 [ 0.333705 ,   0.507295 ]
s 3 1010.0684750.5941 [ 0.513965 ,   0.674235 ]
s 4 770.0522030.4487 [ 0.355745 ,   0.541655 ]
s 5 880.0596610.5730 [ 0.486524 ,   0.659476 ]
s 6 1170.0793220.5897 [ 0.515121 ,   0.664279 ]
s 7 # 920.0623730.5000 [ 0.414509 ,   0.585491 ]
s 8 820.0555930.4146 [ 0.325377 ,   0.503823 ]
s 9 # 880.0596610.4886 [ 0.401210 ,   0.575998 ]
s 10 910.0616950.4505 [ 0.364963 ,   0.536037 ]
s 11 1170.0793220.5897 [ 0.515121 ,   0.664279 ]
s 12 # 950.0644070.4947 [ 0.410570 ,   0.578825 ]
s 13 890.0603390.4444 [ 0.358019 ,   0.530781 ]
s 14 840.0569490.4167 [ 0.328481 ,   0.504919 ]
s 15 # 810.0549150.4634 [ 0.372533 ,   0.554267 ]
s 16 # 900.0610170.5111 [ 0.424686 ,   0.597514 ]
Total1475-0.4973
Source: Own elaboration.
Table 3. Strategy given by constant modulus of unit return ( C M U R ) ( 𝒫 ( X A G / U S D , 28 , 4 , Ψ ) , 1 , 0.05 ) .
Table 3. Strategy given by constant modulus of unit return ( C M U R ) ( 𝒫 ( X A G / U S D , 28 , 4 , Ψ ) , 1 , 0.05 ) .
Acceptable Premise s j Probability of Success π ( s j ) RecommendationExpected Single Payment Y ( s j )
s 2 0.5795SELL$3.452
s 3 0.5941SELL$4.270
s 4 0.5513SELL$1.873
s 5 * 0.5730BUY$3.088
s 6 * 0.5897BUY$4.023
s 8 0.5854SELL$3.782
s 10 0.5495SELL$1.772
s 11 * 0.5897BUY$4.023
s 13 0.5556SELL$2.114
s 14 0.5833SELL$3.665
Source: own calculations.
Table 4. Juxtaposition of effectiveness characteristics of C M U R ( 𝒫 ( X A G / U S D , 28 , 4 , Ψ ) , 1 , 0.05 ) .
Table 4. Juxtaposition of effectiveness characteristics of C M U R ( 𝒫 ( X A G / U S D , 28 , 4 , Ψ ) , 1 , 0.05 ) .
Characteristics C M U R ( 𝒫 ( X A G / U S D , 28 , 4 , Ψ ) , 1 , 0.05 )
Expected annual number of transactions187.4
Success probability0.5763
Expected unit payment$34.34
Expected unit profit$6435.31
Expected interest rate41.68%
Risk index0.9813
Interest risk premium42.47
Source: own calculations.
Table 5. Optimized variants of the CMUR system, C M U R ( 𝒫 ( X A U / U S D , δ , 2 , Ψ ) , 20 , 0.05 )
Table 5. Optimized variants of the CMUR system, C M U R ( 𝒫 ( X A U / U S D , δ , 2 , Ψ ) , 20 , 0.05 )
Discretization Unit δ Number of Binary Representations n δ , 2 Average Sample Size a δ , 2 Expected Interest Rate i δ , 2 Risk Index δ , c
34610,162254036.10%0.994099
5284519112938.58%0.994164
Source: Own elaboration.
Table 6. Optimized variants of the CMUR system, C M U R ( 𝒫 ( X A U / U S D , δ , 3 , Ψ ) , 20 , 0.05 ) .
Table 6. Optimized variants of the CMUR system, C M U R ( 𝒫 ( X A U / U S D , δ , 3 , Ψ ) , 20 , 0.05 ) .
Discretization Unit δ Number of Binary Representations n δ , 3 Average Sample Size a δ , 3 Expected Interest Rate i δ , 3 Risk Index δ , 3
3758580107255.90%0.991297
3768489106159.37%0.993476
463571371438.19%0.985322
Source: Own elaboration.
Table 7. Optimized variants of the CMUR system, C M U R ( 𝒫 ( X A U / U S D , δ , 4 , Ψ ) , 20 , 0.05 ) .
Table 7. Optimized variants of the CMUR system, C M U R ( 𝒫 ( X A U / U S D , δ , 4 , Ψ ) , 20 , 0.05 ) .
Discretization Unit δ Number of Binary Representations n δ , 4 Average Sample Size a δ , 4 Expected Interest Rate i δ , 4 Risk Index δ , 4
368902156455.02%0.987849
375858053463.43%0.990001
377849853166.08%0.991844
404746946755.24%0.988295
406738546138.28%0.987462
418695243427.81%0.979963
463571335751.54%0.987502
Source: Own elaboration.
Table 8. Optimized variants of the CMUR system, C M U R ( 𝒫 ( X A U / U S D , δ , 5 , Ψ ) , 20 , 0.05 ) .
Table 8. Optimized variants of the CMUR system, C M U R ( 𝒫 ( X A U / U S D , δ , 5 , Ψ ) , 20 , 0.05 ) .
Discretization Unit δ Number of Binary Representations n δ , 5 Average Sample Size i δ , 5 Expected Interest Rate i δ , 5 Risk Index δ , 5
366904728389.91%0.985164
406738523183.19%0.978913
442626819688.70%0.98096
513474014837.54%0.952324
515473414829.28%0.920517
517470214756.99%0.95236
537425213366.33%0.96346
540421813279.09%0.967076
Source: Own elaboration.
Table 9. Effective variants of the CMUR system, C M U R ( 𝒫 ( X A U / U S D , δ , c , Ψ ) , 20 , 0.05 ) .
Table 9. Effective variants of the CMUR system, C M U R ( 𝒫 ( X A U / U S D , δ , c , Ψ ) , 20 , 0.05 ) .
Discretization Unit δ Unit Return ModulusObservation Range c Expected Annual Number of Transactions N δ , c Expected Unit Payment 𝓎 δ , c Expected Interest Rate i δ , c Risk Index δ , c
3684310.4$269.4963.43%0.990001
3754406.6$237.1666.08%0.991844
3774515.6$194.8455.24%0.988295
4044279$301.0238.28%0.987462
4064180$323.2927.81%0.979963
418485.4$495.0451.54%0.987502
4633126.4$459.3438.19%0.985322
4634196.2$399.4051.54%0.987502
Source: Own elaboration.

Share and Cite

MDPI and ACS Style

Piasecki, K.; Stasiak, M.D. Optimization Parameters of Trading System with Constant Modulus of Unit Return. Mathematics 2020, 8, 1384. https://0-doi-org.brum.beds.ac.uk/10.3390/math8081384

AMA Style

Piasecki K, Stasiak MD. Optimization Parameters of Trading System with Constant Modulus of Unit Return. Mathematics. 2020; 8(8):1384. https://0-doi-org.brum.beds.ac.uk/10.3390/math8081384

Chicago/Turabian Style

Piasecki, Krzysztof, and Michał Dominik Stasiak. 2020. "Optimization Parameters of Trading System with Constant Modulus of Unit Return" Mathematics 8, no. 8: 1384. https://0-doi-org.brum.beds.ac.uk/10.3390/math8081384

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop