This guide provides a step-by-step walkthrough on generating an exit webhook URL in Options Auto Trader. It covers enabling webhook functionality, selecting exit conditions, generating the webhook URL, configuring notifications with JSON data, and testing the setup.
Find the bot you want to configure an exit condition for.
Click on the gear icon in the top-right corner of the bot's interface.
Select the Entry Rules option.
If webhook functionality has not been enabled yet, click Enable Webhook for this Auto Trader to activate it.
Once the webhook feature is enabled, you'll see the Webhook URL Generator view.
Click on Generate Webhook URL.
In the action menu, select Exit (since you’re creating an exit webhook).
Decide how you want the bot to exit trades. You have the following options:
Exit a specific trade: This requires you to input the specific trade ID.
Exit all trades: This closes all trades associated with the bot.
Exit the newest trade: This closes only the most recent trade.
For this example, select Exit All Trades.
The system will generate a webhook URL.
Copy this URL for use in third-party platforms like TradingView.
Navigate to the third-party platform (e.g., TradingView).
Go to Notifications and paste the generated webhook URL in the Webhook URL field.
Inside the message field, input the required JSON data.
Copy the JSON data as needed for your webhook notification.
Send the webhook request to verify that it works.
Check for a success confirmation to ensure proper functionality.
If you’re exiting a specific trade, you’ll need to know the Trade ID.
Enter the Trade ID in the appropriate field when configuring the webhook.
Visit the Options Auto Trader Help Site.
Email support at support@optionsautotrader.com.