Historical.metadata.get_record_count¶
How many records a get_range request would return, to size it before running it.
Parameters¶
dataset str requiredXTKS.BRISK (your own live recordings) or XTKS.BRISKDEMO (the public demo, open to every identity).
start str | int | date requiredThe inclusive start. An ISO 8601 time (JST unless it names a zone), a date (that trading day, from JST midnight) or UTC nanoseconds.
end str | int | date | None optionalThe exclusive end, in the same forms. Default: the end of the start's trading day. At most 31 days after start; both between 2000 and 2100.
symbols Iterable[str] | str optional = "ALL_SYMBOLS"Up to 2,000 JPX codes ("7203", "167A"), as a list or comma-separated. Default "ALL_SYMBOLS".
schema str optional = "trades"trades (default), mbp-10, definition, imbalance, brisk-quotes or ohlcv-1s, ohlcv-1m, ohlcv-1h, ohlcv-1d. See Data format.
limit int | None optionalThe most records to return, after time-ordering.
Returns¶
int
The number of records.
API method
Example usage