Published on: September 21, 2025
If you already use TrendSpider and want to go from signals to hands-free automated trading, this guide shows the exact setup with Sferica, including the webhook URL and copy/paste JSON bodies for long/short entries and exits.
Pro Tip: If you want both long and short, configure both flows: Enter Long / Exit Long and Enter Short / Exit Short.
Step 3 — Paste the Webhook URL
Use this URL for all your Entry and Exit webhooks: http://217.160.238.76
Step 4 — Paste the Webhook Body (JSON)
Use %bot_symbol%
(TrendSpider fills this automatically).
Replace REPLACE_WITH_ORDER_SIZE
and REPLACE_WITH_POINTER_FROM_SFERICA
.
Enter Long
{
"ticker": "%bot_symbol%",
"action": "buy",
"prev_position": "flat",
"quantity": "REPLACE_WITH_ORDER_SIZE",
"pointer": "REPLACE_WITH_POINTER_FROM_SFERICA"
}
Exit Long
{
"ticker": "%bot_symbol%",
"action": "sell",
"prev_position": "long",
"quantity": "REPLACE_WITH_ORDER_SIZE",
"pointer": "REPLACE_WITH_POINTER_FROM_SFERICA"
}
Enter Short
{
"ticker": "%bot_symbol%",
"action": "sell",
"prev_position": "flat",
"quantity": "REPLACE_WITH_ORDER_SIZE",
"pointer": "REPLACE_WITH_POINTER_FROM_SFERICA"
}
Exit Short
{
"ticker": "%bot_symbol%",
"action": "buy",
"prev_position": "short",
"quantity": "REPLACE_WITH_ORDER_SIZE",
"pointer": "REPLACE_WITH_POINTER_FROM_SFERICA"
}
Example (EURUSD, qty 1000 units, pointer abc123
)::
{
"ticker": "%bot_symbol%",
"action": "buy",
"prev_position": "flat",
"quantity": "1000",
"pointer": "abc123"
}
Notes:
•prev_position
tells Sferica what you held before this order (flat
,long
, orshort
) so it can act correctly.
• Keep JSON valid—no trailing commas or smart quotes.
prev_position
values reflect that behavior.
%bot_symbol%
formatting with what your exchange supports.
prev_position
correctly.Explore our plans and start your 14-day free trial today.
View Pricing