Trading Guide
Automating Infinity Algo Alerts via Finandy
Connect Infinity Algo signals to Finandy for automated trading with webhook alerts.
Integration Method for Indicators
Separate Buy/Sell Alerts (Required for Indicators)
What it does:
- Two distinct alerts (Buy & Sell)
- Clear signal separation
- Works with any indicator
- No code access needed
Best for:
- All Infinity Algo users
- Simple setup
- Clear control
- Testing & production
Alerts: 2 total (indicators can only send one signal type per alert)
- Buy Signal → side: "buy"
- Sell Signal → side: "sell"
Position Side: Both/Long only/Short onlyStep 1: Configure Finandy Webhook
Navigate to Finandy:
- Log in → Finandy.com
- Algo-trading → TradingView Signals
- Create new signal (webhook)
- Configure main settings:
| Field | Value |
|---|---|
| Name | e.g. Infinity Algo Signals |
| Currency pair | {{ticker}} (one hook for all) |
| Position side | Both or Long only/Short only |
| Save | Shows Signal URL & Message |
Step 2: Get Webhook Credentials
After saving, Finandy displays your unique webhook details. Copy exactly as shown:
- Signal URL: Copy the exact URL displayed for your signal
- Signal Message: Copy the template with your secret token
Step 3: Create TWO TradingView Alerts
You MUST create two separate alerts — one for buy signals and one for sell signals.
Alert Configuration
| Alert field | Value |
|---|---|
| Condition | Infinity Algo → Choose your signal |
| Options | Once Per Bar Close |
| Webhook URL | Paste the exact Signal URL from Step 2 |
| Message | JSON template (see below) |
JSON Templates for Each Alert
Create this alert on a Buy condition:
{
"name": "Infinity Algo Signals",
"secret": "YOUR-SECRET",
"side": "buy",
"symbol": "{{ticker}}"
}Required: "side": "buy" (lowercase)
Create this alert on a Sell condition:
{
"name": "Infinity Algo Signals",
"secret": "YOUR-SECRET",
"side": "sell",
"symbol": "{{ticker}}"
}Required: "side": "sell" (lowercase)
Override take profit settings from alert:
{
"name": "Infinity Algo Signals",
"secret": "YOUR-SECRET",
"side": "buy",
"symbol": "{{ticker}}",
"tp": {
"orders": [
{ "ofs": "1.0", "price": "", "piece": "25" },
{ "ofs": "2.0", "price": "", "piece": "25" },
{ "ofs": "3.0", "price": "", "piece": "25" },
{ "ofs": "4.0", "price": "", "piece": "25" }
],
"update": true
}
}Note: Tick the take profit module checkbox in Finandy UI to accept values from signals, and include "update": true
Step 4: Set Take Profit & Stop Loss Inside Finandy (Optional)
- Open the webhook you created → Take Profit (TP) tab
- Tick Enable TP → choose Limit or Market
- Number of orders → choose how many levels
- Price offset (%) and Order distribution (%) per tier
- Level re-ordering keeps percentages intact when you DCA
- To accept take profit overrides from signals, tick the checkbox to enable
All take profit orders sit on the exchange; no extra TradingView alerts required.
- Open webhook → Stop Loss (SL) tab
- Tick Enable SL
- Choose Market or Limit
- Set Price offset (%)
- Optional: Enable Trailing
SL orders execute on exchange for fastest execution.
Real vs Virtual Orders:
- Real = orders placed on the exchange immediately
- Virtual = managed by terminal until trigger conditions are met
Choose based on your exchange and needs.
Alert Setup Examples
For “Buy Signal - Smart”:
- Condition: Infinity Algo → “Buy Signal - Smart”
- Webhook URL: Your Finandy Signal URL
- Message: Buy JSON with
"side": "buy"
For “Sell Signal - Smart”:
- Condition: Infinity Algo → “Sell Signal - Smart”
- Webhook URL: Same Finandy Signal URL
- Message: Sell JSON with
"side": "sell"
Step 5: Test & Monitor
- Interface → Signal log shows every webhook received with “OK” or error code
- Start with tiny sizes to verify setup
- Check that both buy AND sell alerts are working
- Use the Signal Log to see received JSON and actions taken
Position Side Configuration
| Your Trading Style | Position Side Setting | Result |
|---|---|---|
| Long & Short (Reversal) | Both | Closes opposite before opening new (one-way mode) |
| Long Only | Long only | Ignores sell signals |
| Short Only | Short only | Ignores buy signals |
| Strategy Mode | Strategy | Only for TradingView strategies |
Troubleshooting Checklist
| Issue | Solution |
|---|---|
| 403 error | Wrong secret or URL missing https:// |
| “Unknown side” | side must be exactly "buy" or "sell" (lowercase) |
| No orders | Check Position Side isn’t set to “Strategy” |
| Only buys work | Did you create the sell alert? |
| Wrong pair | Verify {{ticker}} placeholder |
| No reversal | Check Position Side = “Both” and one-way mode enabled |
| Hedge issues | Use Long only/Short only in hedge mode, not “Both” |
JSON Key Reference (Finandy)
| Key | Meaning | Details |
|---|---|---|
name |
Webhook identifier | Any descriptive name |
secret |
Auth token from signal | Keep private! |
side |
Trade direction | Required: "buy" or "sell" (lowercase) |
symbol |
Trading pair | Usually {{ticker}} |
tp.orders |
Take profit levels array | Optional override |
ofs |
% offset from entry | String: “1.0” = 1% |
piece |
% of position | Percentages that sum to intended total |
update |
Apply new settings | true to override take profit from signal |
