Alert Request Format v0.3.x
This guide details the required JSON format for TradingView alerts to work with Xerolite v0.3.x. Each field in the alert message must follow the specified format below.
Alert Request Format
Field | Description | Mandatory | Example |
---|---|---|---|
name | The alert name, which helps you differentiate between different alerts. | “AAPL_LONG_001” | |
sec_type | The type of security:
|
“STK” | |
con_id | The unique contract ID from Interactive Brokers (IB). | “265598” | |
exch | The name of the exchange (e.g., SMART). | “SMART” | |
action | Specifies the action to take: either buy or sell. | “BUY” | |
volume | The number of shares or contracts you want to trade. | “100” |
Example Alert Message
{ "name": "AAPL_LONG_001", "sec_type": "STK", "con_id": "265598", "exch": "SMART", "action": "BUY", "volume": "100" }
Need Help?
If you encounter any issues or need assistance, please contact our support team at support@xeroflex.com