Skip to content

Market.snapshot

Python

Every security's quote at a time.

Parameters

at str | datetime | None optional

A JST time. Default: the latest.

raw bool optional = False

BRiSK's own fields.

Returns

Table

A Table, one quote per security.

API method
briskapi.Market().snapshot(
    at: str | datetime | None = None,
    raw: bool = False,
) -> Table
Example usage
1
2
3
4
5
6
import briskapi

briskapi.load("recordings/demo")   # or briskapi.connect() for live
quotes = briskapi.Market().snapshot(at="09:01:00").to_pandas()
top = quotes.sort_values("volume", ascending=False).head()
print(top[["code", "last_price", "volume"]])
Example responseCaptured from the demo
      code  last_price    volume
2525  7647        27.0  37356900
1924  8918        12.0  15685600
1283  6740        37.0   6820600
3279  1689         2.0   4086700
2141  9831       481.0   3210600