{"id":52892,"date":"2023-06-08T13:56:11","date_gmt":"2023-06-08T13:56:11","guid":{"rendered":"https:\/\/moon-bot.com\/ru\/ufaq\/why-do-i-need-the-cancelbuyaftersell-parameter-in-the-strategy-settings\/"},"modified":"2023-06-08T13:56:11","modified_gmt":"2023-06-08T13:56:11","slug":"why-do-i-need-the-cancelbuyaftersell-parameter-in-the-strategy-settings","status":"publish","type":"ufaq","link":"https:\/\/moon-bot.com\/ru\/ufaq\/why-do-i-need-the-cancelbuyaftersell-parameter-in-the-strategy-settings\/","title":{"rendered":"Why do I need the CancelBuyAfterSell parameter in the strategy settings?"},"content":{"rendered":"<style>.ewd-ufaq-post-margin-symbol { background-color: #82c52e !important; }.ewd-ufaq-faq-title .ewd-ufaq-post-margin-symbol span { font-size: 5 !important; }div.ewd-ufaq-faq-categories, div.ewd-ufaq-faq-tags { font-family: 9 !important; }<\/style><div  class=\"ewd-ufaq-faq-list ewd-ufaq-page-type-distinct ewd-ufaq-faq-category-title-accordion\" id='ewd-ufaq-faq-list'>\n\n\t<input type='hidden' name='show_on_load' value='' id='ewd-ufaq-show-on-load' \/>\n<input type='hidden' name='include_category' value='' id='ewd-ufaq-include-category' \/>\n<input type='hidden' name='exclude_category' value='' id='ewd-ufaq-exclude-category' \/>\n<input type='hidden' name='orderby' value='date' id='ewd-ufaq-orderby' \/>\n<input type='hidden' name='order' value='asc' id='ewd-ufaq-order' \/>\n<input type='hidden' name='post_count' value='-1' id='ewd-ufaq-post-count' \/>\n<input type='hidden' name='current_url' value='\/ru\/wp-json\/wp\/v2\/ufaq\/52892' id='ewd-ufaq-current-url' \/>\n\t\n\t\n\t<div class='ewd-ufaq-faqs'>\n\n\t\t<div  class=\"ewd-ufaq-faq-div ewd-ufaq-faq-column-count-one ewd-ufaq-faq-responsive-columns- ewd-ufaq-faq-display-style-contemporary ewd-ufaq-can-be-toggled\" id='ewd-ufaq-post-52892-Rji46B0O1G' data-post_id='52892'>\n\n\t<div class='ewd-ufaq-faq-title ewd-ufaq-faq-toggle'>\n\t\n\t<a class='ewd-ufaq-post-margin'  href='#'>\n\n\t\t<div class='ewd-ufaq-post-margin-symbol ewd-ufaq-'>\n\t\t\t<span >C<\/span>\n\t\t<\/div>\n\n\t\t<div class='ewd-ufaq-faq-title-text'>\n\n\t\t\t<h4>\n\t\t\t\tWhy do I need the CancelBuyAfterSell parameter in the strategy settings?\t\t\t<\/h4>\n\n\t\t<\/div>\n\n\t\t<div class='ewd-ufaq-clear'><\/div>\n\n\t<\/a>\n\t\n<\/div>\n\t\n\t<div class='ewd-ufaq-faq-body ' >\n\n\t\t\n\t\t\t<div class='ewd-ufaq-faq-categories'>\n\t\n\t:\n\t\n\t\tStrategy settings\n\t\n<\/div>\n\t\t\n\t\t\t<div class='ewd-ufaq-post-margin ewd-ufaq-faq-post'>\n\t<p>This setting works in a similar way to the checkbox on the Settings &#8211; Main tab (Cancel Buy After Sell), if CancelBuyAfterSell=YES, then when the Sell order of this strategy is executed and the trade is closed in profit or loss, all outstanding Buy orders or the rest of the order grid that were still in the stack will be cancelled. The setting of this option only affects orders of the same strategy or other strategies that place orders with the same JoinKey value (not zero).<\/p>\n<\/div>\n\t\t\n\t\t\t\n\t\t\n\t\t\t\n\t\t\n\t\t\t\n\t\t\n\t\t\t\n\t\t\n\t\t\t\n\t\t\n\t\t\t\n\t\t\n\t\t\t\n\t\t\n\t\t\t\n\t\t\n\t<\/div>\n\n<\/div>\n\t<\/div>\n\n\t\n<\/div>","protected":false},"excerpt":{"rendered":"<p>C Why do I need the CancelBuyAfterSell parameter in the strategy settings? : Strategy settings This setting works in a similar way to the checkbox on the Settings &#8211; Main tab (Cancel Buy After Sell), if CancelBuyAfterSell=YES, then when the Sell order of this strategy is executed and the trade is closed in profit or [&hellip;]<\/p>\n","protected":false},"author":6,"comment_status":"","ping_status":"closed","template":"","meta":{"pgc_meta":"","_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""}}},"ufaq-category":[87],"ufaq-tag":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Why do I need the CancelBuyAfterSell parameter in the strategy settings? - Moonbot<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/moon-bot.com\/ru\/ufaq\/why-do-i-need-the-cancelbuyaftersell-parameter-in-the-strategy-settings\/\" \/>\n<meta property=\"og:locale\" content=\"ru_RU\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Why do I need the CancelBuyAfterSell parameter in the strategy settings? - Moonbot\" \/>\n<meta property=\"og:description\" content=\"C Why do I need the CancelBuyAfterSell parameter in the strategy settings? : Strategy settings This setting works in a similar way to the checkbox on the Settings &#8211; Main tab (Cancel Buy After Sell), if CancelBuyAfterSell=YES, then when the Sell order of this strategy is executed and the trade is closed in profit or [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/moon-bot.com\/ru\/ufaq\/why-do-i-need-the-cancelbuyaftersell-parameter-in-the-strategy-settings\/\" \/>\n<meta property=\"og:site_name\" content=\"Moonbot\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/moon-bot.com\/ru\/ufaq\/why-do-i-need-the-cancelbuyaftersell-parameter-in-the-strategy-settings\/\",\"url\":\"https:\/\/moon-bot.com\/ru\/ufaq\/why-do-i-need-the-cancelbuyaftersell-parameter-in-the-strategy-settings\/\",\"name\":\"Why do I need the CancelBuyAfterSell parameter in the strategy settings? - Moonbot\",\"isPartOf\":{\"@id\":\"https:\/\/moon-bot.com\/ru\/#website\"},\"datePublished\":\"2023-06-08T13:56:11+00:00\",\"dateModified\":\"2023-06-08T13:56:11+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/moon-bot.com\/ru\/ufaq\/why-do-i-need-the-cancelbuyaftersell-parameter-in-the-strategy-settings\/#breadcrumb\"},\"inLanguage\":\"ru-RU\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/moon-bot.com\/ru\/ufaq\/why-do-i-need-the-cancelbuyaftersell-parameter-in-the-strategy-settings\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/moon-bot.com\/ru\/ufaq\/why-do-i-need-the-cancelbuyaftersell-parameter-in-the-strategy-settings\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u0413\u043b\u0430\u0432\u043d\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430\",\"item\":\"https:\/\/moon-bot.com\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"FAQs\",\"item\":\"https:\/\/moon-bot.com\/en\/ufaq\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Why do I need the CancelBuyAfterSell parameter in the strategy settings?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/moon-bot.com\/ru\/#website\",\"url\":\"https:\/\/moon-bot.com\/ru\/\",\"name\":\"MoonBot Trading Terminal\",\"description\":\"Advanced terminal for manual and automatic trading on cryptocurrency exchanges\",\"publisher\":{\"@id\":\"https:\/\/moon-bot.com\/ru\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/moon-bot.com\/ru\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"ru-RU\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/moon-bot.com\/ru\/#organization\",\"name\":\"MoonBot Trading Terminal\",\"url\":\"https:\/\/moon-bot.com\/ru\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ru-RU\",\"@id\":\"https:\/\/moon-bot.com\/ru\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/moon-bot.com\/wp-content\/uploads\/2023\/11\/LogoZnak02.png\",\"contentUrl\":\"https:\/\/moon-bot.com\/wp-content\/uploads\/2023\/11\/LogoZnak02.png\",\"width\":200,\"height\":200,\"caption\":\"MoonBot Trading Terminal\"},\"image\":{\"@id\":\"https:\/\/moon-bot.com\/ru\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Why do I need the CancelBuyAfterSell parameter in the strategy settings? - Moonbot","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/moon-bot.com\/ru\/ufaq\/why-do-i-need-the-cancelbuyaftersell-parameter-in-the-strategy-settings\/","og_locale":"ru_RU","og_type":"article","og_title":"Why do I need the CancelBuyAfterSell parameter in the strategy settings? - Moonbot","og_description":"C Why do I need the CancelBuyAfterSell parameter in the strategy settings? : Strategy settings This setting works in a similar way to the checkbox on the Settings &#8211; Main tab (Cancel Buy After Sell), if CancelBuyAfterSell=YES, then when the Sell order of this strategy is executed and the trade is closed in profit or [&hellip;]","og_url":"https:\/\/moon-bot.com\/ru\/ufaq\/why-do-i-need-the-cancelbuyaftersell-parameter-in-the-strategy-settings\/","og_site_name":"Moonbot","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/moon-bot.com\/ru\/ufaq\/why-do-i-need-the-cancelbuyaftersell-parameter-in-the-strategy-settings\/","url":"https:\/\/moon-bot.com\/ru\/ufaq\/why-do-i-need-the-cancelbuyaftersell-parameter-in-the-strategy-settings\/","name":"Why do I need the CancelBuyAfterSell parameter in the strategy settings? - Moonbot","isPartOf":{"@id":"https:\/\/moon-bot.com\/ru\/#website"},"datePublished":"2023-06-08T13:56:11+00:00","dateModified":"2023-06-08T13:56:11+00:00","breadcrumb":{"@id":"https:\/\/moon-bot.com\/ru\/ufaq\/why-do-i-need-the-cancelbuyaftersell-parameter-in-the-strategy-settings\/#breadcrumb"},"inLanguage":"ru-RU","potentialAction":[{"@type":"ReadAction","target":["https:\/\/moon-bot.com\/ru\/ufaq\/why-do-i-need-the-cancelbuyaftersell-parameter-in-the-strategy-settings\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/moon-bot.com\/ru\/ufaq\/why-do-i-need-the-cancelbuyaftersell-parameter-in-the-strategy-settings\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u0413\u043b\u0430\u0432\u043d\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430","item":"https:\/\/moon-bot.com\/en\/"},{"@type":"ListItem","position":2,"name":"FAQs","item":"https:\/\/moon-bot.com\/en\/ufaq\/"},{"@type":"ListItem","position":3,"name":"Why do I need the CancelBuyAfterSell parameter in the strategy settings?"}]},{"@type":"WebSite","@id":"https:\/\/moon-bot.com\/ru\/#website","url":"https:\/\/moon-bot.com\/ru\/","name":"MoonBot Trading Terminal","description":"Advanced terminal for manual and automatic trading on cryptocurrency exchanges","publisher":{"@id":"https:\/\/moon-bot.com\/ru\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/moon-bot.com\/ru\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"ru-RU"},{"@type":"Organization","@id":"https:\/\/moon-bot.com\/ru\/#organization","name":"MoonBot Trading Terminal","url":"https:\/\/moon-bot.com\/ru\/","logo":{"@type":"ImageObject","inLanguage":"ru-RU","@id":"https:\/\/moon-bot.com\/ru\/#\/schema\/logo\/image\/","url":"https:\/\/moon-bot.com\/wp-content\/uploads\/2023\/11\/LogoZnak02.png","contentUrl":"https:\/\/moon-bot.com\/wp-content\/uploads\/2023\/11\/LogoZnak02.png","width":200,"height":200,"caption":"MoonBot Trading Terminal"},"image":{"@id":"https:\/\/moon-bot.com\/ru\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/moon-bot.com\/ru\/wp-json\/wp\/v2\/ufaq\/52892"}],"collection":[{"href":"https:\/\/moon-bot.com\/ru\/wp-json\/wp\/v2\/ufaq"}],"about":[{"href":"https:\/\/moon-bot.com\/ru\/wp-json\/wp\/v2\/types\/ufaq"}],"author":[{"embeddable":true,"href":"https:\/\/moon-bot.com\/ru\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/moon-bot.com\/ru\/wp-json\/wp\/v2\/comments?post=52892"}],"wp:attachment":[{"href":"https:\/\/moon-bot.com\/ru\/wp-json\/wp\/v2\/media?parent=52892"}],"wp:term":[{"taxonomy":"ufaq-category","embeddable":true,"href":"https:\/\/moon-bot.com\/ru\/wp-json\/wp\/v2\/ufaq-category?post=52892"},{"taxonomy":"ufaq-tag","embeddable":true,"href":"https:\/\/moon-bot.com\/ru\/wp-json\/wp\/v2\/ufaq-tag?post=52892"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}