Get Asset History
Daily total returns, spliced with your backfill rule when one exists, then cut to start_date/end_date so a dated read matches what a backtest sees. A read past the stored edge refreshes the bars first and waits a few seconds for them. Answers 202 with status: fetching while a load is still in flight and the window has nothing to show. data_edge is the last bar stored whatever the window, so an empty window is legible: past the edge, or before the listing.
Request
- Base URL: https://api.ensemble.markets (the document declares no server; this is the origin it was published from)
- URL: https://api.ensemble.markets/v1/assets/{asset}/history
- Auth: HTTP bearer
Path parameters
Symbol (AAPL) or asset ID (asset_... or legacy a-...)
Query parameters
metrics: return, risk and drawdown statistics over the returned slice
Splice your backfill rule in before the asset's first bar. False returns its own bars only.
Earliest bar to return (YYYY-MM-DD, inclusive). Omit for the beginning of the series (for a model, its default view start).
Latest bar to return (YYYY-MM-DD, inclusive). Omit for the end of the series.
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.