algorembrant commited on
Commit
2043bc4
·
verified ·
1 Parent(s): 1555975

Upload 2 files

Browse files
stresstest maker model/optimal risk reward ratio/main.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c3fb2ffbf45256a2fff68d456aa779ef1dd54003cc1846f9a64cf63c5432d5a3
3
+ size 106331
stresstest maker model/optimal risk reward ratio/main.tex ADDED
@@ -0,0 +1,106 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ \documentclass[conference]{IEEEtran}
2
+ \usepackage{amsmath, amssymb, amsthm, bm}
3
+ \usepackage{graphicx}
4
+ \usepackage{cite}
5
+ \usepackage{url}
6
+
7
+ \newtheorem{definition}{Definition}
8
+ \newtheorem{proposition}{Proposition}
9
+ \newtheorem{corollary}{Corollary}
10
+
11
+ \begin{document}
12
+
13
+ \title{Optimal Take-Profit Ratio Under Spread, Slippage, and Commission}
14
+
15
+ \author{\IEEEauthorblockN{algorembrant}
16
+ \IEEEauthorblockA{July 18, 2026}
17
+ \thanks{}}
18
+
19
+ \maketitle
20
+
21
+ \begin{abstract}
22
+ This paper derives closed-form expressions for the optimal take-profit ratio in a single-asset long position, explicitly incorporating bid-ask spread, execution slippage, and proportional commissions. We formulate the realized profit and loss as functions of market parameters, derive the break-even take-profit level, and obtain the optimal risk-reward ratio that maximizes expected return for a given risk appetite. The analysis extends to recovery from consecutive losses, yielding a dynamic adjustment rule for the take-profit target.
23
+ \end{abstract}
24
+
25
+ \section{Introduction}
26
+ Let $\mathcal{A}$ be a financial asset with tick size $\delta>0$ and bid-ask spread $s=\kappa\delta$, $\kappa\in\mathbb{Z}_{>0}$. Prices are quoted with precision $d$ (digits). We consider a buy order executed at the ask price $P_a$, with a stop-loss (SL) and take-profit (TP) order placed at distances $\lambda>0$ and $\mu>0$ from the effective entry price, respectively.
27
+
28
+ Market frictions: (i) spread $s$ (bid-ask), (ii) slippage $\varepsilon$ at entry and exit (random, bounded), and (iii) proportional commission fees $c_e, c_x \in (0,1)$ for entry and exit.
29
+
30
+ We derive the optimal TP distance $\mu^*$ and the corresponding risk-reward ratio $\psi^* = \mu^*/\lambda$ that maximises net profit for a given loss tolerance or recovery requirement.
31
+
32
+ \section{Model Formulation}
33
+ Let $P_b$ be the current bid price. Then $P_a = P_b + s$. Let $\varepsilon_e, \varepsilon_s, \varepsilon_t$ be the slippage at entry, stop-loss exit, and take-profit exit, respectively, with $|\varepsilon| \le \eta$ for some $\eta>0$. The effective entry price:
34
+ \begin{equation}
35
+ P_e = P_a + \varepsilon_e.
36
+ \end{equation}
37
+ Nominal SL and TP prices:
38
+ \begin{align}
39
+ P_{sl} &= P_e - \lambda, \quad P_{tp} = P_e + \mu.
40
+ \end{align}
41
+ Actual execution prices (including slippage and spread requirement):
42
+ \begin{align}
43
+ P_{sl}^{real} &= P_e - \lambda + \varepsilon_s + s, \\
44
+ P_{tp}^{real} &= P_e + \mu + \varepsilon_t + s.
45
+ \end{align}
46
+ Let $B_0$ be the initial balance, $\gamma\in(0,1)$ the fractional risk per trade. The stake $S = \gamma B_0$. Entry fee $F_e = c_e S$, position size $Q = S(1-c_e)$. Exit fee $F_x = c_x Q R$, where $R$ is the gross return multiple.
47
+
48
+ \section{Profit and Loss}
49
+ The gross profit/loss:
50
+ \begin{align}
51
+ \Pi_g &= Q \frac{P_{tp}^{real} - P_e}{P_e}
52
+ = Q \frac{\mu + \varepsilon_t + s}{P_e}, \\
53
+ \Pi_l &= -Q \frac{P_e - P_{sl}^{real}}{P_e}
54
+ = -Q \frac{\lambda - \varepsilon_s - s}{P_e}.
55
+ \end{align}
56
+ Define effective loss multiple:
57
+ \begin{equation}
58
+ \rho = \frac{\lambda - \varepsilon_s - s}{P_e}.
59
+ \end{equation}
60
+ Then $\Pi_l = -Q \rho$. Net profit and loss:
61
+ \begin{align}
62
+ \Pi_g^{net} &= \Pi_g - F_e - F_x \\
63
+ &= S(1-c_e)(1-c_x) \frac{\mu + \varepsilon_t + s}{P_e} - c_e S, \\
64
+ \Pi_l^{net} &= -S(1-c_e)(1+c_x)\rho - c_e S.
65
+ \end{align}
66
+
67
+ \section{Breakeven Condition}
68
+ Set $\Pi_g^{net} + \Pi_l^{net} = 0$. Solving for $\mu$:
69
+ \begin{align}
70
+ \mu_{BE} &= \frac{(1-c_e)(1+c_x)\rho + c_e}{(1-c_e)(1-c_x)} P_e - \varepsilon_t - s.
71
+ \end{align}
72
+
73
+ \section{Optimal Take-Profit}
74
+ Let $k>0$ be the desired profit multiple relative to the net loss, i.e., $\Pi_g^{net} = k |\Pi_l^{net}|$. Then:
75
+ \begin{align}
76
+ \mu^* &= \frac{k (1-c_e)(1+c_x)\rho + (1+k)c_e}{(1-c_e)(1-c_x)} P_e - \varepsilon_t - s.
77
+ \end{align}
78
+ The optimal risk-reward ratio:
79
+ \begin{equation}
80
+ \psi^* = \frac{\mu^*}{\lambda}.
81
+ \end{equation}
82
+
83
+ \section{Recovery from Loss Streaks}
84
+ Assume $L$ consecutive losses. The remaining balance:
85
+ \begin{equation}
86
+ B_L = B_0 \left[1 - \gamma (1-c_e)(1+c_x)\rho - \gamma c_e \right]^L.
87
+ \end{equation}
88
+ To recover $B_0$ with the next win, require $\Pi_g^{net} = B_0 - B_L$. Hence:
89
+ \begin{equation}
90
+ \mu_{rec} = \frac{(B_0 - B_L)/S + c_e}{(1-c_e)(1-c_x)} P_e - \varepsilon_t - s.
91
+ \end{equation}
92
+ The required risk-reward ratio:
93
+ \begin{equation}
94
+ \psi_{rec} = \frac{\mu_{rec}}{\lambda}.
95
+ \end{equation}
96
+
97
+ \section{Discussion}
98
+ The derived formulas yield deterministic TP targets given stochastic slippage terms. In practice, $\varepsilon_e, \varepsilon_s, \varepsilon_t$ are random; we can take expectations (assuming zero mean) to obtain the expected optimal TP. The breakeven and optimal ratios increase with spread $s$, commission rates, and slippage magnitude, as expected. The recovery ratio scales linearly with the number of losses $L$.
99
+
100
+ \section{Conclusion}
101
+ We have presented a rigorous mathematical framework for computing the optimal take-profit ratio in the presence of spread, slippage, and commission. The results provide a foundation for systematic trade management and can be extended to short positions and multiple assets.
102
+
103
+ \bibliographystyle{IEEEtran}
104
+ \bibliography{references}
105
+
106
+ \end{document}