Command Hub
The Command Hub allows you to create and manage signals to control XetaAI bots. These signals can be used in TradingView alerts or with any webhook-compatible platform.
Signal Setup Process:
Select Your Account: Choose the account that you want to use for the signal.
Select the Signal Type: You have a variety of signal options to choose from:
Open: Opens a new position. You can also toggle the 'Close previous position' option to close an existing position before opening the new one.
Market Close: Closes an open position at market price.
Manual DCA: Executes a manual DCA for an open position.
Shutdown: Closes all positions and disables incoming signals.
Market Close All: Closes all open positions at market price.
Enable Trading: Enables the reception of incoming signals.
Disable Trading: Disables the reception of incoming signals.
Enable BOTH Configs: Enables both long and short configurations.
Disable BOTH Configs: Disables both long and short configurations.
Enable Long Configs: Enables only long configurations.
Disable Long Configs: Disables only long configurations (configurations with BOTH will still receive long signals).
Enable Short Configs: Enables only short configurations.
Disable Short Configs: Disables only short configurations (configurations with BOTH will still receive short signals).
Enable Config: Enables a specific configuration.
Disable Config: Disables a specific configuration.
Set Max. Positions: Set the maximum number of allowed open positions.
Set Max. Long Positions: Set the max number of long positions (setting this to 0 disables all long positions).
Set Max. Short Positions: Set the max number of short positions (setting this to 0 disables all short positions).
Configure Signal Details:
Select the Symbol: Choose the trading pair/symbol for the signal (e.g., BTC/USD).
Select the Side: Choose whether the signal is for a long or short position.
Webhook Payload: After selecting the options, you will see the generated webhook payload. You can copy and paste this payload into TradingView alerts.
Example of Webhook Payload:
Webhook URL for XetaAI Bot Manager:
https://webhook.xetaai.io/tradingView
How to Configure TradingView Alerts:
Webhook URL (I): Enter this URL in the Webhook URL field of the TradingView alert.
Payload (II): Paste the payload (the command to trigger the signal) into the alert message of the TradingView alert.
Important Notes:
Multiple signals can be sent in a single webhook in the following format:
[{...}, {...}]
Example: { "cmd": "set_risk", "bmid": "aHpaq2lBV3AP", "risk_profile": "risk_profile_1" }
This will first change the risk profile and then open a position.
Sequential Execution: Signals that require placing orders may not execute sequentially. Consider adding delays when opening or closing multiple positions in a single webhook.
This setup allows you to control your XetaAI bots via TradingView or other platforms that support webhooks, enabling efficient and automated trading management!
Last updated