{"id":41946,"date":"2026-06-22T21:24:02","date_gmt":"2026-06-23T02:24:02","guid":{"rendered":"https:\/\/library-staging.tradingtechnologies.com\/doc\/launching-an-oma-in-the-order-book-2\/"},"modified":"2026-06-22T21:24:05","modified_gmt":"2026-06-23T02:24:05","slug":"launching-an-oma-in-the-order-book-2","status":"publish","type":"doc","link":"https:\/\/library-staging.tradingtechnologies.com\/ja\/launching-an-oma-in-the-order-book-2\/","title":{"rendered":"\u6ce8\u6587\u4e00\u89a7\u3067\u306e OMA \u306e\u8d77\u52d5"},"content":{"rendered":"<div>\n<p>\u6ce8\u6587\u7ba1\u7406\u30a2\u30eb\u30b4 (OMA) \u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u5834\u5408\u3001[Order Book] \u304b\u3089\u6ce8\u6587\u3092\u8d77\u52d5\u3067\u304d\u307e\u3059\u3002\u65e2\u5b58\u306e\u6ce8\u6587\u304b\u3089\u30a2\u30eb\u30b4\u3092\u8d77\u52d5\u3059\u308b\u306b\u306f\u0081<\/p>\n<ol>\n<li>\n<p>\u5e0c\u671b\u306e\u6ce8\u6587\u3092\u9078\u629e\u3057\u307e\u3059\u3002<\/p>\n<\/li>\n<li>\n<p><img decoding=\"async\" src=\"https:\/\/library-staging.tradingtechnologies.com\/wp-content\/uploads\/2026\/06\/btn-launch-oma-algo-5.png\" alt=\"\"> \u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u3001\u5b9f\u884c\u3059\u308b OMA \u30a2\u30eb\u30b4\u3092\u9078\u629e\u3057\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" class=\"img-responsive\" src=\"https:\/\/library-staging.tradingtechnologies.com\/wp-content\/uploads\/2026\/06\/ob-launch-oma-1.png\"><\/p>\n<\/li>\n<li>\n<p>\u30a2\u30eb\u30b4\u306b\u3088\u308a\u5fc5\u9808\u3065\u3051\u3089\u308c\u3066\u3044\u308b\u60c5\u5831\u3092\u5165\u529b\u3057\u3066\u3001<img decoding=\"async\" src=\"https:\/\/library-staging.tradingtechnologies.com\/wp-content\/uploads\/2026\/06\/btn-green-select-algo-2.png\" alt=\"\u30a2\u30eb\u30b4\u306e\u8d77\u52d5\"> \u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" class=\"img-responsive\" src=\"https:\/\/library-staging.tradingtechnologies.com\/wp-content\/uploads\/2026\/06\/ob-oma-params-1.png\"><\/p>\n<\/li>\n<\/ol>\n<h2 id=\"multiple-oma\">OCO \u6ce8\u6587\u7ba1\u7406\u30a2\u30eb\u30b4\u3092\u4f7f\u3063\u305f2\u3064\u306e\u6ce8\u6587\u306e\u9023\u7d50<\/h2>\n<p>TT \u306f\u3001[Order Book] \u306b\u30662\u3064\u306e\u7d04\u5b9a\u5f85\u3061\u6ce8\u6587\u3092\u9078\u629e\u3067\u304d\u308b\u6a5f\u80fd\u3092\u63d0\u4f9b\u3057\u3066\u3044\u3066\u3001OCO (Order Cancels Order) \u6ce8\u6587\u7ba1\u7406\u30a2\u30eb\u30b4 (OMA) \u3092\u9069\u7528\u3057\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001OCO \u306e\u4e00\u90e8\u3068\u3057\u3066\u30de\u30fc\u30b1\u30c3\u30c8\u3067\u53d6\u308a\u7d44\u307f\u305f\u3044\u5b50\u6ce8\u6587\u3092\u9078\u629e\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><!--\n\n\n<p>TT released the OCO public algo that provides you with the ability to select two working orders in the Order Book and apply an OCO (Order Cancels Order) OMA algo to them. This public algo enhances the TT OCO order type to work with existing orders without regard to whether they use different products and quantities. You could, for example, apply an OCO OMA algo using a working order for a 5-lot BRN Dec17 instrument and an order for a 10-lot CL Dec17 order. The OCO public algo also lets you choose whether cancel the order if the market state of one of the child orders changes.<\/p>\n\n\n\n\n<p>In addition to the <a href=\"tto-oco-order.html\">TT OCO<\/a> order type parameters, the OCO public algo adds the following parameters:<\/p>\n\n\n\n\n<ol>\n    \n\n<li>\n      <strong>Delete orphan<\/strong>: Whether to delete the balance of a larger order when an order with a smaller quantity is fully-filled.\n      \n\n\n      If, at any time, the working quantity of either of the OCO OMA child orders goes to zero, the other order is considered to be an \"orphan.\" When this parameter is TRUE, the remaining order is deleted, regardless of its working quantity.\n    <\/li>\n\n\n    \n\n<li>\n      <strong>Enforce Mkt State<\/strong>: Whether to delete the OCO order, and its child orders, if the market state of one of the child instruments changes to a state other than Open.\n      \n\n\n      If the market state of an instrument changes to something other than Open, the algo sets a 250ms grace period timer. If, after the grace period, the market state is still not Open and Enforce Mkt State is enabled, both orders will be deleted. After sending the delete requests, the algo waits another 250ms and then terminates the algo.\n    <\/li>\n\n\n<\/ol>\n\n\n--><\/p>\n<p><strong>\u6ce8<\/strong>: \u4ee5\u4e0b\u306e\u6ce8\u6587\u30bf\u30a4\u30d7\u306f OCO \u306b\u5909\u63db\u3067\u304d\u307e\u305b\u3093\u3002<\/p>\n<ul>\n<li>TT \u6ce8\u6587\u30bf\u30a4\u30d7\u306e\u89aa\u6ce8\u6587<\/li>\n<li>Autospreader\u00ae \u89aa\u6ce8\u6587<\/li>\n<li>Aggregator \u89aa\u6ce8\u6587<\/li>\n<li>OTC \u6ce8\u6587<\/li>\n<\/ul>\n<p>OCO \u3068\u3057\u30662\u3064\u306e\u6ce8\u6587\u3092\u9023\u7d50\u3059\u308b\u306b\u306f<\/p>\n<ol>\n<li>[Order Book] (\u6ce8\u6587\u4e00\u89a7) \u30672\u3064\u306e\u6ce8\u6587\u3092\u9078\u629e\u3057\u307e\u3059\u3002<\/li>\n<li>\n<p><img decoding=\"async\" src=\"https:\/\/library-staging.tradingtechnologies.com\/wp-content\/uploads\/2026\/06\/btn-launch-oma-algo-6.png\" alt=\"\"> \u3092\u30af\u30ea\u30c3\u30af\u3057\u3001[<strong>Shared with me<\/strong>] \u304b\u3089 [<strong>OCO<\/strong>] \u30a2\u30eb\u30b4\u3092\u9078\u629e\u3057\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" class=\"img-responsive\" src=\"https:\/\/library-staging.tradingtechnologies.com\/wp-content\/uploads\/2026\/06\/ob-launch-oco-oma-1.png\"><\/p>\n<p hidden><img decoding=\"async\" class=\"img-responsive\" src=\"https:\/\/d2a60r40jam9et.cloudfront.net\/trade_ja\/Content\/ob-launch-oco-oma-new.png\"><\/p>\n<\/li>\n<li>[<strong>TTOrderKey<\/strong>] \u6b04\u306b\u3066\u4e21\u65b9\u306e\u7d04\u5b9a\u5f85\u3061\u6ce8\u6587\u306e TT \u6ce8\u6587 ID \u304c\u3042\u308b\u306e\u3092\u78ba\u8a8d\u3057\u3001\u5fc5\u8981\u306b\u5fdc\u3058\u3066\u4ed6\u306e\u30a2\u30eb\u30b4 \u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u5165\u529b\u3057\u307e\u3059 (\u4f8b: \u30b3\u30ed\u30b1\u30fc\u30b7\u30e7\u30f3)\u3002\n<p><img decoding=\"async\" class=\"img-responsive\" src=\"https:\/\/library-staging.tradingtechnologies.com\/wp-content\/uploads\/2026\/06\/ob-launch-oco-oma2-1.png\"><\/p>\n<\/li>\n<li><img decoding=\"async\" src=\"https:\/\/library-staging.tradingtechnologies.com\/wp-content\/uploads\/2026\/06\/btn-green-select-algo-3.png\" alt=\"\u30a2\u30eb\u30b4\u306e\u8d77\u52d5\"> \u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002\n<\/p>\n<p>\u89aa OCO \u6ce8\u6587\u306f [Order Book] \u306b\u8868\u793a\u3055\u308c\u3001[<strong>Contract<\/strong>] \u5217\u3068 [<strong>AlgoName<\/strong>] \u5217\u306b \u300cOCO\u300d\u3068\u8868\u793a\u3055\u308c\u307e\u3059\u3002\u95a2\u9023\u5b50\u6ce8\u6587\u306b\u306f\u540c\u3058 OMA \u6ce8\u6587 ID \u304c [<strong>OMAOrderID<\/strong>] \u5217\u306b\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" class=\"img-responsive\" src=\"https:\/\/library-staging.tradingtechnologies.com\/wp-content\/uploads\/2026\/06\/ob-launch-oco-oma3-1.png\"><\/p>\n<p hidden><img decoding=\"async\" class=\"img-responsive\" src=\"https:\/\/d2a60r40jam9et.cloudfront.net\/trade_ja\/Content\/ob-launch-oco-oma-new3.png\"><\/p>\n<p><!-- 2017-08-08* autosave images --><\/li>\n<\/ol><\/div>\n","protected":false},"excerpt":{"rendered":"<div>\n<p>\u6ce8\u6587\u7ba1\u7406\u30a2\u30eb\u30b4 (OMA) \u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u5834\u5408\u3001[Order Book] \u304b\u3089\u6ce8\u6587\u3092\u8d77\u52d5\u3067\u304d\u307e\u3059\u3002\u65e2\u5b58\u306e\u6ce8\u6587\u304b\u3089\u30a2\u30eb\u30b4\u3092\u8d77\u52d5\u3059\u308b\u306b\u306f\u0081<\/p>\n<ol>\n<li>\n<p>\u5e0c\u671b\u306e\u6ce8\u6587\u3092\u9078\u629e\u3057\u307e\u3059\u3002<\/p>\n<\/li>\n<li>\n<p><img decoding=\"async\" src=\"https:\/\/library-staging.tradingtechnologies.com\/wp-content\/uploads\/2026\/06\/btn-launch-oma-algo-5.png\" alt=\"\"> \u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u3001\u5b9f\u884c\u3059\u308b OMA \u30a2\u30eb\u30b4\u3092\u9078\u629e\u3057\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" class=\"img-responsive\" src=\"https:\/\/library-staging.tradingtechnologies.com\/wp-content\/uploads\/2026\/06\/ob-launch-oma-1.png\"><\/p>\n<\/li>\n<li>\n<p>\u30a2\u30eb\u30b4\u306b\u3088\u308a\u5fc5\u9808\u3065\u3051\u3089\u308c\u3066\u3044\u308b\u60c5\u5831\u3092\u5165\u529b\u3057\u3066\u3001<img decoding=\"async\" src=\"https:\/\/library-staging.tradingtechnologies.com\/wp-content\/uploads\/2026\/06\/btn-green-select-algo-2.png\" alt=\"\u30a2\u30eb\u30b4\u306e\u8d77\u52d5\"> \u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" class=\"img-responsive\" src=\"https:\/\/library-staging.tradingtechnologies.com\/wp-content\/uploads\/2026\/06\/ob-oma-params-1.png\"><\/p>\n<\/li>\n<\/ol>\n<h2 id=\"multiple-oma\">OCO \u6ce8\u6587\u7ba1\u7406\u30a2\u30eb\u30b4\u3092\u4f7f\u3063\u305f2\u3064\u306e\u6ce8\u6587\u306e\u9023\u7d50<\/h2>\n<p>TT \u306f\u3001[Order Book] \u306b\u30662\u3064\u306e\u7d04\u5b9a\u5f85\u3061\u6ce8\u6587\u3092\u9078\u629e\u3067\u304d\u308b\u6a5f\u80fd\u3092\u63d0\u4f9b\u3057\u3066\u3044\u3066\u3001OCO (Order Cancels Order) \u6ce8\u6587\u7ba1\u7406\u30a2\u30eb\u30b4 (OMA) \u3092\u9069\u7528\u3057\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001OCO \u306e\u4e00\u90e8\u3068\u3057\u3066\u30de\u30fc\u30b1\u30c3\u30c8\u3067\u53d6\u308a\u7d44\u307f\u305f\u3044\u5b50\u6ce8\u6587\u3092\u9078\u629e\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><!--\n\n\n\n\n<p>TT released the OCO public algo that provides you with the ability to select two working orders in the Order Book and apply an OCO (Order Cancels Order) OMA algo to them. This public algo enhances the TT OCO order type to work with existing orders without regard to whether they use different products and quantities. You could, for example, apply an OCO OMA algo using a working order for a 5-lot BRN Dec17 instrument and an order for a 10-lot CL Dec17 order. The OCO public algo also lets you choose whether cancel the order if the market state of one of the child orders changes.<\/p>\n\n\n\n\n\n\n\n\n<p>In addition to the <a href=\"tto-oco-order.html\">TT OCO<\/a> order type parameters, the OCO public algo adds the following parameters:<\/p>\n\n\n\n\n\n\n\n\n<ol>\n    \n\n\n\n<li>\n      <strong>Delete orphan<\/strong>: Whether to delete the balance of a larger order when an order with a smaller quantity is fully-filled.\n      \n\n\n      If, at any time, the working quantity of either of the OCO OMA child orders goes to zero, the other order is considered to be an \"orphan.\" When this parameter is TRUE, the remaining order is deleted, regardless of its working quantity.\n    <\/li>\n\n\n\n\n    \n\n\n\n<li>\n      <strong>Enforce Mkt State<\/strong>: Whether to delete the OCO order, and its child orders, if the market state of one of the child instruments changes to a state other than Open.\n      \n\n\n      If the market state of an instrument changes to something other than Open, the algo sets a 250ms grace period timer. If, after the grace period, the market state is still not Open and Enforce Mkt State is enabled, both orders will be deleted. After sending the delete requests, the algo waits another 250ms and then terminates the algo.\n    <\/li>\n\n\n\n\n<\/ol>\n\n\n\n\n--><\/p>\n<p><strong>\u6ce8<\/strong>: \u4ee5\u4e0b\u306e\u6ce8\u6587\u30bf\u30a4\u30d7\u306f OCO \u306b\u5909\u63db\u3067\u304d\u307e\u305b\u3093\u3002<\/p>\n<ul>\n<li>TT \u6ce8\u6587\u30bf\u30a4\u30d7\u306e\u89aa\u6ce8\u6587<\/li>\n<li>Autospreader\u00ae \u89aa\u6ce8\u6587<\/li>\n<li>Aggregator \u89aa\u6ce8\u6587<\/li>\n<li>OTC \u6ce8\u6587<\/li>\n<\/ul>\n<p>OCO \u3068\u3057\u30662\u3064\u306e\u6ce8\u6587\u3092\u9023\u7d50\u3059\u308b\u306b\u306f<\/p>\n<ol>\n<li>[Order Book] (\u6ce8\u6587\u4e00\u89a7) \u30672\u3064\u306e\u6ce8\u6587\u3092\u9078\u629e\u3057\u307e\u3059\u3002<\/li>\n<li>\n<p><img decoding=\"async\" src=\"https:\/\/library-staging.tradingtechnologies.com\/wp-content\/uploads\/2026\/06\/btn-launch-oma-algo-6.png\" alt=\"\"> \u3092\u30af\u30ea\u30c3\u30af\u3057\u3001[<strong>Shared with me<\/strong>] \u304b\u3089 [<strong>OCO<\/strong>] \u30a2\u30eb\u30b4\u3092\u9078\u629e\u3057\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" class=\"img-responsive\" src=\"https:\/\/library-staging.tradingtechnologies.com\/wp-content\/uploads\/2026\/06\/ob-launch-oco-oma-1.png\"><\/p>\n<p hidden><img decoding=\"async\" class=\"img-responsive\" src=\"https:\/\/d2a60r40jam9et.cloudfront.net\/trade_ja\/Content\/ob-launch-oco-oma-new.png\"><\/p>\n<\/li>\n<li>[<strong>TTOrderKey<\/strong>] \u6b04\u306b\u3066\u4e21\u65b9\u306e\u7d04\u5b9a\u5f85\u3061\u6ce8\u6587\u306e TT \u6ce8\u6587 ID \u304c\u3042\u308b\u306e\u3092\u78ba\u8a8d\u3057\u3001\u5fc5\u8981\u306b\u5fdc\u3058\u3066\u4ed6\u306e\u30a2\u30eb\u30b4 \u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u5165\u529b\u3057\u307e\u3059 (\u4f8b: \u30b3\u30ed\u30b1\u30fc\u30b7\u30e7\u30f3)\u3002\n<p><img decoding=\"async\" class=\"img-responsive\" src=\"https:\/\/library-staging.tradingtechnologies.com\/wp-content\/uploads\/2026\/06\/ob-launch-oco-oma2-1.png\"><\/p>\n<\/li>\n<li><img decoding=\"async\" src=\"https:\/\/library-staging.tradingtechnologies.com\/wp-content\/uploads\/2026\/06\/btn-green-select-algo-3.png\" alt=\"\u30a2\u30eb\u30b4\u306e\u8d77\u52d5\"> \u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002\n<\/p>\n<p>\u89aa OCO \u6ce8\u6587\u306f [Order Book] \u306b\u8868\u793a\u3055\u308c\u3001[<strong>Contract<\/strong>] \u5217\u3068 [<strong>AlgoName<\/strong>] \u5217\u306b \u300cOCO\u300d\u3068\u8868\u793a\u3055\u308c\u307e\u3059\u3002\u95a2\u9023\u5b50\u6ce8\u6587\u306b\u306f\u540c\u3058 OMA \u6ce8\u6587 ID \u304c [<strong>OMAOrderID<\/strong>] \u5217\u306b\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" class=\"img-responsive\" src=\"https:\/\/library-staging.tradingtechnologies.com\/wp-content\/uploads\/2026\/06\/ob-launch-oco-oma3-1.png\"><\/p>\n<p hidden><img decoding=\"async\" class=\"img-responsive\" src=\"https:\/\/d2a60r40jam9et.cloudfront.net\/trade_ja\/Content\/ob-launch-oco-oma-new3.png\"><\/p>\n<p><!-- 2017-08-08* autosave images --><\/li>\n<\/ol>\n<\/div>\n","protected":false},"author":2,"template":"","meta":{"_acf_changed":false,"footnotes":""},"docs-category":[262],"class_list":["post-41946","doc","type-doc","status-publish","hentry","docs-category-task-order-book"],"acf":[],"_links":{"self":[{"href":"https:\/\/library-staging.tradingtechnologies.com\/ja\/wp-json\/wp\/v2\/doc\/41946","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\/41946\/revisions"}],"wp:attachment":[{"href":"https:\/\/library-staging.tradingtechnologies.com\/ja\/wp-json\/wp\/v2\/media?parent=41946"}],"wp:term":[{"taxonomy":"docs-category","embeddable":true,"href":"https:\/\/library-staging.tradingtechnologies.com\/ja\/wp-json\/wp\/v2\/docs-category?post=41946"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}