What You'll Learn
- βUnderstand how options trading automation works
- βCreate and configure your RelayDesk account
- βConnect your broker for paper or live trading
- βCreate Signals and link them to TradingView webhooks
- βCreate and activate your first trading bot
Understanding Options Trading Automation
Options trading automation allows you to execute trades based on predefined signals without manual intervention. RelayDesk sits between TradingView (where you create your trading signals) and your broker, automatically executing trades when your conditions are met.
How it works: You create a Signal in RelayDesk, which gives you a unique webhook URL. When TradingView hits that URL, RelayDesk triggers any Bots linked to that Signal. No complex payload required, just the URL.
This course will guide you through the complete setup process, from creating your account to executing your first automated trade.
Module 1: Creating Your RelayDesk Account
Getting started with RelayDesk is quick and straightforward:
- Visit relaydesk.trade and click "Get Started Free"
- Sign up using Google OAuth or email/password
- Verify your email if using email/password registration
- Complete your profile information
- Accept the Terms of Service
Your RelayDesk account is free during beta. Take advantage of this time to learn the platform thoroughly.
Module 2: Connecting Your Alpaca Broker
Your broker executes the trades. Here's how to connect:
- In RelayDesk, go to Settings β Broker Connections
- Click "Connect Broker"
- You'll be redirected to your broker's OAuth page
- Log in and authorize RelayDesk
- Select Paper mode for testing (highly recommended)
- You're connected, no API keys to copy or manage
Always start with Paper Trading! Test your strategies thoroughly before risking real capital.
Module 3: Creating a Signal
Signals are the bridge between TradingView and your bots:
- Go to the Signal Library in RelayDesk
- Click "Create New Signal"
- Give your signal a name (e.g., "SPY Long Entry")
- Select the direction (Long or Short)
- Save the signal
- Copy the unique webhook URL provided
Each signal has its own webhook URL. No JSON payload needed, TradingView just hits the URL, and RelayDesk handles the rest.
Module 4: Setting Up TradingView Webhooks
Connect your TradingView alerts to your RelayDesk signals:
- You need a TradingView Pro plan or higher for webhooks
- Create an alert in TradingView based on your strategy
- Enable "Webhook URL" in the alert notifications
- Paste your Signal's webhook URL from RelayDesk
- Leave the message body empty (or put anythingβit's ignored)
- Save the alert
- Test by triggering the alert manually
The webhook URL is all that matters. When TradingView hits it, RelayDesk fires the signal.
Module 5: Creating Your First Bot
Now create a bot that listens to your signal:
- Go to the Bots page in RelayDesk
- Click "Create New Bot"
- Select your Signal from the dropdown
- Choose your broker connection
- Set the underlying symbol (start with SPY for testing)
- Set position size to 1 contract
- Configure exit strategy (e.g., 30% TP, -25% SL)
- Enable risk controls (set a daily loss cap)
- Save and activate your bot
Start with the simplest possible configuration. You can always add complexity later once you understand how everything works.
Module 6: Your First Automated Trade
With everything set up, you're ready for your first automated trade:
- Ensure your bot is active (green indicator)
- Trigger your TradingView alert manually for testing
- Watch the Dashboard for the signal to arrive
- Verify the order was placed at your broker
- Monitor the position in RelayDesk
- Observe your exit strategy in action
- Review the trade in Trade History after completion
Monitor your first few trades closely. Check both RelayDesk and your broker to ensure everything is working as expected.
Next Steps
Congratulations on setting up your first bot! Here's what to do next:
- Run your bot in paper mode for at least 1-2 weeks
- Complete the Risk Management Masterclass
- Learn about the Exit Engine for advanced exits
- Study analytics to understand your bot's performance
- Only switch to live trading after consistent paper trading success
Key Takeaways
- βRelayDesk automates options trading by connecting TradingView signals to Alpaca execution
- βAlways start with paper trading before going live
- βProper account and broker setup is crucial for successful automation
- βWebhooks are the bridge between your TradingView strategy and RelayDesk bots
- βYour first bot should be simple and well-tested
What's Next?
Congratulations! π
You've completed this tutorial. Mark it as complete to track your progress.