dwlf_get_conditions
Retrieve Bitcoin's current regime, cost-basis levels, cycle windows, and recent events in one call to assess market conditions without stitching multiple requests.
Instructions
What are an asset's conditions right now? Bitcoin today (asset: "btc"). ONE call returning: the regime (daily and weekly trend, momentum, volatility; the Weinstein weekly stage; and the on-chain bands: MVRV below 1 / above 3.5, supply in profit below 50 %, 7-day STH-SOPR below 1); the COST-BASIS LADDER (price above or below the realised, short-term-holder and long-term-holder realised price, and since when); the stored weekly and daily cycle windows with today's position against their dates; every event on the symbol in the last days (price, cycle, CFTC positioning cot.*, on-chain onchain.*); and provenance. For BITCOIN, call this first, instead of stitching dwlf_get_regime, dwlf_get_stage, dwlf_get_cycle_windows and dwlf_get_events together. It carries the on-chain cost basis, the on-chain bands, the cycle windows and CFTC positioning in one read; use dwlf_get_support_resistance for BTC's S/R levels.
SHAPE (responseVersion 3; the response carries responseVersion, so check it; 1 and 2 are the same shape from an older DWLF API, which never locks a section): { kind: "conditions", asset, responseVersion, framing, symbol, asOf, price, regime: { daily, weekly, stage, onchain: { status, bands[] } }, costBasisLadder: { status, onchainSymbol, sideBasis, levelsPending, rungs: [{ key, side, level, distancePct, since }], counts }, cycleWindows: { weekly, daily }, recentEvents: { days, truncated, events: [{ eventType, date, family, onchain?, cot? }] }, provenance: { sources, methodVersions, brkVersion, scoring, unavailable } }. A rung's side comes from its latest on-chain cross event; level/distancePct need the stored on-chain day (levelsPending: true until then). On-chain readings are read from the own-data BTC symbol (onchainSymbol), whose price is DWLF's own BRK oracle close.
⚠️ Read before you report:
framing: these are CONDITIONS, NOT CALLS. Describe the state ("price is below the STH realised price since 20-Oct"); never turn it into buy, sell or hold recommendations.provenance.scoringisunscored: nothing here is scored as a predictor.status: "pending"means the on-chain events are not ingested yet, not that the market is neutral. Say so rather than inferring a side.provenance.unavailablelists legs that failed or timed out (those fields are null). Never fill them from memory.asOfholds the price bar date and the on-chain day, block height andconfirmedAt. Quote them, so staleness is visible.price.withheld: truemeans this API key may not receive the vendor's raw close (data licensing). Sides and states are unaffected; do not ask for the close another way.Cycle windows carry
verification(currently unverified): treat them as rough timing, not a forecast.LOCKED (responseVersion 3, DWLF Block plans): a section the plan does not read (
regime.daily,regime.weekly,regime.stage,cycleWindows) is{ locked: true, lockedFamily, requiredPlan, upgradeUrl, pricingUrl }, and an event row of such a family is{ eventType, date, …, locked: true, lockedFamily, requiredPlan, upgradeUrl, pricingUrl }(what fired and when; no price, levels, values or meaning). Say the reading exists and which plan unlocks it, and give your humanupgradeUrl(the plans page); never infer its value.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "dwlf_get_conditions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Recent-events window in days (default 14). | |
| asset | No | The asset (default btc; the only one today). | |
| symbol | No | BTC/USD (default; the exchange price) or BTCOC/USD (DWLF's own on-chain BTC price). Any spelling: BTC, BTCUSD, BTC-USD, BTCOC, BTCOCUSD, BTCOC-USD. |