import lakeapi
import datetime
lakeapi.use_sample_data(anonymous_access = True)
books = lakeapi.load_data(
table="book",
start=datetime.datetime(2024, 9, 24),
end=datetime.datetime(2024, 9, 25),
symbols=["DOGE-USDT"],
exchanges=["BINANCE"],
)
books.set_index('received_time', inplace = True)
books[['bid_0_price', 'ask_0_price']][:1000].plot()