Subscriptions

Strategy subscriptions connect a strategy to a broker and control which orders are sent. Each subscription can copy strategy defaults or use its own settings.

Subscriptions, also known as Strategy Subscriptions, are what allow you to connect a strategy to a broker and to control what kind of orders get sent to the broker. A strategy subscription copies the default settings of the Strategy and can essentially have its own settings. This is a powerful feature because it allows you to define different rules for different accounts all executed from the same single signal.

Create a Subscription

Once you have connected your broker and created a strategy, now you are ready to subscribe to the strategy to connect it to your broker.

  1. Navigate to Subscriptions and click the New Subscription button at the top right.
  2. Choose the strategy that you want to subscribe to.
  3. Select one or more broker accounts to connect to the strategy. You can select an account that already has a subscription. TradersPost shows a warning before creating another one. You can search or filter the list without losing your selections. Click Continue when you are ready.
  4. Review the selected strategy and broker accounts, then click Create Subscription or Create Subscriptions.
  5. Every new subscription starts disabled. If you selected one broker account, TradersPost takes you directly to its settings. If you selected multiple accounts, TradersPost takes you to the subscriptions list so you can configure each one.
  6. Review each subscription's settings and click Save if you make changes. When you are ready, click the green Enable button. When TradersPost receives an alert to your webhook, a trade will be executed and orders sent to the enabled broker account.

What happens when a trade is executed?

  1. Cancel Open Orders - Open orders for the ticker will be canceled if one of the following is true
    • There is no open position for the ticker.
    • There is an open position and it is on the opposite side of the signal. For example you have an open long stocks position and you receive an action=sell signal. Any take profit or stop loss sell orders will be canceled before exiting the long stocks position.
    • The signal is an explicit cancel signal where action=cancel.
  2. Exit Current Position - Any open position for the ticker in the signal will be exited based on the configuration details in your subscription. For example, if you have a long stocks position open for AMD and you get an action=sell signal, the long position will be closed with a sell order.
  3. Enter New Position - A new position will be entered with an order based on the configuration details in your subscription.

Architecture

We separate the Brokers, Strategies, Subscriptions and Webhooks at an architecture level to give more flexibility. Some of the benefits are:

  • You can easily change the webhook that powers a strategy with zero disruption to the strategy subscribers.
  • You can connect a strategy to multiple different brokers with different settings.
  • You can connect a strategy to both a paper and live account at the same time and run them in parallel.