<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.plusev.in/index.php?action=history&amp;feed=atom&amp;title=Component%3ATrade_Execution</id>
	<title>Component:Trade Execution - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.plusev.in/index.php?action=history&amp;feed=atom&amp;title=Component%3ATrade_Execution"/>
	<link rel="alternate" type="text/html" href="https://wiki.plusev.in/index.php?title=Component:Trade_Execution&amp;action=history"/>
	<updated>2026-04-15T17:04:52Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.5</generator>
	<entry>
		<id>https://wiki.plusev.in/index.php?title=Component:Trade_Execution&amp;diff=289&amp;oldid=prev</id>
		<title>152.57.133.55 at 11:17, 8 January 2026</title>
		<link rel="alternate" type="text/html" href="https://wiki.plusev.in/index.php?title=Component:Trade_Execution&amp;diff=289&amp;oldid=prev"/>
		<updated>2026-01-08T11:17:18Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 11:17, 8 January 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l14&quot;&gt;Line 14:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 14:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Trading Market Principle ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Trading Market Principle ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&#039;&#039;&#039;&quot;Let winners run, cut losers short. Protect profits once &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;you &lt;/del&gt;have them.&quot;&#039;&#039;&#039;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&#039;&#039;&#039;&quot;Let winners run, cut losers short. Protect profits once &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;we &lt;/ins&gt;have them.&quot;&#039;&#039;&#039;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Breakeven stop = protect capital once trade is working → move stop to entry at 25pt profit&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Breakeven stop = protect capital once trade is working → move stop to entry at 25pt profit&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>152.57.133.55</name></author>
	</entry>
	<entry>
		<id>https://wiki.plusev.in/index.php?title=Component:Trade_Execution&amp;diff=261&amp;oldid=prev</id>
		<title>Plusev.blr at 20:37, 7 January 2026</title>
		<link rel="alternate" type="text/html" href="https://wiki.plusev.in/index.php?title=Component:Trade_Execution&amp;diff=261&amp;oldid=prev"/>
		<updated>2026-01-07T20:37:58Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 20:37, 7 January 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l2&quot;&gt;Line 2:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 2:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Purpose ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Purpose ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&#039;&#039;&#039;&quot;How do we execute &amp;amp; manage trade to protect capital?&quot;&#039;&#039;&#039;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&#039;&#039;&#039;&quot;How do we execute &amp;amp; manage trade to protect capital &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;amp; maximize profit&lt;/ins&gt;?&quot;&#039;&#039;&#039;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This component is the executor. It takes signals from Layer 4 and:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This component is the executor. It takes signals from Layer 4 and:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Plusev.blr</name></author>
	</entry>
	<entry>
		<id>https://wiki.plusev.in/index.php?title=Component:Trade_Execution&amp;diff=260&amp;oldid=prev</id>
		<title>Plusev.blr at 20:37, 7 January 2026</title>
		<link rel="alternate" type="text/html" href="https://wiki.plusev.in/index.php?title=Component:Trade_Execution&amp;diff=260&amp;oldid=prev"/>
		<updated>2026-01-07T20:37:16Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 20:37, 7 January 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l2&quot;&gt;Line 2:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 2:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Purpose ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Purpose ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&#039;&#039;&#039;&quot;How do we execute &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;and &lt;/del&gt;manage &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;the &lt;/del&gt;trade to &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;maximize profit&lt;/del&gt;?&quot;&#039;&#039;&#039;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&#039;&#039;&#039;&quot;How do we execute &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;amp; &lt;/ins&gt;manage trade to &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;protect capital&lt;/ins&gt;?&quot;&#039;&#039;&#039;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This component is the executor. It takes signals from Layer 4 and:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This component is the executor. It takes signals from Layer 4 and:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Plusev.blr</name></author>
	</entry>
	<entry>
		<id>https://wiki.plusev.in/index.php?title=Component:Trade_Execution&amp;diff=259&amp;oldid=prev</id>
		<title>Plusev.blr at 20:36, 7 January 2026</title>
		<link rel="alternate" type="text/html" href="https://wiki.plusev.in/index.php?title=Component:Trade_Execution&amp;diff=259&amp;oldid=prev"/>
		<updated>2026-01-07T20:36:42Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 20:36, 7 January 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l2&quot;&gt;Line 2:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 2:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Purpose ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Purpose ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Answers the question: &lt;/del&gt;&#039;&#039;&#039;&quot;How do we execute and manage the trade to maximize profit?&quot;&#039;&#039;&#039;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&#039;&#039;&#039;&quot;How do we execute and manage the trade to maximize profit?&quot;&#039;&#039;&#039;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This component is the executor. It takes signals from Layer 4 and:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This component is the executor. It takes signals from Layer 4 and:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Plusev.blr</name></author>
	</entry>
	<entry>
		<id>https://wiki.plusev.in/index.php?title=Component:Trade_Execution&amp;diff=258&amp;oldid=prev</id>
		<title>Plusev.blr at 20:36, 7 January 2026</title>
		<link rel="alternate" type="text/html" href="https://wiki.plusev.in/index.php?title=Component:Trade_Execution&amp;diff=258&amp;oldid=prev"/>
		<updated>2026-01-07T20:36:29Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 20:36, 7 January 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;= &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Component: &lt;/del&gt;Trade Execution Engine =&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;= Trade Execution Engine =&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&#039;File:&#039;&#039;&#039; &amp;lt;code&amp;gt;trade_execution_engine.py&amp;lt;/code&amp;gt;&amp;lt;br/&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&#039;Layer:&#039;&#039;&#039; 5 (Final)&amp;lt;br/&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&#039;Lines:&#039;&#039;&#039; 822&amp;lt;br/&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&#039;Code:&#039;&#039;&#039; [https://github.com/stoic97/plus_ev_code_base/blob/rikk_mtf_backtest001/services/backtest/src/components/trade_execution_engine.py View Source]&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;----&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Purpose ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Purpose ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Plusev.blr</name></author>
	</entry>
	<entry>
		<id>https://wiki.plusev.in/index.php?title=Component:Trade_Execution&amp;diff=257&amp;oldid=prev</id>
		<title>Plusev.blr: Created page with &quot;= Component: Trade Execution Engine =  &#039;&#039;&#039;File:&#039;&#039;&#039; &lt;code&gt;trade_execution_engine.py&lt;/code&gt;&lt;br/&gt; &#039;&#039;&#039;Layer:&#039;&#039;&#039; 5 (Final)&lt;br/&gt; &#039;&#039;&#039;Lines:&#039;&#039;&#039; 822&lt;br/&gt; &#039;&#039;&#039;Code:&#039;&#039;&#039; [https://github.com/stoic97/plus_ev_code_base/blob/rikk_mtf_backtest001/services/backtest/src/components/trade_execution_engine.py View Source]  ----  == Purpose ==  Answers the question: &#039;&#039;&#039;&quot;How do we execute and manage the trade to maximize profit?&quot;&#039;&#039;&#039;  This component is the executor. It takes signals from Layer 4...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.plusev.in/index.php?title=Component:Trade_Execution&amp;diff=257&amp;oldid=prev"/>
		<updated>2026-01-07T20:36:15Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;= Component: Trade Execution Engine =  &amp;#039;&amp;#039;&amp;#039;File:&amp;#039;&amp;#039;&amp;#039; &amp;lt;code&amp;gt;trade_execution_engine.py&amp;lt;/code&amp;gt;&amp;lt;br/&amp;gt; &amp;#039;&amp;#039;&amp;#039;Layer:&amp;#039;&amp;#039;&amp;#039; 5 (Final)&amp;lt;br/&amp;gt; &amp;#039;&amp;#039;&amp;#039;Lines:&amp;#039;&amp;#039;&amp;#039; 822&amp;lt;br/&amp;gt; &amp;#039;&amp;#039;&amp;#039;Code:&amp;#039;&amp;#039;&amp;#039; [https://github.com/stoic97/plus_ev_code_base/blob/rikk_mtf_backtest001/services/backtest/src/components/trade_execution_engine.py View Source]  ----  == Purpose ==  Answers the question: &amp;#039;&amp;#039;&amp;#039;&amp;quot;How do we execute and manage the trade to maximize profit?&amp;quot;&amp;#039;&amp;#039;&amp;#039;  This component is the executor. It takes signals from Layer 4...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Component: Trade Execution Engine =&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;File:&amp;#039;&amp;#039;&amp;#039; &amp;lt;code&amp;gt;trade_execution_engine.py&amp;lt;/code&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Layer:&amp;#039;&amp;#039;&amp;#039; 5 (Final)&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Lines:&amp;#039;&amp;#039;&amp;#039; 822&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Code:&amp;#039;&amp;#039;&amp;#039; [https://github.com/stoic97/plus_ev_code_base/blob/rikk_mtf_backtest001/services/backtest/src/components/trade_execution_engine.py View Source]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Purpose ==&lt;br /&gt;
