> 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-only.md).

# LONG ONLY

## ***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>Entry</td><td>Exit</td></tr><tr><td><strong>Order action</strong></td><td>Entry Order</td><td>Exit Order</td></tr><tr><td><strong>Position check</strong></td><td>Not Available</td><td>Yes(Open)</td></tr><tr><td><strong>Square-off Qty</strong></td><td>Not Available</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=ms88CkqdzWk>" %}

**Buy :**&#x20;

<figure><img src="/files/6EvK9baStnjvwhZepEyQ" alt=""><figcaption><p>Orders</p></figcaption></figure>

The Orders tab displays the instrument symbol and indicates that one share of long Tata chemical Equity has been bought.

<figure><img src="/files/sEdtvHAlL8jMnpFKQMFm" alt=""><figcaption><p>Positions</p></figcaption></figure>

&#x20;The Positions tab indicates that we hold a long Equity position of one share in Tata chemical.

**Sell :**&#x20;

<figure><img src="/files/qovvhabVzBZo5MKtOJJp" 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="/files/bshoxgXkpjdUgM4wlEi5" 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.

## ***Futures***

<table data-header-hidden><thead><tr><th width="172"></th><th width="202"></th><th width="334"></th><th data-hidden></th></tr></thead><tbody><tr><td><strong>Order Action</strong> </td><td>BUY </td><td>SELL</td><td></td></tr><tr><td><strong>Signal Type</strong> </td><td>Long Position Entry</td><td>Long Position Exit</td><td></td></tr><tr><td><strong>Order type</strong></td><td>Entry Order</td><td>Exit Order</td><td></td></tr><tr><td><strong>Position check</strong></td><td>No</td><td>Yes(Long)</td><td></td></tr><tr><td><strong>Square-off Qty</strong></td><td>Not Available</td><td>If No Long Open Positions, No Order will be Placed</td><td></td></tr></tbody></table>

Example :&#x20;

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

**Buy :**&#x20;

<figure><img src="/files/VVWFkRTT94lLVyr6rUFt" 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="/files/TSUQhE2rS10ZwkTcJNAL" alt=""><figcaption><p>Positions</p></figcaption></figure>

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

**Second Buy :**&#x20;

<figure><img src="/files/3WlTLK6rCdrOuDYsoFzn" alt=""><figcaption><p>Orders</p></figcaption></figure>

The Order tab Updates with a second buy order.

<figure><img src="/files/dz621rFL8YzcRVzl85MX" alt=""><figcaption><p>Positions</p></figcaption></figure>

The Positions tab shows a total of two long lots of ITC Futures.

**Sell :**&#x20;

<figure><img src="/files/8nwT1kX2pNXob5cpM9j1" 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="/files/rkWJnkVAK2SFzAWzO7nU" alt=""><figcaption><p>Positions</p></figcaption></figure>

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

## ***Options***

<table data-header-hidden><thead><tr><th width="172"></th><th width="202"></th><th width="334"></th><th data-hidden></th></tr></thead><tbody><tr><td><strong>Order Action</strong> </td><td>BUY </td><td>SELL</td><td></td></tr><tr><td><strong>Signal Type</strong> </td><td>Long Position  Entry</td><td>Long Position Exit</td><td></td></tr><tr><td><strong>Order type</strong></td><td>Entry Order</td><td>Exit Order</td><td></td></tr><tr><td><strong>Position check</strong></td><td>No</td><td>Yes(Long)</td><td></td></tr><tr><td><strong>Square-off Qty</strong></td><td>Not Available</td><td>If No Long Open Positions, No Order will be Placed</td><td></td></tr></tbody></table>

Example :&#x20;

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

**Buy :**&#x20;

<figure><img src="/files/jrj0rATmAe5fyLj15YGu" alt=""><figcaption><p>Orders</p></figcaption></figure>

The Orders tab displays the instrument symbol and indicates that a call option has been bought.

<figure><img src="/files/4WZlvPdJ9jz7OmNvK2qf" 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="/files/yH5Zuaf80KSjWvvZxAdS" alt=""><figcaption><p>Orders</p></figcaption></figure>

The Order tab Updates with a second buy order.

<figure><img src="/files/9Q9jv6KRnHLGrimSWiQ9" alt=""><figcaption><p>Positions</p></figcaption></figure>

The Positions tab shows a total of two long lots of BankNifty call option.&#x20;

**Sell :**&#x20;

<figure><img src="/files/hyvtDL3OUFtORiRzV16b" 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="/files/4LD1qd6ecQV2xsqUWV8e" 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***

&#x20;***Buying***

<table data-header-hidden><thead><tr><th width="161">Signal Action</th><th width="236"></th><th width="274"></th></tr></thead><tbody><tr><td> <strong>Order action</strong> </td><td>BUY</td><td>SELL</td></tr><tr><td><strong>Signal Type</strong> </td><td>Call Position Entry</td><td>Call Position Exit</td></tr><tr><td><strong>Order type</strong></td><td>Entry CE Order</td><td>Exit CE Order</td></tr><tr><td><strong>Position check</strong></td><td>No</td><td>Yes(CE)</td></tr><tr><td><strong>Remarks</strong></td><td>No Square-off Qyt</td><td>If No CE Positions, No Order will be Placed</td></tr></tbody></table>

Example :&#x20;

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

**Buy :**&#x20;

