<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Risk management on FX Backtest Diary</title><link>https://etherpoc.com/en/categories/risk/</link><description>Recent content in Risk management on FX Backtest Diary</description><generator>Hugo</generator><language>en</language><lastBuildDate>Mon, 01 Jun 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://etherpoc.com/en/categories/risk/index.xml" rel="self" type="application/rss+xml"/><item><title>FX Swap Shock: Is Your EA Losing Money While You Sleep?</title><link>https://etherpoc.com/en/posts/research-107/</link><pubDate>Mon, 01 Jun 2026 00:00:00 +0000</pubDate><guid>https://etherpoc.com/en/posts/research-107/</guid><description>&lt;blockquote&gt;
&lt;p&gt;A beginner-friendly summary of the verification: &amp;ldquo;FX Swap Shock: Is Your EA Losing Money While You Sleep?&amp;rdquo;.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2 id="whats-the-idea"&gt;What&amp;rsquo;s the idea?&lt;/h2&gt;
&lt;p&gt;When we talk about taking an Expert Advisor (EA) from backtesting to live trading, it&amp;rsquo;s easy to focus just on the raw profit/loss numbers. But there are crucial &amp;ldquo;hidden&amp;rdquo; costs and benefits that can make or break a strategy in the real world. Today, we&amp;rsquo;re diving into one of those big ones: &lt;strong&gt;swap costs&lt;/strong&gt;.
What are swaps? In FX trading, a swap is basically the interest you either pay or receive for holding a position overnight. It&amp;rsquo;s determined by the interest rate differential between the two currencies in a pair. If you&amp;rsquo;re holding a currency with a higher interest rate against one with a lower rate, you might earn swap (a &amp;ldquo;positive carry&amp;rdquo;). If it&amp;rsquo;s the other way around, you&amp;rsquo;ll pay swap (a &amp;ldquo;negative carry&amp;rdquo;).
For our particular EA, we found that trades are held for an average of 6.8 days. That&amp;rsquo;s long enough for swap costs and benefits to really add up and impact overall profitability. So, understanding them isn&amp;rsquo;t just an academic exercise – it&amp;rsquo;s vital for knowing what to expect when we go live.&lt;/p&gt;</description></item><item><title>Real-World FX: Can Our EA Survive the Hidden Costs of Trading?</title><link>https://etherpoc.com/en/posts/research-106/</link><pubDate>Sun, 31 May 2026 00:00:00 +0000</pubDate><guid>https://etherpoc.com/en/posts/research-106/</guid><description>&lt;blockquote&gt;
&lt;p&gt;A beginner-friendly summary of the verification: &amp;ldquo;Real-World FX: Can Our EA Survive the Hidden Costs of Trading?&amp;rdquo;.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;This time, we&amp;rsquo;re diving into a crucial topic for any automated trading strategy: how well it stands up to the real-world costs of trading. Our focus today is on &lt;strong&gt;Core v1.4.0&lt;/strong&gt;, a low-frequency Expert Advisor (EA) that holds trades for an average of 6.8 days. Over 11 years, it&amp;rsquo;s executed 6168 trades, which gives us a solid dataset to stress test its resilience.&lt;/p&gt;</description></item><item><title>The AI Sizing Challenge: Why Contextual Bandit Couldn't Optimize Leverage</title><link>https://etherpoc.com/en/posts/research-105/</link><pubDate>Sat, 30 May 2026 00:00:00 +0000</pubDate><guid>https://etherpoc.com/en/posts/research-105/</guid><description>&lt;blockquote&gt;
&lt;p&gt;A beginner-friendly summary of the verification: &amp;ldquo;The AI Sizing Challenge: Why Contextual Bandit Couldn&amp;rsquo;t Optimize Leverage&amp;rdquo;.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2 id="whats-the-idea"&gt;What&amp;rsquo;s the idea?&lt;/h2&gt;
&lt;p&gt;We&amp;rsquo;ve explored various ways to make our algorithmic FX trading systems (EAs) smarter, especially when it comes to deciding how much to trade – what we call &amp;ldquo;position sizing.&amp;rdquo; This is like a chef adjusting the amount of spice based on the ingredients and the diners&amp;rsquo; preferences. Get it right, and you could boost returns while managing risk. Get it wrong, and&amp;hellip; well, let&amp;rsquo;s just say it&amp;rsquo;s not good!
Previously, we tried using Machine Learning (ML) for this (Research 100), aiming to dynamically adjust leverage (how much borrowed money we use for trades) based on market conditions. But that experiment didn&amp;rsquo;t pan out; the ML system performed no better than a &amp;ldquo;placebo&amp;rdquo; (a shuffled version of its own output). It seemed the underlying market structure it was trying to learn was either too complex or already captured by our existing, simpler methods.
This time, we&amp;rsquo;re trying a different flavor of AI: a &lt;strong&gt;contextual bandit&lt;/strong&gt;. Think of it as a simpler, more focused type of reinforcement learning (RL). Instead of learning a complex sequence of actions, a contextual bandit learns the &lt;em&gt;best single action&lt;/em&gt; to take in a given &amp;ldquo;context&amp;rdquo; or market state. Our goal was to see if this approach could learn to pick optimal leverage levels (0.5x, 1.0x, or 1.5x) based on different market scenarios, outperforming our existing, hand-coded sizing logic.&lt;/p&gt;</description></item><item><title>Crisis Alpha: Why Our Safe Haven EA Strategy Didn't Deliver</title><link>https://etherpoc.com/en/posts/research-104/</link><pubDate>Fri, 29 May 2026 00:00:00 +0000</pubDate><guid>https://etherpoc.com/en/posts/research-104/</guid><description>&lt;blockquote&gt;
&lt;p&gt;A beginner-friendly summary of the verification: &amp;ldquo;Crisis Alpha: Why Our Safe Haven EA Strategy Didn&amp;rsquo;t Deliver&amp;rdquo;.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2 id="whats-the-idea"&gt;What&amp;rsquo;s the idea?&lt;/h2&gt;
&lt;p&gt;Sometimes, even the most robust Expert Advisors (EAs) have downtime. Our v1.4.0 system, for instance, is designed to reduce its core positions when the stock market signals &amp;ldquo;risk-off&amp;rdquo; – that&amp;rsquo;s when investors are nervous, stocks are falling, and they&amp;rsquo;re looking for safer places to put their money. This makes sense for capital preservation, but it also leaves a bit of an &amp;ldquo;empty slot&amp;rdquo; in our trading activity.
So, we wondered: could we fill that slot? The hypothesis was to introduce a &amp;ldquo;crisis alpha&amp;rdquo; strategy. This meant actively trading traditional safe-haven assets (like buying Japanese Yen or Gold) specifically during these risk-off periods. The goal? To generate profit when our main system is taking a cautious stance, essentially acting as a complementary hedge. Think of it like a smart backup generator that kicks in exactly when the main power grid gets shaky!&lt;/p&gt;</description></item><item><title>Our EA Just Broke the Monthly Profit Ceiling! Find Out How.</title><link>https://etherpoc.com/en/posts/research-059/</link><pubDate>Tue, 21 Apr 2026 00:00:00 +0000</pubDate><guid>https://etherpoc.com/en/posts/research-059/</guid><description>&lt;blockquote&gt;
&lt;p&gt;A beginner-friendly summary of the verification: &amp;ldquo;Our EA Just Broke the Monthly Profit Ceiling! Find Out How.&amp;rdquo;.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;This time around, we explored a fascinating way to potentially boost our algorithmic trading systems (EAs) beyond what we thought was possible: by combining an existing, reliable strategy with a completely new one. The goal was simple but ambitious: break through a perceived ceiling on our monthly profits.&lt;/p&gt;</description></item><item><title>Was It Just Hindsight? Our Forward Validation Delivers a Decisive Conclusion</title><link>https://etherpoc.com/en/posts/research-022/</link><pubDate>Mon, 30 Mar 2026 00:00:00 +0000</pubDate><guid>https://etherpoc.com/en/posts/research-022/</guid><description>&lt;blockquote&gt;
&lt;p&gt;A beginner-friendly summary of the verification: &amp;ldquo;Was It Just Hindsight? Our Forward Validation Delivers a Decisive Conclusion&amp;rdquo;.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2 id="whats-the-idea"&gt;What&amp;rsquo;s the idea?&lt;/h2&gt;
&lt;p&gt;Today, we&amp;rsquo;re diving into a crucial experiment to see if we can find a &lt;em&gt;truly&lt;/em&gt; sustainable edge in algorithmic FX trading. The big question is: can we pick a winning portfolio of currency pairs for the coming year &lt;em&gt;solely&lt;/em&gt; based on their past performance, without any &amp;ldquo;peeking&amp;rdquo; into the future?
To answer this, I designed what&amp;rsquo;s called a &lt;strong&gt;complete Out-of-Sample (OOS)&lt;/strong&gt; testing approach. Think of it like this: imagine you&amp;rsquo;re picking a fantasy sports team for the upcoming season. You&amp;rsquo;re only allowed to look at player stats from &lt;em&gt;previous&lt;/em&gt; seasons. You pick your best team, and then you see how they perform in the &lt;em&gt;new, unseen&lt;/em&gt; season. That&amp;rsquo;s exactly what we did, but with currency pairs and trading strategies.&lt;/p&gt;</description></item><item><title>Weak Alone, Strong Together? Unlocking Stability with Combined Micro-Edges</title><link>https://etherpoc.com/en/posts/research-020/</link><pubDate>Sat, 28 Mar 2026 00:00:00 +0000</pubDate><guid>https://etherpoc.com/en/posts/research-020/</guid><description>&lt;blockquote&gt;
&lt;p&gt;A beginner-friendly summary of the verification: &amp;ldquo;Weak Alone, Strong Together? Unlocking Stability with Combined Micro-Edges&amp;rdquo;.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2 id="whats-the-idea"&gt;What&amp;rsquo;s the Idea?&lt;/h2&gt;
&lt;p&gt;Ever wonder if you need a single, super-powerful trading strategy to succeed, or if combining smaller, less flashy ones could be the secret? That&amp;rsquo;s exactly what I&amp;rsquo;ve been exploring! My latest research dives into the concept of building a robust trading system by stacking up multiple &amp;ldquo;weak&amp;rdquo; but &lt;em&gt;uncorrelated&lt;/em&gt; trading edges. The goal isn&amp;rsquo;t to hit a home run, but to create a highly stable, low-risk portfolio that consistently generates profits, making it ideal for things like prop firm challenges where capital preservation is key.&lt;/p&gt;</description></item><item><title>Prop Firm Challenge: Unmasking Our EA's True Expected Value</title><link>https://etherpoc.com/en/posts/research-011/</link><pubDate>Thu, 19 Mar 2026 00:00:00 +0000</pubDate><guid>https://etherpoc.com/en/posts/research-011/</guid><description>&lt;blockquote&gt;
&lt;p&gt;A beginner-friendly summary of the verification: &amp;ldquo;Prop Firm Challenge: Unmasking Our EA&amp;rsquo;s True Expected Value&amp;rdquo;.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2 id="whats-the-idea"&gt;What&amp;rsquo;s the idea?&lt;/h2&gt;
&lt;p&gt;We&amp;rsquo;ve been looking into the Fintokei Quartz challenge, a popular prop firm offering where traders aim to prove their strategy on a simulated account to eventually manage real capital. The specific challenge we focused on was for a ¥1,000,000 account, with a ¥12,500 participation fee and a 1% risk set for each trade. Our goal was to calculate the &amp;ldquo;overall Expected Value&amp;rdquo; (EV) of taking on this challenge with a specific EA (Expert Advisor, or automated trading strategy). In simple terms, EV tells us, on average, how much profit or loss we expect to make each time we attempt the challenge, factoring in the costs and potential payouts.&lt;/p&gt;</description></item></channel></rss>