&lt;br /&gt;
Answers the question: &amp;#039;&amp;#039;&amp;#039;&amp;quot;How do we execute and manage the trade to maximize profit?&amp;quot;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
This component is the executor. It takes signals from Layer 4 and:&lt;br /&gt;
# Converts signals to trades with realistic slippage&lt;br /&gt;
# Monitors open positions (stop, target, time)&lt;br /&gt;
# Manages stops dynamically (breakeven, trailing)&lt;br /&gt;
# Calculates complete P&amp;amp;L with all costs&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Trading Market Principle ==&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;quot;Let winners run, cut losers short. Protect profits once you have them.&amp;quot;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
* Breakeven stop = protect capital once trade is working → move stop to entry at 25pt profit&lt;br /&gt;
* Trailing stop = let winners run → trail stop behind price using ATR&lt;br /&gt;
* Time exit = don&amp;#039;t hold losing trades forever → 8 hour maximum&lt;br /&gt;
* Slippage modeling = realistic execution → winners don&amp;#039;t fill perfectly either&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Trade Lifecycle ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
        ┌───────────────────────────────────────┐&lt;br /&gt;
        │  Signal from Layer 4                  │&lt;br /&gt;
        │  (Direction, Entry, Stop, Target)     │&lt;br /&gt;
        └───────────────────────────────────────┘&lt;br /&gt;
                         │&lt;br /&gt;
                         ▼&lt;br /&gt;
        ┌───────────────────────────────────────┐&lt;br /&gt;
        │  ENTRY EXECUTION                      │&lt;br /&gt;
        │  • Add entry slippage (1-2 pts)       │&lt;br /&gt;
        │  • Calculate costs (commission + CTT) │&lt;br /&gt;
        │  • Create Trade object                │&lt;br /&gt;
        └───────────────────────────────────────┘&lt;br /&gt;
                         │&lt;br /&gt;
                         ▼&lt;br /&gt;
        ┌───────────────────────────────────────┐&lt;br /&gt;
        │  POSITION MANAGEMENT (per bar)        │&lt;br /&gt;
        │                                       │&lt;br /&gt;
        │  1. Update MFE/MAE tracking           │&lt;br /&gt;
        │  2. Check breakeven activation (25pt) │&lt;br /&gt;
        │  3. Update trailing stop (ATR-based)  │&lt;br /&gt;
        │  4. Check stop hit                    │&lt;br /&gt;
        │  5. Check target hit                  │&lt;br /&gt;
        │  6. Check time exit (8 hours)         │&lt;br /&gt;
        └───────────────────────────────────────┘&lt;br /&gt;
                         │&lt;br /&gt;
                         ▼&lt;br /&gt;
        ┌───────────────────────────────────────┐&lt;br /&gt;
        │  EXIT EXECUTION                       │&lt;br /&gt;
        │  • Add exit slippage (stop=2pt, TP=0.5pt)│&lt;br /&gt;
        │  • Calculate final P&amp;amp;L                │&lt;br /&gt;
        │  • Record exit reason                 │&lt;br /&gt;
        └───────────────────────────────────────┘&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Two-Phase Stop Management ==&lt;br /&gt;
