Coinrule’s “DO NOT” Operator can be used for several purposes. This article will outline the many benefits of the function and situations to increase the control you have over your rules.

What is the "DO NOT" Operator?

The “DO NOT” Operator is a function that can be incorporated into your rules to prevent it from buying or selling certain coins. There are default pre-set options available when you choose the “DO NOT” Operator.

These include “any of my coins,” “same coin twice,” and “stablecoins.” You can also specify the coins you do not want your Rule to buy or sell.

The "DO NOT" Operator will always be placed after a buy or sell action. As illustrated in the image in the image below.

Specific Coins

There are many reasons why you may not want your Rule to buy or sell specific coins. For example, if you do not want two rules trading the same coins to interfere with one another.

For example, if one rule is accumulating BTC and ETH, you could choose the “DO NOT” operator on another one and select “DO NOT sell BTC and ETH.” This will prevent the rule from checking BTC or ETH values when looking for potential trades and resultantly not affecting your current wallet balance of those coins. You can choose up to five coins to exclude from your Rule using this function. The example provided above demonstrates how you could construct this rule.

Any Of My Coins

The “DO NOT buy any of my coins” Operator will take a reading of all the coins you have in your wallet when the condition is met. This may include coins that are being used in other rules. It will exclude these coins from being bought. Once the rule, or another rule, sells the coin it can then be rebought as the coin is no longer in your wallet.

Note: the "any of my coins" function is only available when buying coins.

The image below is an example of the “DO NOT buy any of my coins” Operator in use featuring our RSI Classic Strategy.

Same Coin Twice

If you want your rule to only buy a coin once in the entirety of the rule and not to buy it once it is sold, you can use “DO NOT buy the same coin twice.” This will result in the rule restricting that coin from being bought again once it has been sold. This will take effect for the entirety of the time the rule is live.

For example, if your Rule bought BTC and then sells it, the Rule would not rebuy BTC. This is different from the "any of my coins" option, as the coin will not be repurchased (by that single rule) once it has left your wallet.

Here is an example of the "DO NOT buy same coin twice" function featuring our Golden Cross Rule.

Restricted Coins

Another reason you may want to use the “DO NOT” Operator is when you are trading on an exchange that has certain coins banned in your region. An example of this is Kraken, where users within the US cannot trade MATIC and several other coins. For more context, you can refer to this article.

If you were in the US and using Kraken as your exchange and MATIC met the Conditions of your rule, causing your Rule to buy or sell it, the Rule would not trigger, and you would receive the error message “Exchange rejected trade.”

The “DO NOT” Operator can be used to exclude MATIC, and other restricted coins, from being traded by your Rule - preventing this error message from occurring. The image below features our Moving Average Scalper Template.

Note: We recommend you always review what coins can and cannot be traded on your chosen exchange within your region. This information can be accessed on exchanges' websites.

Stablecoins

There can be instances when your rule, if the Conditions are met, may trade a stablecoin for a stablecoin. An example of this may be your rule buying BUSD on Binance using your USDT wallet. Stablecoins experience very little volatility, often resulting in not being profitable to trade.

To prevent this from happening, you can use the “DO NOT buy stablecoin” function. This will exclude all stablecoins from the rule when it looks for potential trades.

This example features our Trend-following Scalping With Dynamic Protection Template.

The Do Not operator allows for a greater level of control over the coins the rule will trade. This way, you can optimize further how every single rule works, increasing the overall returns of your wallet.

Did this answer your question?