Episode four walks through complex orders on the open API, where one submission can carry your entry, your profit target and your stop. Peter builds an OTO first, with a buy to open entry as a day order and a sell to close target as GTC so it can wait for the trigger, then extends it into an OTOCO by adding a stop leg. He shows each payload and the resulting pending orders on the platform. 📊 tastylive: https://www.tastylive.com/ 📰 Get Tom's pre-market analysis every morning: https://www.tastylive.com/newsletters 📘 FREE Options Strategy Guide: https://tinyurl.com/bp9ms763 📱 Follow tastylive on X: https://x.com/tastyliveshow Chapters 00:00 What episode four covers 00:14 Complex and bracket orders 00:39 How an OTO is built 01:17 Why the trigger leg is GTC 01:28 The JSON payload for an OTO 02:02 Seeing it on the platform 02:17 Adding a stop for an OTOCO 02:52 The stop leg in the payload 03:12 The pending order on the platform 03:40 Where the docs examples live #tastylive #tastytrade #api #developers #bracketorders #tradingapi #automatedtrading #coding #fintech #optionstrading tastylive is a real financial network, producing hours of live programming every day. Follow along as our experts navigate the markets, provide actionable trading insights, and teach you how to trade. With over 120 original segments, and over 25 personalities, we'll help you take your trading to the next level, whether you are new to trading or a seasoned veteran. tastylive content is created, produced, and provided solely by tastylive, Inc. ("tastylive") and is for informational and educational purposes only. It is not, nor is it intended to be, trading or investment advice or a recommendation that any security, futures contract, digital asset, other product, transaction, or investment strategy is suitable for any person. Trading securities, futures products, and digital assets involve risk and may result in a loss greater than the original amount invested. Investment information provided may not be appropriate for all investors and is provided without respect to individual investor financial sophistication, financial situation, investing time horizon or risk tolerance. Options, futures, and futures options are not suitable for all investors. Prior to trading securities, options, futures, or futures options, please read all applicable risk disclosures, including, but not limited to, the Characteristics and Risks of Standardized Options Disclosure and the Futures and Exchange Traded Options Risk Disclosure Statement found at https://tastytrade.com/disclosures/. Past performance is not indicative of future results. Performance is not presented net of all commissions, fees, and expenses. Multi-leg option strategies incur higher transaction costs than single leg trades as they involve multiple commission charges. Examples provided are for illustrative, informational, and educational purposes only and are not intended to be reflective of results you can expect to achieve. Supporting documentation for any claims, including claims made on behalf of options programs), comparisons, statistics, or other technical data, if applicable, will be supplied upon request. tastylive, through its content, financial programming or otherwise, does not provide investment or financial advice or make investment recommendations. tastylive is not a licensed financial adviser, registered investment adviser, or a registered broker-dealer.