Skip to content
All library documents

Routing TradingView Alerts to FMZ Bots Through the Extended API

Article FMZ forum · Author: Ninabadass

Summary

The document explains how to connect TradingView alerts to an FMZ Quant bot using the platform’s extended API. It describes creating an API key with only the command permission needed, then configuring an alert webhook to call the bot’s command interface with a robot identifier and an action string. A monitoring bot reads each command and maps it to spot buys or sells, or futures position opening and closing operations.

A MACD chart is used as a demonstration signal, and the article walks through testing that the bot receives a command before connecting the webhook. The examples show how an alert can trigger an order, but provide no performance results or systematic strategy evaluation. The sample bot is educational and would need further safeguards and adjustments before live use; the article also recommends market orders. Since the API key is placed in the webhook URL in the described setup, key permissions and protection are central operational concerns.

Key ideas

  • TradingView alerts can send command strings to FMZ bots through the extended API.
  • The bot polls for commands and maps them to spot or futures order actions.
  • The example uses a MACD alert as a signal source, but does not evaluate its trading performance.
  • API keys should be restricted to the command interface and protected.
  • The sample bot is presented for study and requires changes before live trading.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.