> For the complete documentation index, see [llms.txt](https://docs.algomojo.com/algomojo/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.algomojo.com/algomojo/strategy-rule/long+short.md).

# LONG+SHORT

(BUY + SELL)

### *Equity*

<table data-header-hidden data-full-width="false"><thead><tr><th></th><th></th><th></th></tr></thead><tbody><tr><td><strong>Signal Action</strong></td><td>BUY</td><td>SELL</td></tr><tr><td><strong>Signal Type</strong></td><td>Short Position Exit or <br>Long Position Entry</td><td>Long Position Exit or <br>Short Position Entry</td></tr><tr><td><strong>Order action</strong></td><td>BUY</td><td>SELL</td></tr><tr><td><strong>Order Type</strong></td><td>Exit or Entry Order</td><td>Exit or Entry Order</td></tr><tr><td><strong>Position check</strong></td><td>Yes(Short)</td><td>Yes(Long)</td></tr><tr><td><strong>Square-off Qty</strong></td><td>If No Open Short Positions, Entry Long Order will be Placed</td><td>If No Open Positions, No Order will be Placed</td></tr></tbody></table>

Example :&#x20;

{% embed url="<https://www.youtube.com/watch?v=8_Wfn7LyiCM>" %}

**Buy :**&#x20;

<figure><img src="https://3325206621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVBwGEcLA1yP8wEVFrXXf%2Fuploads%2FJ4mkrnsQAD0Mw1bML0qk%2Fimage.png?alt=media&amp;token=97ab1631-3a02-4633-a9f3-01f2cbcb3a02" alt=""><figcaption><p>Orders</p></figcaption></figure>

The Orders tab displays the instrument symbol and indicates that one share of long equity position has been bought.

<figure><img src="https://3325206621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVBwGEcLA1yP8wEVFrXXf%2Fuploads%2F2ID3GO63zX6xFkdx8JoG%2Fimage.png?alt=media&amp;token=5984767c-2f22-49eb-9dea-7f0ea1106456" alt=""><figcaption><p>Positions</p></figcaption></figure>

The Positions tab indicates that we hold a long equity position of one share in Tata chemical.

**Sell :**&#x20;

<figure><img src="https://3325206621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVBwGEcLA1yP8wEVFrXXf%2Fuploads%2FjlSwjHeIDHsrTc4WZOQf%2Fimage.png?alt=media&amp;token=26d43de9-0eef-4a55-8759-dfa4338a3e4f" alt=""><figcaption><p>Orders</p></figcaption></figure>

The Orders tab shows a sell order, and this sell order will exit the existing long equity position.

<figure><img src="https://3325206621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVBwGEcLA1yP8wEVFrXXf%2Fuploads%2FeS7xLoROnnWjtGqm6R9O%2Fimage.png?alt=media&amp;token=d0d0e061-ce28-4c19-9a7f-394c12580cc9" alt=""><figcaption><p>Positions</p></figcaption></figure>

Under the Positions tab, you will see that the long tata chemical equity position has been squared off.

**Second Sell :**&#x20;

<figure><img src="https://3325206621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVBwGEcLA1yP8wEVFrXXf%2Fuploads%2FBa8MQ9fhbhkNyFOPSHO7%2Fimage.png?alt=media&amp;token=3d5b665d-001b-4fdb-ae1b-5398e273de11" alt=""><figcaption><p>Orders</p></figcaption></figure>

The Orders tab shows a sell order, and this sell order creates a short position as per Long + Short strategy.

<figure><img src="https://3325206621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVBwGEcLA1yP8wEVFrXXf%2Fuploads%2FgEFvPWE9AJfKDcU1dM49%2Fimage.png?alt=media&amp;token=3ac57956-7d79-4e11-ba8f-1494806d9530" alt=""><figcaption><p>Positions</p></figcaption></figure>

Under the positions tab, a short tata chemical equity position is updated.

**Second Buy :**&#x20;

<figure><img src="https://3325206621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVBwGEcLA1yP8wEVFrXXf%2Fuploads%2FQBa0rGesNqL5u8mDH4cF%2Fimage.png?alt=media&amp;token=d32d0d6a-0e7e-4b83-a60b-96acc9b83ef7" alt=""><figcaption><p>Orders</p></figcaption></figure>

The Orders tab shows a buy order, and this buy order exits the existing short tata chemical equity position.

<figure><img src="https://3325206621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVBwGEcLA1yP8wEVFrXXf%2Fuploads%2FH0gLXnTohTIn0feYr6Zr%2Fimage.png?alt=media&amp;token=f4e2502e-ab72-4037-bc92-8109a65d7729" alt=""><figcaption><p>Orders</p></figcaption></figure>

Under the position tab you will notice that the short tata chemical equity position is squared off.

### *Futures*

<table data-header-hidden data-full-width="false"><thead><tr><th></th><th></th><th></th></tr></thead><tbody><tr><td><strong>Signal Action</strong></td><td>BUY</td><td>SELL</td></tr><tr><td><strong>Signal Type</strong></td><td>Short Position Exit or <br>Long Position Entry</td><td>Long Position Exit or <br>Short Position Entry</td></tr><tr><td><strong>Order action</strong></td><td>BUY</td><td>SELL</td></tr><tr><td><strong>Order Type</strong></td><td>Exit or Entry Order</td><td>Exit or Entry Order</td></tr><tr><td><strong>Position check</strong></td><td>Yes(Short)</td><td>Yes(Long)</td></tr><tr><td><strong>Square-off Qty</strong></td><td>If No Open Short Positions, Entry Long Order will be Placed</td><td>If No Open Positions, No Order will be Placed</td></tr></tbody></table>

Example :&#x20;

{% embed url="<https://youtu.be/wkc6ilS-YOU>" %}

**Buy :**&#x20;

<figure><img src="https://3325206621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVBwGEcLA1yP8wEVFrXXf%2Fuploads%2F0ujq75aG0vUXE5FhmKhF%2Fimage.png?alt=media&amp;token=2e298fff-cfd4-4bd8-b9fc-273249462ef4" alt=""><figcaption><p>Orders</p></figcaption></figure>

The Orders tab displays the instrument symbol and indicates that one lot of long future position has been bought.

<figure><img src="https://3325206621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVBwGEcLA1yP8wEVFrXXf%2Fuploads%2FDqGFn5hRlwl8ioogI47h%2Fimage.png?alt=media&amp;token=d3d561a2-0239-4fa4-95bb-205d07f2da02" alt=""><figcaption><p>Positions</p></figcaption></figure>

The Positions tab indicates that we hold a long Futures position of one lot in ITC.

**Sell :**&#x20;

<figure><img src="https://3325206621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVBwGEcLA1yP8wEVFrXXf%2Fuploads%2FjM0wjtYhejMyC812vSuK%2Fimage.png?alt=media&amp;token=c1f0f11d-1365-41a4-a899-672d3df4b248" alt=""><figcaption><p>Orders</p></figcaption></figure>

The Orders tab shows a sell order, and this sell order will exit the existing long futures position

<figure><img src="https://3325206621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVBwGEcLA1yP8wEVFrXXf%2Fuploads%2F97Qip4WMvL10Erb1wljn%2Fimage.png?alt=media&amp;token=eca15c83-b487-457c-a726-4dd7ae6c6c78" alt=""><figcaption><p>Positions</p></figcaption></figure>

Under the Positions tab, you will see that the long ITC Futures position has been squared off.

**Second Sell :**&#x20;

<figure><img src="https://3325206621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVBwGEcLA1yP8wEVFrXXf%2Fuploads%2FwtWh3xK6wtgHNJRkLgYw%2Fimage.png?alt=media&amp;token=09b4a705-3399-4366-881a-a46149ce9176" alt=""><figcaption><p>Orders</p></figcaption></figure>

Orders tab shows a sell order, and this sell order creates a short position as per Long + Short strategy.

<figure><img src="https://3325206621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVBwGEcLA1yP8wEVFrXXf%2Fuploads%2FTUpUoSqY7DBJFoUvi6Og%2Fimage.png?alt=media&amp;token=e1255608-8846-4eae-a18d-c06e332a378b" alt=""><figcaption><p>Positions</p></figcaption></figure>

Under the positions tab, a short ITC futures position is updated.

**Second Buy :**&#x20;

<figure><img src="https://3325206621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVBwGEcLA1yP8wEVFrXXf%2Fuploads%2Fvn3ammqDIMoo2XFkNK47%2Fimage.png?alt=media&amp;token=79e8a69c-acda-4037-bcd6-c9766e948d4b" alt=""><figcaption><p>Orders</p></figcaption></figure>

The Orders tab shows a buy order, and this buy order exits the existing short ITC futures position.

<figure><img src="https://3325206621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVBwGEcLA1yP8wEVFrXXf%2Fuploads%2FDGoUye47JKU8qnCWLk17%2Fimage.png?alt=media&amp;token=70c17b5e-a406-431c-956f-f03237fbb460" alt=""><figcaption><p>Positions</p></figcaption></figure>

Under the position tab you will notice that the short ITC futures position is squared off.

### *Options*

<table data-header-hidden data-full-width="false"><thead><tr><th></th><th></th><th></th></tr></thead><tbody><tr><td><strong>Signal Action</strong></td><td>BUY</td><td>SELL</td></tr><tr><td><strong>Signal Type</strong></td><td>Short Position Exit or <br>Long Position Entry</td><td>Long Position Exit or <br>Short Position Entry</td></tr><tr><td><strong>Order action</strong></td><td>BUY</td><td>SELL</td></tr><tr><td><strong>Order Type</strong></td><td>Exit or Entry Order</td><td>Exit or Entry Order</td></tr><tr><td><strong>Position check</strong></td><td>Yes(Short)</td><td>Yes(Long)</td></tr><tr><td><strong>Square-off Qty</strong></td><td>If No Open Short Positions, Entry Long Order will be Placed</td><td>If No Open Positions, No Order will be Placed</td></tr></tbody></table>

Example :&#x20;

{% embed url="<https://youtu.be/YFdppL7lduc>" %}

**Buy :**&#x20;

<figure><img src="https://3325206621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVBwGEcLA1yP8wEVFrXXf%2Fuploads%2F9VMMhowpiz8MOiY5Jc0h%2Fimage.png?alt=media&amp;token=8439d032-18b6-4e3c-aa7b-ab22d1750484" alt=""><figcaption><p>Orders</p></figcaption></figure>

The Orders tab displays the instrument symbol and indicates that a call option has been bought. here the instrument symbol depicts that we have placed a BANKNIFTY Order.

<figure><img src="https://3325206621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVBwGEcLA1yP8wEVFrXXf%2Fuploads%2FbW5FIimIZra5Yu4jm8s8%2Fimage.png?alt=media&amp;token=bd21e563-bf86-42fe-83fe-0558e7b681da" alt=""><figcaption><p>Positions</p></figcaption></figure>

The Positions tab indicates that we hold a long position of 1 lot in BankNifty call options.

**Second Buy :**&#x20;

<figure><img src="https://3325206621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVBwGEcLA1yP8wEVFrXXf%2Fuploads%2FtkplU6tKmUhZkiLQay5Y%2Fimage.png?alt=media&amp;token=baa7f5da-2638-484c-84c3-3d255bf5ed3c" alt=""><figcaption><p>Orders</p></figcaption></figure>

The Order tab Updates with a second buy order.

<figure><img src="https://3325206621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVBwGEcLA1yP8wEVFrXXf%2Fuploads%2FJx9hlAoDJ1Xs5l1w9ezz%2Fimage.png?alt=media&amp;token=cdd08309-ddeb-4b31-a7cf-8ed83dde1843" alt=""><figcaption><p>Positions</p></figcaption></figure>

The Positions tab shows a total of two long lots of BankNifty call option.

**Sell :** &#x20;

<figure><img src="https://3325206621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVBwGEcLA1yP8wEVFrXXf%2Fuploads%2FJldlCDOEnbkiYVQZ3DMG%2Fimage.png?alt=media&amp;token=6dd0afe2-fa63-4e03-a794-d6e13a6d0f76" alt=""><figcaption><p>Orders</p></figcaption></figure>

The Orders tab shows a sell order, and this sell order will exit the existing long call position.

<figure><img src="https://3325206621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVBwGEcLA1yP8wEVFrXXf%2Fuploads%2FiQvHEkN19kfumGUPIZ5d%2Fimage.png?alt=media&amp;token=ba5c557e-f2c7-485e-b535-5143aa6fb503" alt=""><figcaption><p>Positions</p></figcaption></figure>

Under the Positions tab, you will see that the BankNifty long call position has been squared off.

### *Options Dynamic*

***Buying***&#x20;

<table data-header-hidden data-full-width="false"><thead><tr><th></th><th></th><th></th></tr></thead><tbody><tr><td><strong>Signal Action</strong></td><td>BUY</td><td>SELL</td></tr><tr><td><strong>Signal Type</strong></td><td><p>Put Position Exit or </p><p>Call Position Entry</p></td><td><p>Call Position Exit or</p><p>Put Position Entry</p></td></tr><tr><td><strong>Order action</strong></td><td>SELL or BUY</td><td>SELL or BUY</td></tr><tr><td><strong>Order Type</strong></td><td>Exit PE or Entry CE Order</td><td>Exit PE or Entry CE Order</td></tr><tr><td><strong>Position check</strong></td><td>Yes(PE)</td><td>Yes(CE)</td></tr><tr><td><strong>Square-off Qty</strong></td><td>If No Open PE Positions, Entry CE Order will be Placed</td><td>If No Open CE Positions, Entry PE Order will be Placed</td></tr></tbody></table>

Example :&#x20;

{% embed url="<https://youtu.be/g-fOVoMuXRY>" %}

**Buy :**&#x20;

<figure><img src="https://3325206621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVBwGEcLA1yP8wEVFrXXf%2Fuploads%2FlxnOzPGfXLAgc8Ut3Dyt%2Fimage.png?alt=media&amp;token=007bd2de-cde6-4df3-8864-5b14c5538543" alt=""><figcaption><p>Orders</p></figcaption></figure>

The Orders tab displays the instrument symbol and indicates that a call option has been bought. Since no put option is currently available, so no exit for a put option is seen.

<figure><img src="https://3325206621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVBwGEcLA1yP8wEVFrXXf%2Fuploads%2FoKerb0cKPKaiO3qKK01C%2Fimage.png?alt=media&amp;token=328264ab-97cc-4333-80cb-38c52f4cad87" alt=""><figcaption><p>Positions</p></figcaption></figure>

The Positions tab shows that we have a long position of 1 lot of Nifty call options.

**Second Buy :**&#x20;

<figure><img src="https://3325206621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVBwGEcLA1yP8wEVFrXXf%2Fuploads%2F7bbu2wkEAgI5jpEKATYN%2Fimage.png?alt=media&amp;token=f7bde1de-906f-426f-a4b0-34598b7ff469" alt=""><figcaption><p>Orders</p></figcaption></figure>

This will update the Orders tab with a second buy order.

<figure><img src="https://3325206621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVBwGEcLA1yP8wEVFrXXf%2Fuploads%2FcYivZOpmnwtNTOx98jDh%2Fimage.png?alt=media&amp;token=d3109852-2bf9-4e3f-af77-b7b929b8ef91" alt=""><figcaption><p>Positions</p></figcaption></figure>

This will update the Positions tab to show a total of two lots of nifty call option.

**Sell :**&#x20;

<figure><img src="https://3325206621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVBwGEcLA1yP8wEVFrXXf%2Fuploads%2FB79ShVffIX3GhaszmsLh%2Fimage.png?alt=media&amp;token=a93929d1-d708-4968-b3e8-d8b915f78ad7" alt=""><figcaption><p>Orders</p></figcaption></figure>

the Orders tab displays a sell order, the sell order exits the existing call position.

<figure><img src="https://3325206621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVBwGEcLA1yP8wEVFrXXf%2Fuploads%2FN8rLUcbG4g4ZGVudeheI%2Fimage.png?alt=media&amp;token=6f3a8df7-3601-4fb8-b4c2-8ce087e49739" alt=""><figcaption><p>Positions </p></figcaption></figure>

Under the Positions tab, you will see that the Nifty call position has been squared off.

**Second sell :**&#x20;

<figure><img src="https://3325206621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVBwGEcLA1yP8wEVFrXXf%2Fuploads%2FrGT9UhvuvH9ScfgdVOdY%2Fimage.png?alt=media&amp;token=4d6e94dd-a1ae-4856-b6ca-dc2b4744d379" alt=""><figcaption><p>Orders</p></figcaption></figure>

The Orders tab shows a buy order for a long Nifty put position based on the     long + short strategy rule, as there is no available call position to square off.

<figure><img src="https://3325206621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVBwGEcLA1yP8wEVFrXXf%2Fuploads%2FwyMjSDsM9lZxhKJvX1Cv%2Fimage.png?alt=media&amp;token=d93805d5-6761-46e5-a89f-d90f69ea8010" alt=""><figcaption><p>Positions</p></figcaption></figure>

The Positions tab will show a long Nifty put position along with a previously squared-off Nifty call position.

***Selling***

<table data-header-hidden data-full-width="false"><thead><tr><th></th><th></th><th></th></tr></thead><tbody><tr><td><strong>Signal Action</strong></td><td>BUY</td><td>SELL</td></tr><tr><td><strong>Signal Type</strong></td><td>Call Position Exit or Put Position Entry</td><td>Put Position Exit or Call Position Entry</td></tr><tr><td><strong>Order action</strong></td><td>SELL or BUY</td><td>SELL or BUY</td></tr><tr><td><strong>Order Type</strong></td><td>Exit CE or Entry PE Order</td><td>Exit CE or Entry PE Order</td></tr><tr><td><strong>Position check</strong></td><td>Yes(PE)</td><td>Yes(CE)</td></tr><tr><td><strong>Square-off Qty</strong></td><td>If No Open CE Positions, Entry PE Order will be Placed</td><td>If No Open PE Positions, Entry CE Order will be Placed</td></tr></tbody></table>

Example :&#x20;

{% embed url="<https://youtu.be/J70JeLGwzpA>" %}

**Buy :**&#x20;

<figure><img src="https://3325206621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVBwGEcLA1yP8wEVFrXXf%2Fuploads%2FQY0D5lMbo49c2lxBgied%2Fimage.png?alt=media&amp;token=48239c30-0185-4cc9-b91e-0196584416de" alt=""><figcaption><p>Orders</p></figcaption></figure>

The Orders tab displays the instrument symbol and indicates that a put option has been bought. Since no call option is currently available, so no exit for a call option is seen.

<figure><img src="https://3325206621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVBwGEcLA1yP8wEVFrXXf%2Fuploads%2FWlSvWQEXUTLz6cIpm85T%2Fimage.png?alt=media&amp;token=d4211666-6d83-4fea-a995-1416306ef156" alt=""><figcaption><p>Positions</p></figcaption></figure>

The Positions tab shows that we have a long position of 1 lot of Nifty put options.

**Second Buy :**&#x20;

<figure><img src="https://3325206621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVBwGEcLA1yP8wEVFrXXf%2Fuploads%2FJeAj1XHupjGp9fItOWzS%2Fimage.png?alt=media&amp;token=d2a8644b-68a3-41f3-81ea-5a2558bfb8eb" alt=""><figcaption><p>Orders</p></figcaption></figure>

This will update the Orders tab with a second buy order.

<figure><img src="https://3325206621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVBwGEcLA1yP8wEVFrXXf%2Fuploads%2FrxbZtwNvdBjzvTT04BPL%2Fimage.png?alt=media&amp;token=59cfe977-62fa-4031-95d8-7df21aa8d89e" alt=""><figcaption><p>Positions</p></figcaption></figure>

This will update the Positions tab to show a total of two lots of nifty put option.

**Sell :**&#x20;

<figure><img src="https://3325206621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVBwGEcLA1yP8wEVFrXXf%2Fuploads%2FMO70LiTuHloRYvLLYLgZ%2Fimage.png?alt=media&amp;token=14698968-e4c3-405d-8f4e-3b997e97c1e2" alt=""><figcaption><p>Orders</p></figcaption></figure>

You’ll see that the Orders tab displays a buy order, the buy order exits the existing put position.

<figure><img src="https://3325206621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVBwGEcLA1yP8wEVFrXXf%2Fuploads%2FDUCJObcwECUgKxLQVKwa%2Fimage.png?alt=media&amp;token=0497cfb3-567f-43ea-8480-4d6c528bfd8d" alt=""><figcaption><p>Positions</p></figcaption></figure>

Under the Positions tab, you will see that the Nifty put position has been squared off.

**Second sell :**&#x20;

<figure><img src="https://3325206621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVBwGEcLA1yP8wEVFrXXf%2Fuploads%2FWX6pJBmEQ4dIadZHsFGH%2Fimage.png?alt=media&amp;token=68044e8e-0eb6-4c00-adf4-a422e04c2b04" alt=""><figcaption><p>Orders</p></figcaption></figure>

The Orders tab shows a sell order for a short Nifty call position based on the    long + short strategy rule, as there is no available put position to square off.

<figure><img src="https://3325206621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVBwGEcLA1yP8wEVFrXXf%2Fuploads%2Fb3lrWougARSpEQxP52Qm%2Fimage.png?alt=media&amp;token=9e81bed6-f90e-4892-9e90-73ad886dc5c5" alt=""><figcaption><p>Positions</p></figcaption></figure>

The Positions tab will show a short Nifty call position along with a previously squared-off Nifty put position.

### *Option Hedge*

***Buying***

<table data-header-hidden data-full-width="false"><thead><tr><th></th><th></th><th></th></tr></thead><tbody><tr><td><strong>Signal Action</strong></td><td>BUY</td><td>SELL</td></tr><tr><td><strong>Signal Type</strong></td><td>Call Position Exit or Put Position Entry</td><td>Put Position Exit or Call Position Entry</td></tr><tr><td><strong>Order action</strong></td><td>SELL or BUY</td><td>SELL or BUY</td></tr><tr><td><strong>Order Type</strong></td><td>Exit CE or Entry PE Order</td><td>Exit CE or Entry PE Order</td></tr><tr><td><strong>Position check</strong></td><td>Yes(CE)</td><td>Yes(PE)</td></tr><tr><td><strong>Square-off Qty</strong></td><td>If No Open CE Positions, Entry PE Order will be Placed</td><td>If No Open PE Positions, Entry CE Order will be Placed</td></tr></tbody></table>

Example :&#x20;

{% embed url="<https://youtu.be/nWNl2QlieLM>" %}

**Buy :**&#x20;

<figure><img src="https://3325206621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVBwGEcLA1yP8wEVFrXXf%2Fuploads%2FsoSrPIHIpTftWEfjSEZj%2Fimage.png?alt=media&amp;token=c25070fc-48a2-4929-8c00-1f5fd0408b19" alt=""><figcaption><p>Orders</p></figcaption></figure>

The Orders tab displays the instrument symbol and indicates that a put option has been bought. Since no call option is currently available, so no exit for a call option is seen.

<figure><img src="https://3325206621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVBwGEcLA1yP8wEVFrXXf%2Fuploads%2F8TP9q0SKTq3O0Vdrb5S3%2Fimage.png?alt=media&amp;token=702ecff7-244f-47c2-b80d-1320f5fadb52" alt=""><figcaption><p>Positions</p></figcaption></figure>

The Positions tab shows that we have a long position of 1 lot of Nifty put options.

**Second Buy :**&#x20;

<figure><img src="https://3325206621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVBwGEcLA1yP8wEVFrXXf%2Fuploads%2FQv7im5V4G4ySrHuhFkGa%2Fimage.png?alt=media&amp;token=c3cce93c-511b-49bf-966c-48b88a7449eb" alt=""><figcaption><p>Orders</p></figcaption></figure>

This will update the Orders tab with a second buy order.

<figure><img src="https://3325206621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVBwGEcLA1yP8wEVFrXXf%2Fuploads%2FiCJaApIont7H9bcZAKId%2Fimage.png?alt=media&amp;token=eebdb35a-0409-4843-8de2-1da015f0b93e" alt=""><figcaption><p>Positions</p></figcaption></figure>

This will update the Positions tab to show a total of two lots of nifty put option.

**Sell :**&#x20;

<figure><img src="https://3325206621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVBwGEcLA1yP8wEVFrXXf%2Fuploads%2FzrG3F1nihbqv0kBBLs1h%2Fimage.png?alt=media&amp;token=3df1b1bd-a70d-429f-8bc8-ac7bce5fe174" alt=""><figcaption><p>Orders</p></figcaption></figure>

The Orders tab displays a sell order, the sell order exits the existing put position.

<figure><img src="https://3325206621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVBwGEcLA1yP8wEVFrXXf%2Fuploads%2F9Z5WJYerePOCebF269Mh%2Fimage.png?alt=media&amp;token=ccac9109-2a9a-48fb-90e5-3a6827c325ed" alt=""><figcaption><p>Positions</p></figcaption></figure>

Under the Positions tab, you will see that the Nifty put position has been squared off.

Second sell :&#x20;

<figure><img src="https://3325206621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVBwGEcLA1yP8wEVFrXXf%2Fuploads%2FjVjK78awEOja6VL4GO2z%2Fimage.png?alt=media&amp;token=8a51575f-8870-449a-ae68-3f408eeb99e0" alt=""><figcaption><p>Orders</p></figcaption></figure>

The Orders tab shows a buy order for a long Nifty call position based on the     long + short strategy rule, as there is no available put position to square off.

<figure><img src="https://3325206621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVBwGEcLA1yP8wEVFrXXf%2Fuploads%2FWUkYRiB36dUhbHdq9RFc%2Fimage.png?alt=media&amp;token=cc48a50f-ab10-434e-8f75-858217e42a62" alt=""><figcaption><p>Positions</p></figcaption></figure>

The Positions tab will show a long Nifty call position along with a previously squared-off Nifty put position.

***Selling***

<table data-header-hidden data-full-width="false"><thead><tr><th></th><th></th><th></th></tr></thead><tbody><tr><td><strong>Signal Action</strong></td><td>BUY</td><td>SELL</td></tr><tr><td><strong>Signal Type</strong></td><td><p>Put Position Exit or </p><p>Call Position Entry</p></td><td><p>Call Position Exit or</p><p>Put Position Entry</p></td></tr><tr><td><strong>Order action</strong></td><td>SELL or BUY</td><td>SELL or BUY</td></tr><tr><td><strong>Order Type</strong></td><td>Exit PE or Entry CE Order</td><td>Exit PE or Entry CE Order</td></tr><tr><td><strong>Position check</strong></td><td>Yes(PE)</td><td>Yes(CE)</td></tr><tr><td><strong>Square-off Qty</strong></td><td>If No Open PE Positions, Entry CE Order will be Placed</td><td>If No Open CE Positions, Entry PE Order will be Placed</td></tr></tbody></table>

Example :&#x20;

**Buy :** &#x20;

<figure><img src="https://3325206621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVBwGEcLA1yP8wEVFrXXf%2Fuploads%2FnQhN3pKYfeP4AuyHczVJ%2Fimage.png?alt=media&amp;token=9a23f5ff-1549-40d0-bcda-a927531df0bc" alt=""><figcaption><p>Orders</p></figcaption></figure>

The Orders tab displays the instrument symbol and indicates that a short call option has been created. Since no position of put option is currently available, so no square-off for a put option is seen.

<figure><img src="https://3325206621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVBwGEcLA1yP8wEVFrXXf%2Fuploads%2FTnJs0Ikc8ZsuJk56m4fj%2Fimage.png?alt=media&amp;token=65f4e640-1010-4eb8-b77a-6db1068353c0" alt=""><figcaption><p>Positions</p></figcaption></figure>

The Positions tab shows that we have a short position of 1 lot of Nifty call options.

**Second Buy :**&#x20;

<figure><img src="https://3325206621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVBwGEcLA1yP8wEVFrXXf%2Fuploads%2FB0IlycrN2n1evxwzmqL9%2Fimage.png?alt=media&amp;token=247d3cdf-692e-4c46-8889-cd4096378aa1" alt=""><figcaption><p>Orders</p></figcaption></figure>

This will update the Orders tab with a second sell orde&#x72;**.**

<figure><img src="https://3325206621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVBwGEcLA1yP8wEVFrXXf%2Fuploads%2FPft8X0fHxBrxjd3qkOZL%2Fimage.png?alt=media&amp;token=d14c227d-00a5-4d90-b870-5ca36cb6b239" alt=""><figcaption><p>Positions</p></figcaption></figure>

This will update the Positions tab to show a total of two short lots of nifty call option.

**Sell :**&#x20;

<figure><img src="https://3325206621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVBwGEcLA1yP8wEVFrXXf%2Fuploads%2FA3eaXhjqfC4IU52WHkzc%2Fimage.png?alt=media&amp;token=507edc7b-0b3c-4f18-b34b-6fe36390f131" alt=""><figcaption><p>Orders</p></figcaption></figure>

The Orders tab displays a buy order, the buy order squares-off the existing call position.

<figure><img src="https://3325206621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVBwGEcLA1yP8wEVFrXXf%2Fuploads%2FQoE91CQI6hpzJa7CAO8M%2Fimage.png?alt=media&amp;token=66ef97ab-247f-49df-8300-e6c7fabe22d4" alt=""><figcaption><p>Positions</p></figcaption></figure>

Under the Positions tab, you will see that the Nifty call position has been squared off.

**Second Sell :**&#x20;

<figure><img src="https://3325206621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVBwGEcLA1yP8wEVFrXXf%2Fuploads%2FcLHwNY1PSZupCbrYHKfn%2Fimage.png?alt=media&amp;token=32ad6fe9-cf19-491a-b8e3-8a2a1a6db45a" alt=""><figcaption><p>Orders</p></figcaption></figure>

The Orders tab shows a sell order for a short Nifty put position based on the    long + short strategy rule, as there is no available call position to square off.

<figure><img src="https://3325206621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVBwGEcLA1yP8wEVFrXXf%2Fuploads%2FAZY88mqTFpoDIyn95FcP%2Fimage.png?alt=media&amp;token=9b3d1e94-51f2-4eee-a199-42b2d80e8ad1" alt=""><figcaption><p>Positions</p></figcaption></figure>

The Positions tab will show a short Nifty put position along with a previously squared-off Nifty call position.
