get_barsInspect completed stored OHLCV for a U.S. stock, ETF or crypto pair.
Area
Discovery & Research
Group
Assets & events
Access
Read
Risk
Read-only
▸Details
Full description
Details
Inspect stored OHLCV for one U.S. stock, ETF or crypto pair (e.g. BTC-USD).
Outside the Quawd app, bars come from a partial-market display feed (source "display"): stocks and ETFs from 2023-03-28, prices unadjusted for splits, volume far below consolidated volume; its note says so. A strategy's results are calculated on Quawd's consolidated data and can differ from these bars. Crypto bars are not available there (licensed_market_data).
Use timezone-aware start and end times, at most 14 days apart. Returns completed bars, oldest first, with each bar's open as a UTC ISO 8601 time: regular-session bars for stocks and ETFs, every bar around the clock for crypto. Gaps stay empty. An empty page means no bars were stored in the window. Use next_start as start with the same end, symbol and timeframe to continue. To inspect the stored candle at a recorded decision's timestamp, use explain_bar with include_ohlcv=true.
Capabilities
Bounded options and operating modes surfaced above the full JSON schema.
Timeframe options
timeframe
1m5m15m30m1h4h1dRequired Inputs
endstringWindow end, timezone-aware (exclusive).startstringWindow start, timezone-aware (inclusive). At most 14 days before end.symbolstringU.S. stock or ETF ticker, or crypto pair such as BTC-USD.Optional Inputs
limitintegerMost bars to return per page, 1-50.