&lt;br /&gt;
=== Phase 1: Breakeven Stop ===&lt;br /&gt;
&lt;br /&gt;
Once trade is profitable by 25 points, move stop to entry price + buffer:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
IF current_profit &amp;gt;= 25 points:&lt;br /&gt;
&lt;br /&gt;
    LONG:  stop = entry_price + 2 (buffer)&lt;br /&gt;
    SHORT: stop = entry_price - 2 (buffer)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Purpose:&amp;#039;&amp;#039;&amp;#039; Lock in a no-loss trade (or small profit with buffer).&lt;br /&gt;
&lt;br /&gt;
=== Phase 2: Trailing Stop ===&lt;br /&gt;
&lt;br /&gt;
After profit exceeds activation threshold, trail stop behind price:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Trailing Distance = ATR × 2.0 (minimum 15 points)&lt;br /&gt;
&lt;br /&gt;
LONG:&lt;br /&gt;
    IF profit &amp;gt;= 20 points:&lt;br /&gt;
        new_stop = current_high - trailing_distance&lt;br /&gt;
        IF new_stop &amp;gt; current_stop:&lt;br /&gt;
            current_stop = new_stop  // Only moves UP&lt;br /&gt;
&lt;br /&gt;
SHORT:&lt;br /&gt;
    IF profit &amp;gt;= 20 points:&lt;br /&gt;
        new_stop = current_low + trailing_distance&lt;br /&gt;
        IF new_stop &amp;lt; current_stop:&lt;br /&gt;
            current_stop = new_stop  // Only moves DOWN&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Purpose:&amp;#039;&amp;#039;&amp;#039; Let winners run while protecting accumulated profit.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== ATR Calculation ==&lt;br /&gt;
