Print a snapshot
Usage
# S3 method for class 'ledgr_snapshot'
print(x, ...)Examples
bars <- data.frame(
ts_utc = as.POSIXct("2020-01-01", tz = "UTC"),
instrument_id = "AAA",
open = 100,
high = 101,
low = 99,
close = 100,
volume = 1000
)
snapshot <- ledgr_snapshot_from_df(bars)
if (interactive()) print(snapshot)
ledgr_snapshot_close(snapshot)