{"id":82528,"date":"2024-09-10T17:41:18","date_gmt":"2024-09-10T17:41:18","guid":{"rendered":"https:\/\/moon-bot.com\/ru\/ufaq\/i-have-both-long-and-short-orders-set-up-in-the-moonbot-terminal-but-after-placing-an-order-in-long-position-short-orders-are-not-placed-and-the-log-shows-the-following-entry-market-xxx-is-opened-i\/"},"modified":"2025-08-29T20:43:30","modified_gmt":"2025-08-29T20:43:30","slug":"i-have-both-long-and-short-orders-set-up-in-the-moonbot-terminal-but-after-placing-an-order-in-long-position-short-orders-are-not-placed-and-the-log-shows-the-following-entry-market-xxx-is-opened-i","status":"publish","type":"ufaq","link":"https:\/\/moon-bot.com\/ru\/ufaq\/i-have-both-long-and-short-orders-set-up-in-the-moonbot-terminal-but-after-placing-an-order-in-long-position-short-orders-are-not-placed-and-the-log-shows-the-following-entry-market-xxx-is-opened-i\/","title":{"rendered":"I have both long and short orders set up in the MoonBot terminal, but after placing an order in long position, short orders are not placed and the log shows the following entry: Market XXX is opened in Long position, how can I fix this?"},"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\/82528' 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-82528-tCMishAC81' data-post_id='82528'>\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\tI have both long and short orders set up in the MoonBot terminal, but after placing an order in long position, short orders are not placed and the log shows the following entry: Market XXX is opened in Long position, how can I fix this?\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\tLog errors\n\t\n<\/div>\n\t\t\n\t\t\t<div class='ewd-ufaq-post-margin ewd-ufaq-faq-post'>\n\t\n<p>For some strategies in the MoonBot terminal, on the Filters \/ Price\/Position tab of the strategy settings, the SamePosition parameter is used (to place subsequent orders in the direction of the open position). If SamePosition=YES and, for example, a long position has been opened, subsequent orders will also be placed as long orders, and if you try to place short orders, MoonBot will reject this action and indicate the reason in the log: Market XXX is opened in Long position. You need to use this setting correctly or make separate copies of strategies for long and short orders.<\/p>\n\n\n\n<p>To ensure that this parameter is checked by the strategy, set IgnoreFilters = NO on the general Filters tab, and set IgnorePrice = NO on the Filters \/ Price\/Position tab. A green vertical bar should be visible to the left of the Filters \/ Price\/Position tab, indicating that this tab and the parameters in it are not being ignored.<\/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 I have both long and short orders set up in the MoonBot terminal, but after placing an order in long position, short orders are not placed and the log shows the following entry: Market XXX is opened in Long position, how can I fix this? : Log errors For some strategies in the MoonBot [&hellip;]<\/p>\n","protected":false},"author":6,"comment_status":"closed","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":"default","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":"set","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":[91],"ufaq-tag":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>I have both long and short orders set up in the MoonBot terminal, but after placing an order in long position, short orders are not placed and the log shows the following entry: Market XXX is opened in Long position, how can I fix this? - 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\/i-have-both-long-and-short-orders-set-up-in-the-moonbot-terminal-but-after-placing-an-order-in-long-position-short-orders-are-not-placed-and-the-log-shows-the-following-entry-market-xxx-is-opened-i\/\" \/>\n<meta property=\"og:locale\" content=\"ru_RU\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"I have both long and short orders set up in the MoonBot terminal, but after placing an order in long position, short orders are not placed and the log shows the following entry: Market XXX is opened in Long position, how can I fix this? - Moonbot\" \/>\n<meta property=\"og:description\" content=\"C I have both long and short orders set up in the MoonBot terminal, but after placing an order in long position, short orders are not placed and the log shows the following entry: Market XXX is opened in Long position, how can I fix this? : Log errors For some strategies in the MoonBot [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/moon-bot.com\/ru\/ufaq\/i-have-both-long-and-short-orders-set-up-in-the-moonbot-terminal-but-after-placing-an-order-in-long-position-short-orders-are-not-placed-and-the-log-shows-the-following-entry-market-xxx-is-opened-i\/\" \/>\n<meta property=\"og:site_name\" content=\"Moonbot\" \/>\n<meta property=\"article:modified_time\" content=\"2025-08-29T20:43:30+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u041f\u0440\u0438\u043c\u0435\u0440\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0434\u043b\u044f \u0447\u0442\u0435\u043d\u0438\u044f\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 \u043c\u0438\u043d\u0443\u0442\u0430\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/moon-bot.com\/ru\/ufaq\/i-have-both-long-and-short-orders-set-up-in-the-moonbot-terminal-but-after-placing-an-order-in-long-position-short-orders-are-not-placed-and-the-log-shows-the-following-entry-market-xxx-is-opened-i\/\",\"url\":\"https:\/\/moon-bot.com\/ru\/ufaq\/i-have-both-long-and-short-orders-set-up-in-the-moonbot-terminal-but-after-placing-an-order-in-long-position-short-orders-are-not-placed-and-the-log-shows-the-following-entry-market-xxx-is-opened-i\/\",\"name\":\"I have both long and short orders set up in the MoonBot terminal, but after placing an order in long position, short orders are not placed and the log shows the following entry: Market XXX is opened in Long position, how can I fix this? - Moonbot\",\"isPartOf\":{\"@id\":\"https:\/\/moon-bot.com\/ru\/#website\"},\"datePublished\":\"2024-09-10T17:41:18+00:00\",\"dateModified\":\"2025-08-29T20:43:30+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/moon-bot.com\/ru\/ufaq\/i-have-both-long-and-short-orders-set-up-in-the-moonbot-terminal-but-after-placing-an-order-in-long-position-short-orders-are-not-placed-and-the-log-shows-the-following-entry-market-xxx-is-opened-i\/#breadcrumb\"},\"inLanguage\":\"ru-RU\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/moon-bot.com\/ru\/ufaq\/i-have-both-long-and-short-orders-set-up-in-the-moonbot-terminal-but-after-placing-an-order-in-long-position-short-orders-are-not-placed-and-the-log-shows-the-following-entry-market-xxx-is-opened-i\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/moon-bot.com\/ru\/ufaq\/i-have-both-long-and-short-orders-set-up-in-the-moonbot-terminal-but-after-placing-an-order-in-long-position-short-orders-are-not-placed-and-the-log-shows-the-following-entry-market-xxx-is-opened-i\/#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\":\"I have both long and short orders set up in the MoonBot terminal, but after placing an order in long position, short orders are not placed and the log shows the following entry: Market XXX is opened in Long position, how can I fix this?\"}]},{\"@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":"I have both long and short orders set up in the MoonBot terminal, but after placing an order in long position, short orders are not placed and the log shows the following entry: Market XXX is opened in Long position, how can I fix this? - 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\/i-have-both-long-and-short-orders-set-up-in-the-moonbot-terminal-but-after-placing-an-order-in-long-position-short-orders-are-not-placed-and-the-log-shows-the-following-entry-market-xxx-is-opened-i\/","og_locale":"ru_RU","og_type":"article","og_title":"I have both long and short orders set up in the MoonBot terminal, but after placing an order in long position, short orders are not placed and the log shows the following entry: Market XXX is opened in Long position, how can I fix this? - Moonbot","og_description":"C I have both long and short orders set up in the MoonBot terminal, but after placing an order in long position, short orders are not placed and the log shows the following entry: Market XXX is opened in Long position, how can I fix this? : Log errors For some strategies in the MoonBot [&hellip;]","og_url":"https:\/\/moon-bot.com\/ru\/ufaq\/i-have-both-long-and-short-orders-set-up-in-the-moonbot-terminal-but-after-placing-an-order-in-long-position-short-orders-are-not-placed-and-the-log-shows-the-following-entry-market-xxx-is-opened-i\/","og_site_name":"Moonbot","article_modified_time":"2025-08-29T20:43:30+00:00","twitter_card":"summary_large_image","twitter_misc":{"\u041f\u0440\u0438\u043c\u0435\u0440\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0434\u043b\u044f \u0447\u0442\u0435\u043d\u0438\u044f":"1 \u043c\u0438\u043d\u0443\u0442\u0430"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/moon-bot.com\/ru\/ufaq\/i-have-both-long-and-short-orders-set-up-in-the-moonbot-terminal-but-after-placing-an-order-in-long-position-short-orders-are-not-placed-and-the-log-shows-the-following-entry-market-xxx-is-opened-i\/","url":"https:\/\/moon-bot.com\/ru\/ufaq\/i-have-both-long-and-short-orders-set-up-in-the-moonbot-terminal-but-after-placing-an-order-in-long-position-short-orders-are-not-placed-and-the-log-shows-the-following-entry-market-xxx-is-opened-i\/","name":"I have both long and short orders set up in the MoonBot terminal, but after placing an order in long position, short orders are not placed and the log shows the following entry: Market XXX is opened in Long position, how can I fix this? - Moonbot","isPartOf":{"@id":"https:\/\/moon-bot.com\/ru\/#website"},"datePublished":"2024-09-10T17:41:18+00:00","dateModified":"2025-08-29T20:43:30+00:00","breadcrumb":{"@id":"https:\/\/moon-bot.com\/ru\/ufaq\/i-have-both-long-and-short-orders-set-up-in-the-moonbot-terminal-but-after-placing-an-order-in-long-position-short-orders-are-not-placed-and-the-log-shows-the-following-entry-market-xxx-is-opened-i\/#breadcrumb"},"inLanguage":"ru-RU","potentialAction":[{"@type":"ReadAction","target":["https:\/\/moon-bot.com\/ru\/ufaq\/i-have-both-long-and-short-orders-set-up-in-the-moonbot-terminal-but-after-placing-an-order-in-long-position-short-orders-are-not-placed-and-the-log-shows-the-following-entry-market-xxx-is-opened-i\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/moon-bot.com\/ru\/ufaq\/i-have-both-long-and-short-orders-set-up-in-the-moonbot-terminal-but-after-placing-an-order-in-long-position-short-orders-are-not-placed-and-the-log-shows-the-following-entry-market-xxx-is-opened-i\/#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":"I have both long and short orders set up in the MoonBot terminal, but after placing an order in long position, short orders are not placed and the log shows the following entry: Market XXX is opened in Long position, how can I fix this?"}]},{"@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\/82528"}],"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=82528"}],"wp:attachment":[{"href":"https:\/\/moon-bot.com\/ru\/wp-json\/wp\/v2\/media?parent=82528"}],"wp:term":[{"taxonomy":"ufaq-category","embeddable":true,"href":"https:\/\/moon-bot.com\/ru\/wp-json\/wp\/v2\/ufaq-category?post=82528"},{"taxonomy":"ufaq-tag","embeddable":true,"href":"https:\/\/moon-bot.com\/ru\/wp-json\/wp\/v2\/ufaq-tag?post=82528"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}