{"slug":"how-to-read-a-form-4","qid":"code_mix","label":"Share of reported Form 4 lines by transaction code, Aug 2025 to Jul 2026","post_title":"How to Read a Form 4 Insider Trading Filing","post_url":"/blog/how-to-read-a-form-4#q-code_mix","columns":["code","line_count","share_pct"],"rows":[{"code":"P: open-market purchase","line_count":82658,"share_pct":6.3},{"code":"S: open-market sale","line_count":361035,"share_pct":27.4},{"code":"A: grant or award","line_count":307972,"share_pct":23.4},{"code":"M: derivative exercise","line_count":263095,"share_pct":20},{"code":"F: withheld for tax","line_count":148738,"share_pct":11.3},{"code":"G: gift","line_count":21078,"share_pct":1.6},{"code":"All other codes","line_count":134018,"share_pct":10.2}],"shape":"ranking","sql":"SELECT\n    multiIf(\n        f.transaction_code = 'P', 'P: open-market purchase',\n        f.transaction_code = 'S', 'S: open-market sale',\n        f.transaction_code = 'A', 'A: grant or award',\n        f.transaction_code = 'M', 'M: derivative exercise',\n        f.transaction_code = 'F', 'F: withheld for tax',\n        f.transaction_code = 'G', 'G: gift',\n        'All other codes')                              AS code,\n    count()                                             AS line_count,\n    round(100 * count() / any(t.total_lines), 1)        AS share_pct\nFROM global_markets.stocks_form4 AS f\nCROSS JOIN\n(\n    SELECT count() AS total_lines\n    FROM global_markets.stocks_form4\n    WHERE filing_date >= toDate('2025-08-01')\n      AND filing_date <  toDate('2026-08-01')\n      AND form_type = '4'\n      AND transaction_code != ''\n) AS t\nWHERE f.filing_date >= toDate('2025-08-01')\n  AND f.filing_date <  toDate('2026-08-01')\n  AND f.form_type = '4'\n  AND f.transaction_code != ''\nGROUP BY code\nORDER BY multiIf(\n    code LIKE 'P:%', 1,\n    code LIKE 'S:%', 2,\n    code LIKE 'A:%', 3,\n    code LIKE 'M:%', 4,\n    code LIKE 'F:%', 5,\n    code LIKE 'G:%', 6,\n    7)","computed_at":"2026-08-08T15:31:35.613678+00:00","elapsed":0.001555469}