🤖Trading Bot Setup

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

Activate the Trading Bot

  • Use the approve endpoint to assign permissions to the gas wallet to spend the tokens to be traded. If you want to go short, please add short=TRUE to activate permissions for shorts. Shorts are only available for the following chains and tokens:

    • Polygon: WETH, WMATIC, and WBTC

    • Optimism and Arbitrum: WETH and WBTC

  • Use the setSide endpoint to activate the trading bot.

  • Specify the strategy side (long/short/neutral) and the asset you want to trade.

Integrate with Trading View

  • Buy Signal Alerts: Copy the setSide endpoint to your Trading View strategy alert and paste it into the webhook URL with side=long.

  • Sell Signal Alerts: Copy the setSide endpoint to your Trading View strategy alert and paste it into the webhook URL with side=neutral.

  • Short Signal Alerts: Copy the setSide endpoint to your Trading View strategy alert and paste it into the webhook URL with side=short.

Last updated