{
  "id": 585320,
  "title": "volume == (buy_qty + sell_qty)",
  "url": "/competitions/drw-crypto-market-prediction/discussion/585320",
  "author_name": "",
  "post_date": "2025-06-19T14:51:50.541595600Z",
  "votes": null,
  "comment_count": 1,
  "views": 0,
  "content": "<p>sorry new here, dont know if this is the correct place to ask, but why is <strong>volume == (buy_qty +sell_qty</strong>).<br>\nno trades take at another price other than bid_price and ask_price?</p>",
  "messages": [
    {
      "id": "3228003",
      "postDate": "06/19/2025 14:51:50",
      "content": "<p>sorry new here, dont know if this is the correct place to ask, but why is <strong>volume == (buy_qty +sell_qty</strong>).<br>\nno trades take at another price other than bid_price and ask_price?</p>",
      "rawMarkdown": "sorry new here, dont know if this is the correct place to ask, but why is **volume == (buy_qty +sell_qty**).\nno trades take at another price other than bid_price and ask_price?",
      "votes": null
    },
    {
      "id": "3229732",
      "postDate": "06/22/2025 04:33:17",
      "content": "<p>In my opinion, try to explain it for you:<br>\nIn a moment, this is the LOB(limit order book):</p>\n<ul>\n<li>best ask price: 1.0, best ask quantity: 1.0</li>\n<li>second ask price: 1.1, second ask price: 1.0</li>\n<li>best bid price: 0.9, best bid quantity: 1.0</li>\n<li>second bid price: 0.8, second bid quantity: 1.0</li>\n</ul>\n<p>Then I buy 2.0 BTC using market order. The <code>buy_qty</code> will be 2.0, but <code>ask_qty</code> will be 1.0. Both two coin I bought is executed by the best ask price at that moment. <br>\nThe exchanger will always make sure that your market order be executed at the best price, so <code>volume == buy_qty + sell_qty</code> will always make sense except technical errors. <br>\nIn a market, there're <strong>makers</strong> who make limit orders to wait for others to buy or sell, and <strong>takers</strong> who make market orders to <em>consume</em> these limit order. <code>bid_qty</code> and <code>ask_qty</code> are the indicates in the view of makers, <code>buy_qty</code> and <code>sell_qty</code> are the indicates in the view of takers.</p>",
      "rawMarkdown": "In my opinion, try to explain it for you:\nIn a moment, this is the LOB(limit order book):\n- best ask price: 1.0, best ask quantity: 1.0\n- second ask price: 1.1, second ask price: 1.0\n- best bid price: 0.9, best bid quantity: 1.0\n- second bid price: 0.8, second bid quantity: 1.0\n\nThen I buy 2.0 BTC using market order. The `buy_qty` will be 2.0, but `ask_qty` will be 1.0. Both two coin I bought is executed by the best ask price at that moment. \nThe exchanger will always make sure that your market order be executed at the best price, so `volume == buy_qty + sell_qty` will always make sense except technical errors. \nIn a market, there're **makers** who make limit orders to wait for others to buy or sell, and **takers** who make market orders to *consume* these limit order. `bid_qty` and `ask_qty` are the indicates in the view of makers, `buy_qty` and `sell_qty` are the indicates in the view of takers.",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 3229732,
      "author_name": "inszva",
      "author_url": "",
      "post_date": "06/22/2025 04:33:17",
      "content": "<p>In my opinion, try to explain it for you:<br>\nIn a moment, this is the LOB(limit order book):</p>\n<ul>\n<li>best ask price: 1.0, best ask quantity: 1.0</li>\n<li>second ask price: 1.1, second ask price: 1.0</li>\n<li>best bid price: 0.9, best bid quantity: 1.0</li>\n<li>second bid price: 0.8, second bid quantity: 1.0</li>\n</ul>\n<p>Then I buy 2.0 BTC using market order. The <code>buy_qty</code> will be 2.0, but <code>ask_qty</code> will be 1.0. Both two coin I bought is executed by the best ask price at that moment. <br>\nThe exchanger will always make sure that your market order be executed at the best price, so <code>volume == buy_qty + sell_qty</code> will always make sense except technical errors. <br>\nIn a market, there're <strong>makers</strong> who make limit orders to wait for others to buy or sell, and <strong>takers</strong> who make market orders to <em>consume</em> these limit order. <code>bid_qty</code> and <code>ask_qty</code> are the indicates in the view of makers, <code>buy_qty</code> and <code>sell_qty</code> are the indicates in the view of takers.</p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "3228003": "sorry new here, dont know if this is the correct place to ask, but why is **volume == (buy_qty +sell_qty**).\nno trades take at another price other than bid_price and ask_price?",
    "3229732": "In my opinion, try to explain it for you:\nIn a moment, this is the LOB(limit order book):\n- best ask price: 1.0, best ask quantity: 1.0\n- second ask price: 1.1, second ask price: 1.0\n- best bid price: 0.9, best bid quantity: 1.0\n- second bid price: 0.8, second bid quantity: 1.0\n\nThen I buy 2.0 BTC using market order. The `buy_qty` will be 2.0, but `ask_qty` will be 1.0. Both two coin I bought is executed by the best ask price at that moment. \nThe exchanger will always make sure that your market order be executed at the best price, so `volume == buy_qty + sell_qty` will always make sense except technical errors. \nIn a market, there're **makers** who make limit orders to wait for others to buy or sell, and **takers** who make market orders to *consume* these limit order. `bid_qty` and `ask_qty` are the indicates in the view of makers, `buy_qty` and `sell_qty` are the indicates in the view of takers."
  },
  "source": "meta"
}