# Add Funds to deals

## Explanation

If actual profit percentage (PnL%) falls below -20%, then a satety order is placed. The order type is market and the volume will be 100% of the current deals volume. If Fear and Greed index is lower than or equals 25, then the volume will be 200%.

Example: If a deal looks like this:

<div align="left"><img src="https://2840206233-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MieWdIBRoT06HGdZDGB%2F-Mjnj6UNTGUN3zJcImr7%2F-Mjnk2tix5hGrCcKh-xr%2Fimage.png?alt=media&#x26;token=87a84970-8f21-4c1a-bc69-3cee17c4efe5" alt=""></div>

then a safety order with a volume of \~80$ will be placed. (100% of $80.12)

If fear and greed index is low enough, then the volume would be \~160$. (200% of $80.12)

<div align="left"><img src="https://2840206233-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MieWdIBRoT06HGdZDGB%2Fuploads%2FPWL7aKSJfGdtZPvcC2Dv%2FRuleSet_AddFundsToDeal.png?alt=media&#x26;token=8cab2621-31be-42b7-ad56-b599c58cb4aa" alt=""></div>

## Download

{% file src="<https://2840206233-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MieWdIBRoT06HGdZDGB%2Fuploads%2FlyCMTcgHCkIzApU93yD8%2FRuleSet_AddFundsToDeal.rs?alt=media&token=8c08e070-e19a-4552-b4b1-6935813ace38>" %}
