{"id":4496,"date":"2022-05-12T14:32:59","date_gmt":"2022-05-12T07:32:59","guid":{"rendered":"https:\/\/test.wikibinance.com\/?p=1652"},"modified":"2022-12-13T12:00:26","modified_gmt":"2022-12-13T05:00:26","slug":"volume-participation-algorithm","status":"publish","type":"post","link":"https:\/\/wikibinance.com\/en\/knowledge\/volume-participation-algorithm.html","title":{"rendered":"How to use the Volume Participation algorithm on Binance Futures"},"content":{"rendered":"<p style=\"text-align: left;\"><span style=\"font-weight: 400;\">On April 14, 2022, <a href=\"https:\/\/wikibinance.com\/en\/basic-binance\/binance-sign-up.html\">Binance<\/a> made an announcement <\/span><em><span style=\"font-weight: 400;\">&#8220;<a href=\"https:\/\/wikibinance.com\/en\/basic-binance\/binance-futures.html\">B<\/a><\/span><\/em><i><span style=\"font-weight: 400;\">inance Futures launches Volume Participation algorithm on API&#8221;.<\/span><\/i><span style=\"font-weight: 400;\"> Volume Participation is part of <a href=\"https:\/\/ecoinomic.io\/en\/knowledge\/guide\/binance-futures-margin-trading.html\" target=\"_blank\" rel=\"noopener\">Binance Futures<\/a> execution algorithm API solutions which allows investors to take advantage of Binance algorithmic trading capability and automate their order execution.<\/span><\/p>\n<h2><b>What is volume participation algorithm?<\/b><\/h2>\n<p style=\"text-align: left;\"><span style=\"font-weight: 400;\">Volume Participation algorithm (VP) is a strategy executed according to the opportunistic algorithm. Depending on the level of specified urgency, this algorithm allows the investor to execute large orders with the aim of executing a trade corresponding to the market trading volume in real time through the level of target block participation.<\/span><\/p>\n<p style=\"text-align: left;\"><span style=\"font-weight: 400;\">Volume Participation is an effective solution to minimize the impact of the market on orders and towards the average market trading price during the trading period.<\/span><\/p>\n<figure id=\"attachment_1654\" aria-describedby=\"caption-attachment-1654\" style=\"width: 1024px\" class=\"wp-caption aligncenter\"><img decoding=\"async\" loading=\"lazy\" class=\"wp-image-1654 size-large\" src=\"https:\/\/wikibinance.com\/wp-content\/uploads\/2022\/05\/9-1-1024x341.png\" alt=\"Volume Participation algorithm (VP) is a strategy conducted according to the\u00a0opportunistic algorithm\" width=\"1024\" height=\"341\" srcset=\"https:\/\/wikibinance.com\/wp-content\/uploads\/2022\/05\/9-1-1024x341.png 1024w, https:\/\/wikibinance.com\/wp-content\/uploads\/2022\/05\/9-1-300x100.png 300w, https:\/\/wikibinance.com\/wp-content\/uploads\/2022\/05\/9-1-768x256.png 768w, https:\/\/wikibinance.com\/wp-content\/uploads\/2022\/05\/9-1-750x250.png 750w, https:\/\/wikibinance.com\/wp-content\/uploads\/2022\/05\/9-1-1140x379.png 1140w, https:\/\/wikibinance.com\/wp-content\/uploads\/2022\/05\/9-1.png 1199w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption id=\"caption-attachment-1654\" class=\"wp-caption-text\">Volume Participation algorithm (VP) is a strategy conducted according to the opportunistic algorithm<\/figcaption><\/figure>\n<h2><b>When to use a volume participation algorithm?<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">This algorithm is suitable for order execution strategies that aim to place orders that have a notional value greater than the available market liquidity. Besides, this algorithm also limit the impact on the market.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">When the trading volume of the market is low, the price is stable, the market order with great notional value can affect the market price, making the executed price unfavorably. Meanwhile, volume participation orders can be executed in the average market price range without affecting the market.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">If the trading volume of the market is high with price fluctuations, the market order can capture the existing liquidity of the market immediately as well as the market price movement. Meanwhile, volume participation orders can execute urgently and can cause adverse executed prices.<\/span><\/p>\n<h2><b>Effectiveness of volume participation algorithm<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">If the price of the market is highly volatile or the liquidity is insufficient during the order execution, this algorithm may not achieve the highest level of efficiency. Therefore, the execution of an order is always dependent on liquidity and there is no guarantee that it is matched at the highest price.<\/span><\/p>\n<p><span style=\"font-weight: 400;\"> Simply put, if the market is getting tough, the algorithm may not be able to complete the order before the specified time ends.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">To improve this issue, <a href=\"https:\/\/wikibinance.com\/en\/basic-binance\/binance-registration.html\">Binance<\/a> combines a variety of strategies to minimize risk, especially the circuit breakers in a manual and automatic way. That mechanism is combined with the kill-switch control mechanism in the event of a market disruption, the system fails leading to the early cancellation of the Volume Participation order when the order has not been fully matched.<\/span><\/p>\n<h2><b>How to check the status of volume participation orders<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">To perform the test, investors can use the query endpoints (<\/span><i><span style=\"font-weight: 400;\">GET sapi\/v1\/algo\/futures\/openOrders<\/span><\/i><span style=\"font-weight: 400;\"> or <\/span><i><span style=\"font-weight: 400;\">GET sapi\/v1\/algo\/futures\/historicalOrders<\/span><\/i><span style=\"font-weight: 400;\">).<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Order execution operations will have no websocket notifications. Even if you receive a <\/span><i><span style=\"font-weight: 400;\">&#8220;success&#8221; message, <\/span><\/i><span style=\"font-weight: 400;\">it doesn&#8217;t mean that the order has been executed.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">For instance, when the balance in the futures contract is not enough, or the account is in a <em>Reduce Only<\/em> status, the investor can still receive a <\/span><i><span style=\"font-weight: 400;\">&#8220;success&#8221;: true <\/span><\/i><span style=\"font-weight: 400;\">but in fact the order will not be executed.<\/span><\/p>\n<h2><b>Notes on Volume Participation algorithm<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">Although this algorithm plays important role in balancing the market with orders, in fact, it still has limitations:<\/span><\/p>\n<ul>\n<li><span style=\"font-weight: 400;\">This algorithm is limited in notional value.<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\"> Notional value value is calculated by formula: <\/span><\/p>\n<p><i><span style=\"font-weight: 400;\">Number of orders<\/span><\/i><span style=\"font-weight: 400;\"> x <i class=\"css-vurnku\">Mark Price<\/i>\u00a0(<i class=\"css-vurnku\">base asset<\/i>)<\/span><span style=\"font-weight: 400;\">. <\/span><\/p>\n<p><span style=\"font-weight: 400;\">In the Volume Participation algorithm, the notional value must be between $10,000 and $1,000,000.<\/span><\/p>\n<ul>\n<li><span style=\"font-weight: 400;\">Besides, this algorithm currently only supports USD-Margined contracts.<\/span><\/li>\n<\/ul>\n<ul>\n<li><span style=\"font-weight: 400;\">When giving some unsatisfactory queries, the investor will likely receive some of the following error messages:<\/span><\/li>\n<\/ul>\n<table style=\"width: 92.1598%; height: 340px;\">\n<tbody>\n<tr style=\"height: 34px;\">\n<td style=\"width: 28.249%; text-align: center; height: 34px;\"><strong>External code<\/strong><\/td>\n<td style=\"width: 71.6732%; text-align: center; height: 34px;\"><strong>External notifications<\/strong><\/td>\n<\/tr>\n<tr style=\"height: 17px;\">\n<td style=\"width: 28.249%; height: 17px;\"><strong>0<\/strong><\/td>\n<td style=\"width: 71.6732%; height: 17px;\"><span style=\"font-weight: 400;\">Ok<\/span><\/td>\n<\/tr>\n<tr style=\"height: 34px;\">\n<td style=\"width: 28.249%; height: 34px;\"><strong>-1000<\/strong><\/td>\n<td style=\"width: 71.6732%; height: 34px;\"><span style=\"font-weight: 400;\">An unknown error occurred when processing the request.<\/span><\/td>\n<\/tr>\n<tr style=\"height: 34px;\">\n<td style=\"width: 28.249%; height: 34px;\"><strong>-1102<\/strong><\/td>\n<td style=\"width: 71.6732%; height: 34px;\"><span style=\"font-weight: 400;\">A required parameter has not been sent, empty\/null, or malformed<\/span><\/td>\n<\/tr>\n<tr style=\"height: 17px;\">\n<td style=\"width: 28.249%; height: 17px;\"><strong>-20121<\/strong><\/td>\n<td style=\"width: 71.6732%; height: 17px;\"><span style=\"font-weight: 400;\">Invalid symbol.<\/span><\/td>\n<\/tr>\n<tr style=\"height: 17px;\">\n<td style=\"width: 28.249%; height: 17px;\"><strong>-20130<\/strong><\/td>\n<td style=\"width: 71.6732%; height: 17px;\"><span style=\"font-weight: 400;\">Invalid data sent for a parameter.<\/span><\/td>\n<\/tr>\n<tr style=\"height: 17px;\">\n<td style=\"width: 28.249%; height: 17px;\"><strong>-2013<\/strong><\/td>\n<td style=\"width: 71.6732%; height: 17px;\"><span style=\"font-weight: 400;\">The order does not exist.<\/span><\/td>\n<\/tr>\n<tr style=\"height: 17px;\">\n<td style=\"width: 28.249%; height: 17px;\"><strong>-5007<\/strong><\/td>\n<td style=\"width: 71.6732%; height: 17px;\"><span style=\"font-weight: 400;\">The amount must be greater than no.<\/span><\/td>\n<\/tr>\n<tr style=\"height: 34px;\">\n<td style=\"width: 28.249%; height: 34px;\"><strong>-20124<\/strong><\/td>\n<td style=\"width: 71.6732%; height: 34px;\"><span style=\"font-weight: 400;\">The algorithm ID is invalid or has been completed.<\/span><\/td>\n<\/tr>\n<tr style=\"height: 17px;\">\n<td style=\"width: 28.249%; height: 17px;\"><strong>-20132<\/strong><\/td>\n<td style=\"width: 71.6732%; height: 17px;\"><span style=\"font-weight: 400;\">The client algorithm ID is duplicated.<\/span><\/td>\n<\/tr>\n<tr style=\"height: 34px;\">\n<td style=\"width: 28.249%; height: 34px;\"><strong>-20194<\/strong><\/td>\n<td style=\"width: 71.6732%; height: 34px;\"><span style=\"font-weight: 400;\">The time is too short to fulfill all the required number of requests.<\/span><\/td>\n<\/tr>\n<tr style=\"height: 17px;\">\n<td style=\"width: 28.249%; height: 17px;\"><strong>-20195<\/strong><\/td>\n<td style=\"width: 71.6732%; height: 17px;\"><span style=\"font-weight: 400;\">The total size is too small.<\/span><\/td>\n<\/tr>\n<tr style=\"height: 17px;\">\n<td style=\"width: 28.249%; height: 17px;\"><strong>-20196<\/strong><\/td>\n<td style=\"width: 71.6732%; height: 17px;\"><span style=\"font-weight: 400;\">The total size is too large.<\/span><\/td>\n<\/tr>\n<tr style=\"height: 34px;\">\n<td style=\"width: 28.249%; height: 34px;\"><strong>-20198<\/strong><\/td>\n<td style=\"width: 71.6732%; height: 34px;\"><span style=\"font-weight: 400;\">Reach the maximum number of open orders allowed.<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2><b>Conclusion<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">There is no doubt that Volume Participation plays a significant role in balancing the market, minimizing the impact of the market on orders. As can be seen, the launch of this algorithm represents the efforts of developers in supporting the trading activities of investors on the exchange.<\/span><\/p>\n\n\n<div class=\"kk-star-ratings kksr-auto kksr-align-center kksr-valign-bottom\"\n    data-payload=\"{&quot;align&quot;:&quot;center&quot;,&quot;id&quot;:&quot;4496&quot;,&quot;slug&quot;:&quot;default&quot;,&quot;valign&quot;:&quot;bottom&quot;,&quot;ignore&quot;:&quot;&quot;,&quot;reference&quot;:&quot;auto&quot;,&quot;class&quot;:&quot;&quot;,&quot;count&quot;:&quot;0&quot;,&quot;readonly&quot;:&quot;&quot;,&quot;score&quot;:&quot;0&quot;,&quot;best&quot;:&quot;5&quot;,&quot;gap&quot;:&quot;5&quot;,&quot;greet&quot;:&quot;Rate this post&quot;,&quot;legend&quot;:&quot;0\\\/5 - (0 votes)&quot;,&quot;size&quot;:&quot;24&quot;,&quot;width&quot;:&quot;0&quot;,&quot;_legend&quot;:&quot;{score}\\\/{best} - ({count} {votes})&quot;,&quot;font_factor&quot;:&quot;1.25&quot;}\">\n    \n<div class=\"kksr-stars\">\n    \n<div class=\"kksr-stars-inactive\">\n            <div class=\"kksr-star\" data-star=\"1\" style=\"padding-right: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"2\" style=\"padding-right: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"3\" style=\"padding-right: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"4\" style=\"padding-right: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"5\" style=\"padding-right: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n    <\/div>\n    \n<div class=\"kksr-stars-active\" style=\"width: 0px;\">\n            <div class=\"kksr-star\" style=\"padding-right: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n    <\/div>\n<\/div>\n    \n\n<div class=\"kksr-legend\" style=\"font-size: 19.2px;\">\n            <span class=\"kksr-muted\">Rate this post<\/span>\n    <\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>On April 14, 2022, Binance made an announcement &#8220;Binance Futures launches Volume Participation algorithm on API&#8221;. Volume Participation is part of Binance Futures execution algorithm API solutions which allows investors to take advantage of Binance algorithmic trading capability and automate their order execution. What is volume participation algorithm? Volume Participation algorithm (VP) is a strategy [&hellip;]<\/p>\n","protected":false},"author":20,"featured_media":8098,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[394],"tags":[1440,1969],"_links":{"self":[{"href":"https:\/\/wikibinance.com\/en\/wp-json\/wp\/v2\/posts\/4496"}],"collection":[{"href":"https:\/\/wikibinance.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wikibinance.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wikibinance.com\/en\/wp-json\/wp\/v2\/users\/20"}],"replies":[{"embeddable":true,"href":"https:\/\/wikibinance.com\/en\/wp-json\/wp\/v2\/comments?post=4496"}],"version-history":[{"count":6,"href":"https:\/\/wikibinance.com\/en\/wp-json\/wp\/v2\/posts\/4496\/revisions"}],"predecessor-version":[{"id":89286,"href":"https:\/\/wikibinance.com\/en\/wp-json\/wp\/v2\/posts\/4496\/revisions\/89286"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wikibinance.com\/en\/wp-json\/wp\/v2\/media\/8098"}],"wp:attachment":[{"href":"https:\/\/wikibinance.com\/en\/wp-json\/wp\/v2\/media?parent=4496"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wikibinance.com\/en\/wp-json\/wp\/v2\/categories?post=4496"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wikibinance.com\/en\/wp-json\/wp\/v2\/tags?post=4496"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}