&lt;br /&gt;
ATR (Average True Range) measures volatility for adaptive trailing:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
True Range = max(&lt;br /&gt;
    high - low,&lt;br /&gt;
    |high - previous_close|,&lt;br /&gt;
    |low - previous_close|&lt;br /&gt;
)&lt;br /&gt;
&lt;br /&gt;
ATR = average(True Range over 14 bars)&lt;br /&gt;
&lt;br /&gt;
Trailing Distance = ATR × 2.0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Effect:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* High volatility → wider trailing stop (more room to breathe)&lt;br /&gt;
* Low volatility → tighter trailing stop (protect more profit)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Slippage Model ==&lt;br /&gt;
&lt;br /&gt;
Realistic slippage based on market conditions:&lt;br /&gt;
&lt;br /&gt;
=== Entry Slippage ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
entry_slippage = base (1.0 pt)&lt;br /&gt;
               + position_impact (0.1 × lots, capped at 2.0)&lt;br /&gt;
               + volatility (0.5 pt)&lt;br /&gt;
&lt;br /&gt;
Minimum: 0.5 points&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Exit Slippage ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Exit Type !! Slippage !! Reason&lt;br /&gt;
|-&lt;br /&gt;
| Stop Loss || 2.0 points || Panic selling, worse fills&lt;br /&gt;
|-&lt;br /&gt;
| Take Profit || 0.5 points || Limit order, better fills&lt;br /&gt;
|-&lt;br /&gt;
| Time Exit || 0.0 points || Market order at close&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== MFE/MAE Tracking ==&lt;br /&gt;
&lt;br /&gt;
Tracks Maximum Favorable and Adverse Excursion for each trade:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Metric !! What It Measures !! Usage&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;MFE&amp;#039;&amp;#039;&amp;#039; || Best profit point reached during trade || Entry timing quality&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;MAE&amp;#039;&amp;#039;&amp;#039; || Worst loss point during trade || Stop placement optimization&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
LONG:&lt;br /&gt;
    MFE = max profit seen = (highest_high - entry) × 100 × lots&lt;br /&gt;
    MAE = max loss seen = (lowest_low - entry) × 100 × lots&lt;br /&gt;
&lt;br /&gt;
SHORT:&lt;br /&gt;
    MFE = max profit seen = (entry - lowest_low) × 100 × lots&lt;br /&gt;
    MAE = max loss seen = (entry - highest_high) × 100 × lots&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Exit Conditions ==&lt;br /&gt;
