πŸ€–Trading Bot Setup using the frontend (NEW)

This page is dedicated to the API Trading Bot and its endpoints.

Create a new trading bot

First, you need to go to the trading bots section on https://infinitetrading.io/managers and then click on 'Create New Bot' section.

Deploy the new bot

You select the gas wallet and the vault, the assets you want to trade and configure all the settings. After you click deploy, the bot will do the approves and will start executing trades with your desired site. From the frontend, you can change the bot side at any time to be neutral (USDC) or "hold" which will stop the bot from doing anything. If the side is "Long" any USDC on the vault will be converted to the asset selected (in this case cbBTC).

Automate your strategy

When you open or edit a deploy bot dialog, the frontend provides code snippets in Python, R, and JavaScript, as well as the endpoint URL to invoke the trading bot. Whenever your strategy switches to Long, Hold/Neutral, or Short, call the endpoint with the corresponding "side" parameter and the bot will execute the trade inside your vault.

MAX USD per trade limits the dollar amount used for each buy or sell. The share parameter also limits position size β€” for example, a 10% share will sell 10% of the vault each time, but if MAX USD per trade is smaller, that smaller amount is used.

Use wide slippage settings:

  • Illiquid tokens: 1–3% (above 0.1 recommended)

  • Liquid tokens: 0.1–0.3%, depending on vault size

You can copy-paste the code with the correct "side" value for each signal to automate your strategy. This system is not designed for HFT. For a high-frequency setup, contact us β€” it requires a custom environment and has an additional cost.

Last updated

Was this helpful?