Features & Settings

Placing Orders with OCO using TradersPost

Learn how to utilize Order-Cancel-Order (OCO) functionality in TradersPost to automate your trading strategies and manage risk effectively. This guide provides step-by-step instructions for setting up OCO orders, ensuring you can capitalize on market movements with ease.

Tom Hartman

Marketing

3 Min Read Reviewed by Mike Christensen Fact-checked by Mike Christensen
BluSky — The Future of Trading. Prop firm futures trading. Sign up at BluSky.pro.
Update history
  1. Major update

    Current TradersPost documentation limits OCO to broker-supported bracket orders and excludes standalone OCO for existing positions, so the guidance now reflects bracket-only use and the limits on open-position orders.

Order-Cancel-Order (OCO) is an advanced trading feature that allows traders to place two conditional orders simultaneously, where the execution of one order cancels the other. This technique is particularly useful for managing risk and optimizing entry and exit points in volatile markets. In this guide, we will explore how to use OCO behavior in broker-supported bracket orders with TradersPost1.

Understanding OCO Orders

OCO orders are designed to automate trading strategies by setting up two orders with opposing conditions. In TradersPost, OCO behavior is available as part of a broker-supported bracket order, where take-profit and stop-loss exits are submitted with the entry1. This is especially beneficial for managing a position with defined profit-taking and loss-limiting exit conditions1.

Setting Up OCO Orders in TradersPost

To set up a bracket order in TradersPost, start by identifying the entry, take-profit, and stop-loss price levels for your trade1. For example, you might set a buy stop entry $2 above the current price, with take-profit and stop-loss exit prices1.

Next, log in to your TradersPost account and navigate to the order entry section. Configure a bracket order with the entry and protective exit details, including the price points and order size1.

To automate bracket orders, utilize the webhook functionality in TradersPost. Refer to the documentation for the required JSON payload, which includes the entry and protective exit details required by your broker1.

Ensure that your broker supports the type of OCO order you intend to place. TradersPost provides compatibility with various brokers, but specific features may vary. Once your orders are configured, execute them and monitor their status. When supported by your broker as part of a bracket order, the take-profit and stop-loss exits are tied together so one is canceled when the other is filled1.

Example Scenario

Imagine you are trading a stock currently priced at $100. You anticipate a move higher and want to define your exits in advance. By placing a bracket order, you can set a buy stop entry at $102 with take-profit and stop-loss exits. If the price rises and hits $102, your buy order is executed and the protective exits are submitted as part of the bracket workflow. If either exit is filled, the other exit is automatically canceled1.

Tips for Effective Use of OCO Orders

To make the most of bracket orders, consider utilizing trailing stop orders separately from OCO behavior1. Attaching trailing stop orders to your OCO setup can help protect profits or limit losses once the initial order is filled. Be aware of the margin requirements and rules of your broker to ensure you have sufficient funds to cover the orders.

Different brokers offer varying levels of support for complex order types. Regularly check for updates and enhancements in TradersPost’s offering to take full advantage of available features.

Conclusion

OCO orders are a powerful tool for traders looking to manage risk and capitalize on market volatility. By understanding how bracket orders use OCO behavior in TradersPost, you can enhance your trading strategy and improve your chances of success1. Always ensure your broker supports the specific order types you need and stay updated with the latest features provided by TradersPost.

References

1 blog.traderspost.io, Managing Multiple Stop-Limit Orders: Canceling One ... - Blog

  • Walk-Forward Optimization Trading Guide

    Master walk-forward optimization trading to test strategies across market regimes, reduce curve fitting, and prepare alerts for disciplined automation.

  • Video

    Position Sizing Automation to Protect and Scale

    Learn how position sizing automation uses fixed, dollar, equity, and stop-based risk methods to protect capital and scale TradersPost strategies reliably.

  • Video

    TradersPost Paper Trading Validation Guide

    Learn TradersPost paper trading validation: route real TradingView or TrendSpider alerts, review fills and risk orders, then safely prepare for live trading.

  • Video

    Automate Trading Around Economic Events

    Learn to automate trading around economic events with Trading Windows, TradingView alerts, and disciplined plans for FOMC, CPI, earnings, and major releases.

Start trading at scale today. Sign up for free.

Free 7-day trial

Set-up in 3 minutes

Paper account for testing

TradersPost operates as a non-custodial automated trading platform, enabling users to connect alerts from their preferred trading platforms to their selected brokerage or exchange accounts. It abstains from the transmission, custody, or management of customer funds, covering both traditional and cryptocurrency assets. Typically, registration requirements set by regulatory entities such as the SEC, FINRA, or FinCEN apply to entities that hold or transmit customer funds. To ensure ongoing compliance, TradersPost regularly engages with regulatory authorities to confirm its adherence to all relevant local and federal laws.

TradersPost does not provide alerts, signals, research, analysis, or trading advice of any kind. It is designed to assist traders and investors in making their own trading decisions based on their alerts. The platform does not offer recommendations regarding securities to buy or sell, nor does it provide trading or investing advice. The platform and its features, capabilities, and tools are provided 'as-is' without any warranty.

Risk Disclosure: The use of automated trading systems involves inherent risks, including the potential for significant financial loss. These systems operate based on predetermined algorithms that may not fully adapt to changing market conditions, possibly making them unsuitable for some investors. Individuals are advised to thoroughly assess their financial situation and risk tolerance before using this platform.

Testimonials appearing on this website may not be representative of other clients or customers and is not a guarantee of future performance or success.

Broker, exchange, trading platform, company names, product names, service marks, trademarks, and logos appearing on this website are the property of their respective owners and are used solely to identify supported connections and technical compatibility. TradersPost is an independent third-party platform and is not affiliated with, endorsed by, sponsored by, or authorized by any of these organizations unless expressly stated. Technical compatibility does not imply a commercial partnership, sponsorship, endorsement, or authorization. See Important Disclosures for trademark information.

© 2026 TradersPost, Inc. All rights reserved.