numeraire_dataset.zones.wrds_equity.crsp_daily_stock_sql#

numeraire_dataset.zones.wrds_equity.crsp_daily_stock_sql(*, start_date: str | date | Timestamp, end_date: str | date | Timestamp, bucket: int, partitions: int = 64, convention: Literal['siz', 'ciz'] = 'siz') str[source]#

Return deterministic SQL for one complete-history permno bucket.

Values are validated and rendered as typed date/integer literals rather than passed through from arbitrary SQL text. Exact SQL bytes are subsequently pinned by the raw-zone query hash. The query deliberately orders by security and date so connector/backend row ordering cannot move the content digest.