{"id":53160,"date":"2023-06-08T14:03:16","date_gmt":"2023-06-08T14:03:16","guid":{"rendered":"https:\/\/moon-bot.com\/ru\/ufaq\/in-the-log-i-saw-records-of-the-following-form-set-buy-order-fail-status-400-limit-price-cant-be-higher-than-but-i-dont-have-orders-placed-what-kind-of-error-is-this\/"},"modified":"2023-06-08T14:03:16","modified_gmt":"2023-06-08T14:03:16","slug":"in-the-log-i-saw-records-of-the-following-form-set-buy-order-fail-status-400-limit-price-cant-be-higher-than-but-i-dont-have-orders-placed-what-kind-of-error-is-this","status":"publish","type":"ufaq","link":"https:\/\/moon-bot.com\/ru\/ufaq\/in-the-log-i-saw-records-of-the-following-form-set-buy-order-fail-status-400-limit-price-cant-be-higher-than-but-i-dont-have-orders-placed-what-kind-of-error-is-this\/","title":{"rendered":"In the log I saw records of the following form: Set Buy order: FAIL; Status: 400 Limit price can&#8217;t be higher than, but I don&#8217;t have orders placed, what kind of error is 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\/53160' 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-53160-EJfZkl44MP' data-post_id='53160'>\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\tIn the log I saw records of the following form: Set Buy order: FAIL; Status: 400 Limit price can&#8217;t be higher than, but I don&#8217;t have orders placed, what kind of error is 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<p>If you have such an error in your logs and orders are not placed, it means that the exchange does not allow you to set an order higher than your strategy wants.<br \/> For example, you have the following entries in your log:<br \/>  1) Task 342 started; USDT-XVS (strategy ) UseAsk: 7.9260 CurAsk: 7.92360 BUY 10.405<br \/> Task #342 started: on the USDT-XVS pair (strategy named &#8220;ST-NEW&#8221;) at the current ASK price of 7.9260 a limit buy order must be placed high in the red glass on the 10.405 price line (i.e. +30% of the ASK price)<br \/>  2) USDT-XVS Set Buy order: FAIL; Status: 400 Limit price can&#8217;t be higher than 9.134430<br \/> It is impossible to set a Buy order on USDT-XVS pair (the task has failed) because of the error &#8220;Status: 400 Limit price can&#8217;t be higher than 9.134430&#8221; (or not more than +15% of ASK price)<br \/>  3) === FAILED TO SET BUY ORDER ! vol.4.80000000 price: 10.405 total 100$<br \/> The result is the following entry: BUY ORDER CANNOT BE SET AT 10.405 price line &#8211; order size 100$<br \/>  In this example, in the strategy settings, the buyPrice=30 parameter was set (to set a limit order of +30%) and the exchange has at some point set a limit and did not allow you to set an order higher than +15% (according to the log entry). In this case it is necessary to decrease the value in the parameter buyPrice from 30% to 15% or lower. What exactly the restrictions introduced by the exchange, in each case, you can see in the log: check the current ASK price and the maximum allowable value of the price above which the exchange does not allow to expose the limit order and then adjust the settings of the strategy.<\/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 In the log I saw records of the following form: Set Buy order: FAIL; Status: 400 Limit price can&#8217;t be higher than, but I don&#8217;t have orders placed, what kind of error is this? : Log errors If you have such an error in your logs and orders are not placed, it means that [&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":[91],"ufaq-tag":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>In the log I saw records of the following form: Set Buy order: FAIL; Status: 400 Limit price can&#039;t be higher than, but I don&#039;t have orders placed, what kind of error is 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\/in-the-log-i-saw-records-of-the-following-form-set-buy-order-fail-status-400-limit-price-cant-be-higher-than-but-i-dont-have-orders-placed-what-kind-of-error-is-this\/\" \/>\n<meta property=\"og:locale\" content=\"ru_RU\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"In the log I saw records of the following form: Set Buy order: FAIL; Status: 400 Limit price can&#039;t be higher than, but I don&#039;t have orders placed, what kind of error is this? - Moonbot\" \/>\n<meta property=\"og:description\" content=\"C In the log I saw records of the following form: Set Buy order: FAIL; Status: 400 Limit price can&#8217;t be higher than, but I don&#8217;t have orders placed, what kind of error is this? : Log errors If you have such an error in your logs and orders are not placed, it means that [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/moon-bot.com\/ru\/ufaq\/in-the-log-i-saw-records-of-the-following-form-set-buy-order-fail-status-400-limit-price-cant-be-higher-than-but-i-dont-have-orders-placed-what-kind-of-error-is-this\/\" \/>\n<meta property=\"og:site_name\" content=\"Moonbot\" \/>\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\/in-the-log-i-saw-records-of-the-following-form-set-buy-order-fail-status-400-limit-price-cant-be-higher-than-but-i-dont-have-orders-placed-what-kind-of-error-is-this\/\",\"url\":\"https:\/\/moon-bot.com\/ru\/ufaq\/in-the-log-i-saw-records-of-the-following-form-set-buy-order-fail-status-400-limit-price-cant-be-higher-than-but-i-dont-have-orders-placed-what-kind-of-error-is-this\/\",\"name\":\"In the log I saw records of the following form: Set Buy order: FAIL; Status: 400 Limit price can't be higher than, but I don't have orders placed, what kind of error is this? - Moonbot\",\"isPartOf\":{\"@id\":\"https:\/\/moon-bot.com\/ru\/#website\"},\"datePublished\":\"2023-06-08T14:03:16+00:00\",\"dateModified\":\"2023-06-08T14:03:16+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/moon-bot.com\/ru\/ufaq\/in-the-log-i-saw-records-of-the-following-form-set-buy-order-fail-status-400-limit-price-cant-be-higher-than-but-i-dont-have-orders-placed-what-kind-of-error-is-this\/#breadcrumb\"},\"inLanguage\":\"ru-RU\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/moon-bot.com\/ru\/ufaq\/in-the-log-i-saw-records-of-the-following-form-set-buy-order-fail-status-400-limit-price-cant-be-higher-than-but-i-dont-have-orders-placed-what-kind-of-error-is-this\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/moon-bot.com\/ru\/ufaq\/in-the-log-i-saw-records-of-the-following-form-set-buy-order-fail-status-400-limit-price-cant-be-higher-than-but-i-dont-have-orders-placed-what-kind-of-error-is-this\/#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\":\"In the log I saw records of the following form: Set Buy order: FAIL; Status: 400 Limit price can&#8217;t be higher than, but I don&#8217;t have orders placed, what kind of error is 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":"In the log I saw records of the following form: Set Buy order: FAIL; Status: 400 Limit price can't be higher than, but I don't have orders placed, what kind of error is 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\/in-the-log-i-saw-records-of-the-following-form-set-buy-order-fail-status-400-limit-price-cant-be-higher-than-but-i-dont-have-orders-placed-what-kind-of-error-is-this\/","og_locale":"ru_RU","og_type":"article","og_title":"In the log I saw records of the following form: Set Buy order: FAIL; Status: 400 Limit price can't be higher than, but I don't have orders placed, what kind of error is this? - Moonbot","og_description":"C In the log I saw records of the following form: Set Buy order: FAIL; Status: 400 Limit price can&#8217;t be higher than, but I don&#8217;t have orders placed, what kind of error is this? : Log errors If you have such an error in your logs and orders are not placed, it means that [&hellip;]","og_url":"https:\/\/moon-bot.com\/ru\/ufaq\/in-the-log-i-saw-records-of-the-following-form-set-buy-order-fail-status-400-limit-price-cant-be-higher-than-but-i-dont-have-orders-placed-what-kind-of-error-is-this\/","og_site_name":"Moonbot","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\/in-the-log-i-saw-records-of-the-following-form-set-buy-order-fail-status-400-limit-price-cant-be-higher-than-but-i-dont-have-orders-placed-what-kind-of-error-is-this\/","url":"https:\/\/moon-bot.com\/ru\/ufaq\/in-the-log-i-saw-records-of-the-following-form-set-buy-order-fail-status-400-limit-price-cant-be-higher-than-but-i-dont-have-orders-placed-what-kind-of-error-is-this\/","name":"In the log I saw records of the following form: Set Buy order: FAIL; Status: 400 Limit price can't be higher than, but I don't have orders placed, what kind of error is this? - Moonbot","isPartOf":{"@id":"https:\/\/moon-bot.com\/ru\/#website"},"datePublished":"2023-06-08T14:03:16+00:00","dateModified":"2023-06-08T14:03:16+00:00","breadcrumb":{"@id":"https:\/\/moon-bot.com\/ru\/ufaq\/in-the-log-i-saw-records-of-the-following-form-set-buy-order-fail-status-400-limit-price-cant-be-higher-than-but-i-dont-have-orders-placed-what-kind-of-error-is-this\/#breadcrumb"},"inLanguage":"ru-RU","potentialAction":[{"@type":"ReadAction","target":["https:\/\/moon-bot.com\/ru\/ufaq\/in-the-log-i-saw-records-of-the-following-form-set-buy-order-fail-status-400-limit-price-cant-be-higher-than-but-i-dont-have-orders-placed-what-kind-of-error-is-this\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/moon-bot.com\/ru\/ufaq\/in-the-log-i-saw-records-of-the-following-form-set-buy-order-fail-status-400-limit-price-cant-be-higher-than-but-i-dont-have-orders-placed-what-kind-of-error-is-this\/#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":"In the log I saw records of the following form: Set Buy order: FAIL; Status: 400 Limit price can&#8217;t be higher than, but I don&#8217;t have orders placed, what kind of error is 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\/53160"}],"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=53160"}],"wp:attachment":[{"href":"https:\/\/moon-bot.com\/ru\/wp-json\/wp\/v2\/media?parent=53160"}],"wp:term":[{"taxonomy":"ufaq-category","embeddable":true,"href":"https:\/\/moon-bot.com\/ru\/wp-json\/wp\/v2\/ufaq-category?post=53160"},{"taxonomy":"ufaq-tag","embeddable":true,"href":"https:\/\/moon-bot.com\/ru\/wp-json\/wp\/v2\/ufaq-tag?post=53160"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}