How to create your first rule order

 

Automated trading may sound complicated, but Coinrule makes it possible to build a strategy without writing code. Its rule editor uses straightforward “If This, Then That” logic: when a chosen market condition occurs, Coinrule performs a predefined action.

In this guide, you will learn how to create your first Coinrule order, test it using the Demo Exchange, and avoid common setup mistakes.

Important: Automated trading involves financial risk. Test new rules with simulated funds before using a live exchange, and never trade more than you can afford to lose.

What Is a Coinrule Rule?

A rule is a set of instructions that tells Coinrule when and how to place an order.

A simple rule might say:

If Bitcoin’s price decreases by 2%, then buy $20 of Bitcoin using USDT.

The first part is the condition or trigger. The second part is the action, which becomes an order when the condition is met.

Coinrule also supports technical indicators, multiple conditions, stop-losses, take-profit targets and other risk controls. Its no-code editor is designed for both beginners and more experienced traders. Learn more about Coinrule’s rule-based system.

What You Need Before Getting Started

To create your first rule, you need:

  • A Coinrule account
  • Access to the rules dashboard
  • A basic idea of what should trigger the trade
  • A Demo Exchange balance or a connected live exchange

Beginners should start with the Demo Exchange. It uses simulated funds, allowing you to learn how rules behave without risking real money.

If you eventually decide to trade with real funds, connect a supported exchange by following Coinrule’s exchange-specific instructions. Use appropriate API permissions and never give an automated trading service permission to withdraw your funds.

Step 1: Open the Rule Editor

Sign in to Coinrule. The rules dashboard displays your active, paused, completed and draft strategies.

Click Create Rule in the upper-right area of the dashboard. This opens the rule editor, where you can build a strategy from scratch or load a prebuilt template.

Step 2: Select an Exchange

Choose where the rule should run.

For your first attempt, select Demo Exchange. Coinrule describes this as a simulated environment that uses market data to help users test their strategies.

If you choose a live exchange instead, confirm that:

  • The exchange is connected correctly
  • Your API key is active
  • The API has trading permissions
  • The required assets are available in your wallet
  • The trading pair is supported by the exchange

Testing on Demo first gives you an opportunity to catch errors in the rule’s logic before real funds are involved.

Step 3: Define the Entry Condition

The condition tells Coinrule when to act. You can build conditions around price movements, technical indicators and other available market data.

For example, you could create the following condition:

If any coin has an RSI below 30 using one-hour candles…

RSI, or Relative Strength Index, is a momentum indicator. A reading below 30 is often interpreted as an oversold signal, although it does not guarantee that the price will recover.

For a simpler first rule, you could use a price-based condition:

If BTC decreases by 2% from its current live price…

When “current live price” is selected, Coinrule records the market price when the rule begins scanning and uses it as the reference for calculating the percentage change.

If you add multiple conditions, use:

  • AND when every condition must be satisfied
  • OR when any one of the conditions can activate the action

Coinrule evaluates combined conditions sequentially, so read the complete condition block carefully before launching it. See Coinrule’s condition-block guide.

Step 4: Configure the Buy Order

Next, specify what Coinrule should do when the condition is met.

A beginner-friendly action might be:

Buy $20 of that coin using my USDT wallet.

Configure the following fields:

  1. Action: Select Buy.
  2. Trade size: Enter a fixed amount or an available percentage-based option.
  3. Asset: Select a specific asset, such as BTC, or use “that coin” to act on the asset identified by the condition.
  4. Wallet: Select the currency that will fund the purchase, such as USDT.
  5. Order type: Choose a market or limit order.

The wallet determines the trading pair. Buying Bitcoin from a USDT wallet, for example, produces a BTC/USDT order. You therefore need enough available USDT and the BTC/USDT pair must exist on the selected exchange.

Market Order vs. Limit Order

A market order aims to execute immediately at the best available price. It offers speed, but the final price may differ from the price you saw when the order was triggered, particularly in a volatile or illiquid market.

A limit order specifies the acceptable execution price. It provides more price control, but it may not be filled.

For a first Demo rule, either option can help you understand the workflow. When using real funds, choose based on your strategy, liquidity needs and tolerance for price slippage. Review Coinrule’s order-type explanation.

Step 5: Add an Exit

