{"id":5429,"date":"2025-12-09T15:50:54","date_gmt":"2025-12-09T21:50:54","guid":{"rendered":"https:\/\/librarytestdev.wpenginepowered.com\/?post_type=doc&#038;p=5429"},"modified":"2025-12-16T16:36:37","modified_gmt":"2025-12-16T22:36:37","slug":"generating-position-in-queue-during-pre-open","status":"publish","type":"doc","link":"https:\/\/library-staging.tradingtechnologies.com\/adl\/adl-overview\/advanced-concepts\/case-studies-advanced-concepts\/generating-position-in-queue-during-pre-open\/","title":{"rendered":"Generating Position in Queue During Pre-open"},"content":{"rendered":"\n<!-- pages using refernce-tab-list layout will not trigger this condition. The Heading will be set in that layout file-->\n\n  \n    \n\n\n <!-- pages using refernce-tab-list layout will not trigger this condition. The Heading will be set in that layout file-->\n\n  \n     <!-- in source YML header, should also match the filename\/url -->\n       \n        \n\n        \n      \n          \n      \n\n\n\n\n\n\n\n\n\n\n<h2 id=\"case-study-overview\">Case Study Overview<\/h2>\n\n<p>A large Texas-based energy commodities trading firm is looking to hedge their long exposure in Light Sweet Crude oil\n    with Futures contracts. In this case study example, the markets for Crude Oil are in a closed state. The\n    requirements are to sell CME WTI futures at the next Settlement, executing as close to or at the Settlement price.\n    In order to try and guarantee execution at the settlement price, rather than waiting for WTI settlement and manually\n    executing the sell orders at that time, they are looking to sell CME WTI TAS contracts as close to a price of 0.<\/p>\n\n<p>Trading at Settlement (TAS) products, offered by multiple exchanges, allows users to execute at a spread to the\n    settlement price at any time during the trading session. You can enter a defined number of tick increments above or\n    below the settlement.<\/p>\n\n<p>As CME Crude Oil TAS (product code: CLT) is a first-in-first-out (FIFO) market, it\u2019s important to place the order at\n    the earliest possible time that the market can accept order placement. For CLT, this would be at the pre-open state.\n    The trader responsible for executing this is looking for viable options.\n<\/p>\n<h2 id=\"tt-timed\">Using the TT Timed Order Type<\/h2>\n\n<p>Within the TT platform, the user can utilize the <a href=\"\/trade\/tto-time-sliced-order.html\">TT Timed<\/a> synthetic algo order type. It is possible to place this\n    algo order type during any market state to place a native order when the market is in an order accepting state. Per\n    the above scenario, the market for Crude Oil is in a closed state, so the user can set the start time to trigger\n    native order placement at the start of the pre-open. This is set within the \u201cStart\u201d dropdown within the Precondition\n    details section:<\/p>\n\n<p><img decoding=\"async\" class=\"img-responsive\" src=\"https:\/\/library-staging.tradingtechnologies.com\/wp-content\/uploads\/2025\/12\/ac-generating-piq-tt-timed.png\"> \n<\/p>\n\n<p>Once the TT Price Server receives the first pre-open market state confirmation from the CME exchange for the CLT\n    instrument, CLT Oct23 in this example, the TT Timed algo will immediately place the child order.<\/p>\n\n    <h2 id=\"tt-retry\">Using the TT Retry Order Type<\/h2>\n\n    <p>Another option would be to use the <a href=\"\/trade\/tto-retry-order.html\">TT Retry<\/a> synthetic order type. A TT Retry order is a synthetic order that repeatedly submits a child order until it is accepted by the exchange or until it is rejected a specified number of times, based on:<\/p>\n\n    <ul>\n        <li>The time to submit the first child order<\/li>\n        <li>The maximum number of times to send a child order<\/li>\n        <li>The time between retry attempts<\/li>\n    <\/ul>\n\n    <p>The user can set a Start Time of 1 second before the CLT market opens at 17:00 CT and continue submitting a new order every 200 milliseconds until the order is either accepted or rejected 10 times:<\/p>\n\n    <p><img decoding=\"async\" class=\"img-responsive\" src=\"https:\/\/library-staging.tradingtechnologies.com\/wp-content\/uploads\/2025\/12\/ac-generating-piq-tt-retry.png\"> \n    <\/p>\n\n\n<h2 id=\"adl-ota\">Using an ADL Order Ticket Algo (OTA)<\/h2>\n\n<p>TT allows users to also create custom logic by utilizing the <a href=\"\/adl\/gs-adl-overview.html\">Algo Design Lab (ADL)<\/a>, where an <a href=\"\/adl\/ac-order-ticket-algos.html\">Order Ticket Algo (OTA)<\/a> can be developed to submit a child order at the pre-open similar to a TT Timed synthetic algo. Within the ADL algo, it is possible to create additional conditional logic that is not present within the TT Timed or TT Retry synthetic algos.<\/p>\n\n    <p>Users may want to utilize the <a href=\"\/adl\/tb-market-state-block.html\">Market State block<\/a> along with other logic conditions to drive child order placement. The <a href=\"\/adl\/db-generator-block.html#modes\">Generator block&#8217;s<\/a> time interval function may also be used as part of implementation of a retry logic.\n    <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Case Study Overview A large Texas-based energy commodities trading firm is looking to hedge their long exposur [&hellip;]<\/p>\n","protected":false},"author":2,"template":"","meta":{"_acf_changed":false,"footnotes":""},"docs-category":[928],"class_list":["post-5429","doc","type-doc","status-publish","hentry","docs-category-case-studies-advanced-concepts"],"acf":[],"_links":{"self":[{"href":"https:\/\/library-staging.tradingtechnologies.com\/ja\/wp-json\/wp\/v2\/doc\/5429","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/library-staging.tradingtechnologies.com\/ja\/wp-json\/wp\/v2\/doc"}],"about":[{"href":"https:\/\/library-staging.tradingtechnologies.com\/ja\/wp-json\/wp\/v2\/types\/doc"}],"author":[{"embeddable":true,"href":"https:\/\/library-staging.tradingtechnologies.com\/ja\/wp-json\/wp\/v2\/users\/2"}],"version-history":[{"count":0,"href":"https:\/\/library-staging.tradingtechnologies.com\/ja\/wp-json\/wp\/v2\/doc\/5429\/revisions"}],"wp:attachment":[{"href":"https:\/\/library-staging.tradingtechnologies.com\/ja\/wp-json\/wp\/v2\/media?parent=5429"}],"wp:term":[{"taxonomy":"docs-category","embeddable":true,"href":"https:\/\/library-staging.tradingtechnologies.com\/ja\/wp-json\/wp\/v2\/docs-category?post=5429"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}