Automation

The automation feature enables users to configure event-triggered or periodic tasks, from basic limit orders to more complex position rebalancing.

Automation

The feature is currently in development, but the basic flow is like this:

Each execution return the parameters for the subsequent execution

Automation follows the same approach as the AI architecture to generate code, enabling users to create complex automated tasks with ease. For example:

  • Every day, if the price of S falls below $0.50, swap (0.6 - sonicPrice) × 100 USDC.e for S.

Each execution updates parameters for the next run, allowing for more advanced automation. For example:

  • Deposit 1000 S into the best Sonic strategy. Every 3 days, rebalance it to the best available strategy. The system tracks the current strategy to ensure efficient rebalancing.

Automation Studio

Users can deploy simple automation features, such as stop-loss and limit orders, using predefined templates. Those with programming experience can also create and deploy custom automation scripts using our automation language.

Last updated