Overview
CIDER's in-house bots are powered by TradingView webhook signals. When an alert fires on TradingView, it sends a JSON payload to CIDER, which processes the signal and executes a swap on the Base network via the Mobula Swap API.
Step 1: Get Your Webhook URL
Your webhook endpoint is:
https://cider.trade/api/webhooks/tradingviewYou'll also need your WEBHOOK_SECRET from your environment variables.
Step 2: Create a TradingView Alert
1. Open your chart on TradingView
2. Set up your indicator or strategy conditions
3. Click "Create Alert"
4. Set the condition and expiration
5. Under "Notifications", enable
6. Paste your CIDER webhook URL
7. Set the message body as JSON (see below)
Step 3: Configure the Alert Message
Use TradingView's placeholder syntax to build dynamic signals:
{
"secret": "YOUR_WEBHOOK_SECRET",
"botId": "YOUR_BOT_ID",
"action": "{{strategy.order.action}}",
"pair": "{{ticker}}",
"price": {{close}},
"amount": 0.1,
"strategy": "{{strategy.order.comment}}",
"timeframe": "{{interval}}"
}TradingView will replace the {{...}} placeholders with actual values when the alert fires.
Step 4: Signal Flow
TradingView alert fires → sends webhook to CIDER
CIDER validates the webhook secret and payload
Signal is recorded in the database and linked to the bot
Trade is executed on Base via Mobula Swap API + server wallet
Performance is tracked and bot growth stage is evaluated