We'll create a recurring strategy with ETH and USDC that buys ETH between $2000 and $2100 and sells ETH between $2300 and 2400. We will fund the strategy with USDC tokens only.
A step-by-step video guide to creating a Carbon strategy.
1. Select a token pair
Any pair of standard ERC20 tokens is valid. The “Buy or Sell” token (or “Base token”) is the token we would like to buy low and sell high, in this case ETH. The “With token” (or “Quote token”) is the token we would like to denominate rates in, in this case USDC.
2. Select the strategy type
Choose between a disposable or a recurring strategy.
A disposable strategy is composed of one order that is single use and removes tokens from active trading as the order is executed. For example, a single limit order (“sell ETH at 1500”) or a single range order (“sell ETH between 1450–1500”).
A recurring strategy is composed of two linked orders that trade in perpetuity, until the user chooses to stop the strategy. A recurring strategy can consist of two limit orders, two range orders, or it can be “custom” (a limit and range order).
In this case, we select a recurring strategy with two range orders.
3. Enter a Buy Range and Buy Budget
In this example, there will be a supporting ETHUSD price chart powered by TradingView. You can utilize this chart to select your ranges using available data points such as trading volume, price action, moving average indicator and more.
The Buy Range is set to $2000-$2100. Meaning the strategy will start buying ETH at $2100 (“Max”) and stop buying ETH at $2000 (“Min”).
We fund the Buy Budget with 1000 USDC. Our USDC will be converted into ETH whenever the ETH market price enters the Buy Range.
4. Enter a Sell Range and Sell Budget
The Sell Range is set to $2300-$2400. Meaning the strategy will start selling ETH at $2300 (“Min”) and stop selling ETH at $2400 (“Max”).
We fund the Sell Budget with 0 ETH.
5. Create Strategy
We are now ready to submit the transaction that creates our strategy. First, we may need to approve the Carbon contract to spend tokens on our behalf.
Once the approve transaction has been confirmed, click “Create Strategy” to trigger the transaction in your wallet.
6. Manage Strategy
That's it! The strategy is now live and will appear in the Strategies page. Click “Manage” to interact with the strategy, including Deleting the strategy, Editing price ranges, Depositing or Withdrawing funds, or Pausing the strategy.
For more info on Carbon’s recurring strategies, see this blog post.