A rule that buys an asset should usually define when to sell it. Without an exit, the position may remain open indefinitely.

After the buy action, select the THEN operator and create an exit condition. For example:

Then, if the price increases by 5% from the price at which it was bought, sell 100% of the amount bought to USDT.

You could also add a stop-loss condition:

Or, if the price decreases by 3% from the buy price, sell 100% of the amount bought to USDT.

This produces two possible exits: a 5% take-profit or a 3% stop-loss. These percentages are examples only and should not be treated as investment recommendations.

Using THEN makes the sequence run in order: buy, wait for an exit, sell and then return to the beginning. By contrast, ANY TIME can run multiple sequences in parallel and may create several open trades. If you use ANY TIME, set a maximum number of open positions to reduce the risk of overtrading. Read about limiting open positions.

Step 6: Set Execution Limits

The Execute section controls how often the rule can act.

Depending on the available settings, define:

  • The total number of executions
  • How frequently the rule may execute
  • The maximum number of open trades
  • The amount of capital allocated to the rule

Execution limits are especially important when a rule scans “any coin.” Without appropriate restrictions, several assets could satisfy the condition within a short period.

For your first rule, keep the trade size small, allow only a limited number of executions and avoid running too many positions simultaneously.

Step 7: Name and Review the Rule

Give the rule a descriptive name, such as:

BTC 2% Dip Demo Rule

Before launching it, read the rule from beginning to end as if it were one sentence:

If BTC decreases by 2% from its current live price, buy $20 of BTC using USDT. Then, if BTC rises by 5% from the buy price or falls by 3%, sell 100% of the amount bought to USDT.

Check that:

  • The correct exchange is selected
  • The asset and funding wallet form a valid trading pair
  • The order amount is affordable
  • An exit is included
  • The conditions refer to the intended timeframe
  • The execution limits are reasonable
  • The rule cannot repeatedly buy by mistake

Step 8: Launch and Monitor the Rule

Click Launch to activate the rule. Its status should indicate that Coinrule is scanning the chosen market conditions.

Launching a rule does not necessarily place an order immediately. The order is submitted only when the specified conditions become true.

Monitor the rule’s activity to see:

  • Whether its conditions are being evaluated
  • When orders are triggered
  • Which orders are filled or rejected
  • Its open and closed trades
  • Whether its behavior matches your original intention

Do not treat a successful Demo result as proof that the strategy will produce the same outcome with real funds. Live trading introduces fees, spreads, slippage, liquidity constraints and changing market conditions.

Common Problems and How to Fix Them

Insufficient balance

Check that the funding wallet contains enough available currency for the order. Funds allocated to other rules may not be available.

Unsupported trading pair

Confirm that the asset can be traded against the wallet selected in the action. An exchange might offer COIN/BTC but not COIN/USDT.

Exchange rejected the trade

Possible causes include an outdated API key, regional asset restrictions, an unsupported pair or a temporary exchange issue.

Limit order was not filled

The requested price may not have had enough available liquidity. A limit order offers price protection but does not guarantee execution.

Too many positions opened

This can happen when the ANY TIME operator continues looking for new entries. Add an open-position limit, reduce the total executions or use THEN for a sequential buy-and-sell workflow.

Coinrule provides additional explanations for these situations in its trading-error guide.

A Simple First-Rule Checklist

Before moving from Demo to live trading, make sure you can answer yes to each question:

  • Have I tested the rule with simulated funds?
  • Do I understand every condition and action?
  • Does the selected trading pair exist?
  • Is there enough available balance?
  • Have I defined how the position will close?
  • Have I limited the trade size and execution frequency?
  • Have I considered fees, slippage and liquidity?
  • Can I afford to lose the amount allocated to the rule?

Final Thoughts

Creating your first Coinrule order is mainly a matter of translating an idea into clear instructions: choose a trigger, define an action, add an exit and limit the rule’s exposure.

Start with one asset, one simple condition and a small simulated order. Monitor how the rule behaves before adding extra indicators or moving to a live exchange. The simpler your first rule is, the easier it will be to understand its results and identify mistakes.

Automation can execute a plan consistently, but it cannot make an untested strategy safe or profitable. Careful testing and sensible risk controls remain essential.

https://coinrule.com

 

Didn't find any solution?

Get in touch with us via the Live Chat or Contact Us Page!