<figure><img src="/files/Tb5RF98wIHsXpaMEBHSj" alt=""><figcaption><p>Orders</p></figcaption></figure>

The Orders tab displays the instrument symbol and indicates that a Call option has been bought.

<figure><img src="/files/7hPamzoFsyT9WpH5xhYR" 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="/files/DmA4Xxe9ASqJq37SKSAf" alt=""><figcaption><p>Orders</p></figcaption></figure>

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

<figure><img src="/files/5nIHdrFVZna3hgKiI7V8" 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="/files/gWv70aqQ8bBkryIVI1nm" 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="/files/UxK7gM3SdPDnWVsvF9Xs" alt=""><figcaption><p>Positions</p></figcaption></figure>

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

***Selling***

<table data-header-hidden><thead><tr><th width="161"></th><th width="174"></th><th width="340"></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>Put Position Entry</td><td>Put Position Exit</td></tr><tr><td><strong>Order action</strong></td><td>SELL</td><td>BUY</td></tr><tr><td><strong>Order type</strong></td><td>Entry PE Order</td><td>Exit PE Order</td></tr><tr><td><strong>Position check</strong></td><td>No</td><td>Yes(PE)</td></tr><tr><td><strong>Square-off Qty</strong></td><td>Not Available</td><td>If No PE Positions, No Order will be Placed</td></tr></tbody></table>

Example :&#x20;

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

**Buy :**&#x20;

<figure><img src="/files/UehsjPf28mjTv5OO9AD7" alt=""><figcaption><p>Orders</p></figcaption></figure>

The Orders tab displays the instrument symbol and indicates that a put option has been sold.

<figure><img src="/files/IqL8oSTquSTGQGybSU1L" alt=""><figcaption><p>Positions</p></figcaption></figure>

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

**Second Buy :**&#x20;

<figure><img src="/files/cviMKE87yOtMn2dzmXyW" alt=""><figcaption><p>Orders</p></figcaption></figure>

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

<figure><img src="/files/hHnsa0R8zx4d68GFbBSk" alt=""><figcaption><p>Positions</p></figcaption></figure>

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

**Sell :**&#x20;

<figure><img src="/files/K80x2SAfr4NVKeyS67x8" alt=""><figcaption><p>Orders</p></figcaption></figure>

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

<figure><img src="/files/A1NpNbE3ZTHjNYHbV8pP" alt=""><figcaption><p>Positions</p></figcaption></figure>

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

## ***Option Hedge***&#x20;

***Buying***

| **Signal Action**  | BUY                | SELL                                             |
| ------------------ | ------------------ | ------------------------------------------------ |
| **Signal Type**    | Put Position Entry | Put Position Exit                                |
| **Order Action**   | BUY                | SELL                                             |
| **Order Type**     | Entry PE Order     | Exit PE Order                                    |
| **Position Check** | No                 | Yes(PE)                                          |
| **Sqr-off Qty**    | Not Available      | If No Open PE Positions, No Order will be Placed |

Example :&#x20;

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

**Buy :**&#x20;

<figure><img src="/files/craeNacTTixrPfcl8AdP" alt=""><figcaption><p>Orders</p></figcaption></figure>

The Orders tab displays the instrument symbol and indicates that a put option has been bought.

<figure><img src="/files/l0jUlUzidiQTHZAV8EDe" 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="/files/1KLcZnnoGYVLrqIjWGGv" alt=""><figcaption><p>Orders</p></figcaption></figure>

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

<figure><img src="/files/tSJoLDDm6rlyjBu8qkrQ" 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="/files/vAJmIWVOBZDOteGTOULa" alt=""><figcaption><p>Orders</p></figcaption></figure>

The Orders tab displays a sell order, the sell order exits the existing put position.&#x20;

<figure><img src="/files/w0rcg8sKKfUBN3nuGSvU" alt=""><figcaption><p>Positions</p></figcaption></figure>

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

***Selling***

| **Signal Action**  | BUY            | SELL                                             |
| ------------------ | -------------- | ------------------------------------------------ |
| **Signal Type**    | CE Entry       | CE Exit                                          |
| **Order Action**   | SELL           | BUY                                              |
| **Order Type**     | Entry CE Order | Exit CE Order                                    |
| **Position Check** | No             | Yes(CE)                                          |
| **Sqr-off Qty**    | Not Available  | If No Open CE Positions, No Order will be Placed |

Example :&#x20;

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

**Buy :**&#x20;

<figure><img src="/files/88zWVvFaA97mgDStIibs" alt=""><figcaption><p>Orders</p></figcaption></figure>

The Orders tab displays the instrument symbol and indicates that a call option has been sold.

<figure><img src="/files/5PofjLIR114zxaUsu1BY" 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="/files/sTA6VPBncHxiyKgblGsg" alt=""><figcaption><p>Orders</p></figcaption></figure>

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

<figure><img src="/files/h2qYshMRlyI6fl3ePtjE" alt=""><figcaption><p>Positions</p></figcaption></figure>

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

**Sell :**&#x20;

<figure><img src="/files/gvbhmJupPnEezUbce8BF" alt=""><figcaption><p>Orders</p></figcaption></figure>

The Orders tab displays a buy order, the buy order exits the existing short call position.

<figure><img src="/files/aO34E8xiMKCLLT00dtUZ" alt=""><figcaption><p>Positions</p></figcaption></figure>

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