&lt;br /&gt;
Trades exit when any condition is met (checked in order):&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Priority !! Condition !! Exit Price !! Reason Code&lt;br /&gt;
|-&lt;br /&gt;
| 1 || Stop hit || stop_price - slippage (LONG) || &amp;quot;stop&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| 2 || Target hit || target_price - slippage (LONG) || &amp;quot;target&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| 3 || Time limit (8 hours) || current_close || &amp;quot;timeout&amp;quot;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Parameter !! Value !! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;base_slippage_points&amp;lt;/code&amp;gt; || 1.0 || Base entry slippage&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;market_impact_factor&amp;lt;/code&amp;gt; || 0.1 || Slippage per lot&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;max_market_impact_slippage&amp;lt;/code&amp;gt; || 2.0 || Cap on position slippage&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;stop_loss_slippage&amp;lt;/code&amp;gt; || 2.0 || Additional slippage on stops&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;take_profit_slippage&amp;lt;/code&amp;gt; || 0.5 || Reduced slippage on targets&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;max_holding_period_minutes&amp;lt;/code&amp;gt; || 480 || 8 hours max holding&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;enable_trailing_stop&amp;lt;/code&amp;gt; || True || Enable trailing stop&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;trailing_stop_method&amp;lt;/code&amp;gt; || &amp;quot;ATR_MULTIPLE&amp;quot; || ATR-based or fixed&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;atr_period&amp;lt;/code&amp;gt; || 14 || ATR lookback period&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;atr_multiplier&amp;lt;/code&amp;gt; || 2.0 || Trailing = ATR × 2&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;enable_breakeven_stop&amp;lt;/code&amp;gt; || True || Enable breakeven&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;breakeven_activation&amp;lt;/code&amp;gt; || 25.0 || Points profit to activate&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;breakeven_buffer&amp;lt;/code&amp;gt; || 2.0 || Buffer above/below entry&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;max_concurrent_trades&amp;lt;/code&amp;gt; || 3 || Maximum open positions&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Output ==&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Trade Object (after exit):&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Field !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;entry_price&amp;lt;/code&amp;gt; || float || Actual entry (with slippage)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;exit_price&amp;lt;/code&amp;gt; || float || Actual exit (with slippage)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;exit_reason&amp;lt;/code&amp;gt; || str || &amp;quot;stop&amp;quot;, &amp;quot;target&amp;quot;, &amp;quot;timeout&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;gross_pnl_inr&amp;lt;/code&amp;gt; || float || P&amp;amp;L before costs&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;net_pnl_inr&amp;lt;/code&amp;gt; || float || P&amp;amp;L after commission + CTT&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;brokerage_cost&amp;lt;/code&amp;gt; || float || Commission paid&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;tax_cost&amp;lt;/code&amp;gt; || float || CTT paid&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;max_favorable_excursion_inr&amp;lt;/code&amp;gt; || float || Best P&amp;amp;L during trade&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;max_adverse_excursion_inr&amp;lt;/code&amp;gt; || float || Worst P&amp;amp;L during trade&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;current_stop_price&amp;lt;/code&amp;gt; || float || Final stop (after trailing)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Dependencies ==&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Upstream:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* [[Component:Signal_Generation|signal_generation_trade_management.py]] - Provides signals to execute&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Uses:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* SignalGenerationTradeManagement.execute_signal() - For entry&lt;br /&gt;
* SignalGenerationTradeManagement.close_trade() - For exit&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Quick Reference ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Event !! Action&lt;br /&gt;
|-&lt;br /&gt;
| New signal received || Execute with slippage, create trade&lt;br /&gt;
|-&lt;br /&gt;
| Profit reaches 25pt || Move stop to breakeven (entry + 2pt)&lt;br /&gt;
|-&lt;br /&gt;
| Profit reaches 20pt || Start trailing stop (ATR × 2)&lt;br /&gt;
|-&lt;br /&gt;
| Price hits stop || Exit with 2pt slippage, reason=&amp;quot;stop&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| Price hits target || Exit with 0.5pt slippage, reason=&amp;quot;target&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| 8 hours elapsed || Exit at market, reason=&amp;quot;timeout&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| Higher high (LONG) || Trail stop up if trailing active&lt;br /&gt;
|-&lt;br /&gt;
| Lower low (SHORT) || Trail stop down if trailing active&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
[[Category:Components]]&lt;br /&gt;
[[Category:Layer 5]]&lt;/div&gt;</summary>
		<author><name>Plusev.blr</name></author>
	</entry>
</feed>