{"id":53062,"date":"2023-06-08T13:58:14","date_gmt":"2023-06-08T13:58:14","guid":{"rendered":"https:\/\/moon-bot.com\/ru\/ufaq\/what-are-the-specific-parameters-of-a-spread-strategy\/"},"modified":"2024-09-10T23:15:25","modified_gmt":"2024-09-10T23:15:25","slug":"what-are-the-specific-parameters-of-a-spread-strategy","status":"publish","type":"ufaq","link":"https:\/\/moon-bot.com\/en\/ufaq\/what-are-the-specific-parameters-of-a-spread-strategy\/","title":{"rendered":"What are the specific parameters of a Spread strategy?"},"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='\/en\/wp-json\/wp\/v2\/ufaq\/53062' 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-53062-wzrT1Trc71' data-post_id='53062'>\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\tWhat are the specific parameters of a Spread strategy?\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>Spread Strategy Specific Parameters:<br \/>\nTimeInterval: The width of the time zone in seconds used for calculations.<\/p>\n<p>TradesDensity: The density of trades, in time, expressed in percent. For calculations, the interval is divided into bits of 200ms and the ratio of bits containing at least 2 trades at different price levels to bits without trades is calculated. i.e. a 100% density means that trades with different price levels have happened every 200ms.<\/p>\n<p>TradesDensityPrev: The trade density prior to the detect. Helps determine coins that are flat. For pumps, this parameter should be set to 0 ! (as we are specifically looking for flat coins).<\/p>\n<p>TradesCountMin: Every 200ms, within the entire detect interval, there are at least this many trades. Default value = 0. This parameter will strongly constrict detects, it will allow for only high trade density.<\/p>\n<p>PriceIntervals: Number of equal intervals TimeInterval should be divided into to determine the fluctuation of the price. The total interval will be divided into a number of PriceIntervals, for every slice, the max, min and their delta (difference) is calculated.<\/p>\n<p>PriceIntervalShift: Integer between 0 and 5. Cuts off detects of singular shots.<\/p>\n<p>PriceSpread: Spread (in percent) used for the detect. The detect will occur if for every slice of the parameter described above, if the price fluctuation was higher than the PriceSpread.<\/p>\n<p>IntervalsForBuySpread: How many of the last slices of PriceIntervals are to be used for calculating the min and max prices within the spread. If 0, the entire TimeInterval is used.<\/p>\n<p>BuyPriceInSpread: at how many percent within the spread should the buy order be placed. If long \u2013 this percentage is calculated upwards of the min price; if short \u2013 downward of the max price. Example: 0% long will place an order on the min price within the spread; 50% will place the order in the middle; -100% short will place the order at two times the spread distance.<\/p>\n<p>Attention! The BuyPrice parameter from the general BuyOrder section will also affect the buying price. BuyPriceInSpread in this case will determine the \u201cbase price\u201d used to calculate the BuyPrice.<\/p>\n<p>SellPriceInSpread: Similar to BuyPriceInSpread, a predetermined sell price based on the spread. Unlike BuyPriceInSpread, the sell price is made up of the maximum SellPrice and the spread sell price. i.e. if the SellPrice is lower than the spread (for example SellPrice=0) \u2013 the sell order will be placed within the spread. If higher \u2013 the sell is placed according to the SellPrice. (modifiers also affect the sell price).<\/p>\n<p>BuyOrderReduce: sets the interval (in ms) used to calculate the average trade volume. The strategy will place an order of size not larger than the average volume. By default = 100ms. Volume calculation: sum of all trades (buy and sell) over the TimeInterval interval, divided by BuyOrderReduce. Examlple: if TimeInterval = 5 sec (5000 ms), BuyOrderReduce = 100ms, the volume over 5 sec was 10 000$, the average volume over 100ms will equal 10000\/5000ms*100ms=200$. In this case the strategy will place an order not larger than 200$.<br \/>\nAlternatively, knowing the average volume over 100 \/ 10\/ 5 ms, this will be the maximum order size of the strategy<br \/>\nBuyOrderReduce=0 &#8211; parameter is turned off.<\/p>\n<p>SpreadRepeatIfProfit: The repeated placement of buy orders during 1 sec after the detect (not later). The repeated order is placed if the current price has approached the sell price by more than the SpreadRepeatIfProfit percent. If 0, repeated orders are not placed. If 100, is placed only after selling the sell order (not more than 5 repeated orders, based on internal limitations).<\/p>\n<p>SpreadFlat: if YES, the bot will try to determine the spread in a horizontal channel.<\/p>\n<p>Spread_BV_SV_Time: time in terval (in milliseconds) for analysis. If 0 \u2014 parameter is ignored<\/p>\n<p>Spread_BV_SV_Max: buys to sells ratio not greater than this value. If 0 \u2014 parameter is ignored<\/p>\n<p>Spread_BV_SV_Min: buys to sells ratio not smaller than this value.<\/p>\n<p>If the strategy contains a short, the relationship is inversed automatically! (i.e. the short calculates the ratio of sells to buys).<\/p>\n<p>Example: Spread_BV_SV_Time = 1500 (1.5 seconds)<br \/>\nOver the last 1.5 seconds, 500$ worth of buy trades and 1000$ worth of sell trades were recorded. The ratio bv\/sv will equal 500\/1000 = 0.5 for longs and 1000\/500 = 2 for shorts<\/p>\n<p>SpreadPolarityMin: Minimal range of spread polarity. Polarity is direction, the numerical measure of direction can be from +100 (strictly up) to -100 (strictly down).<\/p>\n<p>SpreadPolarityMax: Maximum range of the spread polarity.<\/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 What are the specific parameters of a Spread strategy? : Strategy settings Spread Strategy Specific Parameters: TimeInterval: The width of the time zone in seconds used for calculations. TradesDensity: The density of trades, in time, expressed in percent. For calculations, the interval is divided into bits of 200ms and the ratio of bits containing [&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":[87],"ufaq-tag":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>What are the specific parameters of a Spread strategy? - 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\/what-are-the-specific-parameters-of-a-spread-strategy\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"What are the specific parameters of a Spread strategy? - Moonbot\" \/>\n<meta property=\"og:description\" content=\"C What are the specific parameters of a Spread strategy? : Strategy settings Spread Strategy Specific Parameters: TimeInterval: The width of the time zone in seconds used for calculations. TradesDensity: The density of trades, in time, expressed in percent. For calculations, the interval is divided into bits of 200ms and the ratio of bits containing [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/moon-bot.com\/ru\/ufaq\/what-are-the-specific-parameters-of-a-spread-strategy\/\" \/>\n<meta property=\"og:site_name\" content=\"Moonbot\" \/>\n<meta property=\"article:modified_time\" content=\"2024-09-10T23:15:25+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/moon-bot.com\/ru\/ufaq\/what-are-the-specific-parameters-of-a-spread-strategy\/\",\"url\":\"https:\/\/moon-bot.com\/ru\/ufaq\/what-are-the-specific-parameters-of-a-spread-strategy\/\",\"name\":\"What are the specific parameters of a Spread strategy? - Moonbot\",\"isPartOf\":{\"@id\":\"https:\/\/moon-bot.com\/ru\/#website\"},\"datePublished\":\"2023-06-08T13:58:14+00:00\",\"dateModified\":\"2024-09-10T23:15:25+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/moon-bot.com\/ru\/ufaq\/what-are-the-specific-parameters-of-a-spread-strategy\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/moon-bot.com\/ru\/ufaq\/what-are-the-specific-parameters-of-a-spread-strategy\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/moon-bot.com\/ru\/ufaq\/what-are-the-specific-parameters-of-a-spread-strategy\/#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\":\"What are the specific parameters of a Spread strategy?\"}]},{\"@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\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/moon-bot.com\/ru\/#organization\",\"name\":\"MoonBot Trading Terminal\",\"url\":\"https:\/\/moon-bot.com\/ru\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@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":"What are the specific parameters of a Spread strategy? - 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\/what-are-the-specific-parameters-of-a-spread-strategy\/","og_locale":"en_US","og_type":"article","og_title":"What are the specific parameters of a Spread strategy? - Moonbot","og_description":"C What are the specific parameters of a Spread strategy? : Strategy settings Spread Strategy Specific Parameters: TimeInterval: The width of the time zone in seconds used for calculations. TradesDensity: The density of trades, in time, expressed in percent. For calculations, the interval is divided into bits of 200ms and the ratio of bits containing [&hellip;]","og_url":"https:\/\/moon-bot.com\/ru\/ufaq\/what-are-the-specific-parameters-of-a-spread-strategy\/","og_site_name":"Moonbot","article_modified_time":"2024-09-10T23:15:25+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/moon-bot.com\/ru\/ufaq\/what-are-the-specific-parameters-of-a-spread-strategy\/","url":"https:\/\/moon-bot.com\/ru\/ufaq\/what-are-the-specific-parameters-of-a-spread-strategy\/","name":"What are the specific parameters of a Spread strategy? - Moonbot","isPartOf":{"@id":"https:\/\/moon-bot.com\/ru\/#website"},"datePublished":"2023-06-08T13:58:14+00:00","dateModified":"2024-09-10T23:15:25+00:00","breadcrumb":{"@id":"https:\/\/moon-bot.com\/ru\/ufaq\/what-are-the-specific-parameters-of-a-spread-strategy\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/moon-bot.com\/ru\/ufaq\/what-are-the-specific-parameters-of-a-spread-strategy\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/moon-bot.com\/ru\/ufaq\/what-are-the-specific-parameters-of-a-spread-strategy\/#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":"What are the specific parameters of a Spread strategy?"}]},{"@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":"en-US"},{"@type":"Organization","@id":"https:\/\/moon-bot.com\/ru\/#organization","name":"MoonBot Trading Terminal","url":"https:\/\/moon-bot.com\/ru\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@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\/en\/wp-json\/wp\/v2\/ufaq\/53062"}],"collection":[{"href":"https:\/\/moon-bot.com\/en\/wp-json\/wp\/v2\/ufaq"}],"about":[{"href":"https:\/\/moon-bot.com\/en\/wp-json\/wp\/v2\/types\/ufaq"}],"author":[{"embeddable":true,"href":"https:\/\/moon-bot.com\/en\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/moon-bot.com\/en\/wp-json\/wp\/v2\/comments?post=53062"}],"wp:attachment":[{"href":"https:\/\/moon-bot.com\/en\/wp-json\/wp\/v2\/media?parent=53062"}],"wp:term":[{"taxonomy":"ufaq-category","embeddable":true,"href":"https:\/\/moon-bot.com\/en\/wp-json\/wp\/v2\/ufaq-category?post=53062"},{"taxonomy":"ufaq-tag","embeddable":true,"href":"https:\/\/moon-bot.com\/en\/wp-json\/wp\/v2\/ufaq-tag?post=53062"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}