Quick tutorial for getting setup on TradersPost with an automated trading strategy in less than 30 minutes.
Enter your email and click the I agree, Register button. Alternatively, you can login with your Google account if you have a Google account.
After creating your account, you will be redirected to a form to setup your account. Fill out the setup your account form with your information and click I agree, Continue.
After you setup your account, navigate to Brokers in the top menu bar.
On the next page, click Connect Live Broker or Connect Paper Broker.
Now, back in TradersPost click the Alpaca button to connect your Alpaca account to TradersPost.
Click the yellow Allow button to authorize TradersPost to access your Alpaca account.
You will be redirected back to TradersPost after your Alpaca account is connected successfully.
Congratulations! You successfully connected your broker to TradersPost. Continue reading to learn how start sending signals to TradersPost from your strategy.
Start by hovering over Strategies in the top menu bar and click Webhooks.
Click the black New Webhook button at the top right of the page.
Give your webhook a name like Stocks Webhook and click Save at the top right of the page.
Now that you have a webhook created, you are ready to create a strategy. Click the Create a new strategy link after saving your webhook.
Give your strategy a name like Stocks Strategy and associate your Stocks Webhook with the strategy by checking the checkbox next to your webhook, then click the Save button at the top right of the page.
Now that your strategy is created, you are ready to connect it to your Alpaca broker by subscribing to the strategy. Click the Create a subscription button to connect your subscription to your broker.
Choose which broker you want to connect the strategy to. Lets choose the Live Alpaca broker here.
Check the Confirm checkbox and then click the Confirm button to continue.
Your new strategy subscription has been created, but it is not enabled yet. Lets customize some of the settings before we enable it.
Check the Auto submit checkbox because we want the trades to submit to the broker automatically, without us having to manually approve or reject each trade. If you leave this unchecked, you will be able to approve or reject the trade before it submits to the broker.
Scroll down a little bit to the Tickers section and check SQ under the list of available Tickers or check Allow any ticker if you want to allow any ticker on this strategy subscription.
Scroll down a little more to the Advanced Options section and check Entry market and Exit market and then click the Save button. Lets keep it simple to start, normal market hours only with market orders.
You are ready to enable your first strategy subscription. Click the green Enable button at the top right to enable your strategy.
Your strategy subscription is now enabled! You are ready to start sending signals to TradersPost from your strategy.
In the top menu bar, hover over Strategies and click Webhooks. We're going to go back to the webhook we created in the beginning to copy the webhook URL so that we can use it in TradingView alerts.
Click the View button next to the webhook that we created in the beginning of this tutorial.
Click the Copy button next to the masked Webhook URL to copy the URL in to your computers clipboard.
Now you have your TradersPost Webhook URL in your computers clipboard so you are ready to head over to TradingView and create an alert for your strategy or indicator.
Next, load the SQ ticker on your chart and click the Create Alert button at the top right of TradingView.
Fill out the Settings tab in the Create Alert on SQ form. Enter the following settings.
- Choose Trend Following MOMO from the Condition dropdown
- Choose ProjectX Buy Alert from the 2nd dropdown under Condition
- Click Once Per Bar Close next to the Trigger section.
- Give the alert a name like TradersPost SQ Buy Alert.
- Paste the following JSON in to the alert message textarea.
Click the Notifications tab and paste the TradersPost Webhook URL in the Webhook URL field and then click the blue Create button.
Now do the same thing for the sell side. Except choose ProjectX Sell Alert this time and paste the JSON for a sell in to the alert message textarea and then click the blue Create button.
Congratulations! You are all set. You are live with your first automated trading strategy connected to your Alpaca broker. If you have any questions, join us in our Discord chat. Looking forward to seeing you there!