{"slug":"what-limit-price-should-i-set","qid":"tick_grid","label":"How many cents separate MSFT's bid and ask, by share of quotes","post_title":"What Limit Price Should I Set on a Stock?","post_url":"/blog/what-limit-price-should-i-set#q-tick_grid","columns":["spread_width","share_of_quotes_pct","quote_count"],"rows":[{"spread_width":"1 cent wide","share_of_quotes_pct":2.9,"quote_count":1326},{"spread_width":"2 cents wide","share_of_quotes_pct":5.2,"quote_count":2411},{"spread_width":"3 cents wide","share_of_quotes_pct":8.5,"quote_count":3955},{"spread_width":"4 cents wide","share_of_quotes_pct":13.8,"quote_count":6397},{"spread_width":"5 cents wide","share_of_quotes_pct":15.7,"quote_count":7265},{"spread_width":"6 cents wide","share_of_quotes_pct":17.5,"quote_count":8105},{"spread_width":"7 cents wide","share_of_quotes_pct":20.4,"quote_count":9437},{"spread_width":"8 cents wide","share_of_quotes_pct":15.9,"quote_count":7379}],"shape":"ranking","sql":"WITH quotes AS\n(\n    SELECT toUInt32(round((toFloat64(ask_price) - toFloat64(bid_price)) * 100)) AS ticks\n    FROM global_markets.cache_stocks_quotes\n    WHERE ticker = 'MSFT'\n      AND sip_timestamp >= '2026-09-15 14:00:00'\n      AND sip_timestamp <  '2026-09-15 19:00:00'\n      AND bid_price > 0\n      AND ask_price > bid_price\n      AND (toFloat64(ask_price) - toFloat64(bid_price)) <= 0.08\n)\nSELECT\n    concat(toString(ticks), if(ticks = 1, ' cent wide', ' cents wide')) AS spread_width,\n    round(100 * count() / (SELECT count() FROM quotes), 1)              AS share_of_quotes_pct,\n    count()                                                             AS quote_count\nFROM quotes\nGROUP BY ticks\nORDER BY ticks","computed_at":"2026-10-09T15:24:51.057571+00:00","elapsed":0.002952907}