Fetch Series
fetch_seriesRaw time series for one field on one symbol, oldest-first, capped at 1000/1500 points.
Use this to explore what a field actually looks like before wiring it into test_formula.
Requires an EnsoTrade Pro API key. symbol e.g. 'SOL' or 'SOLUSDT'.
timeframe="scalp" (default): WDE order-flow microstructure, second-scale. field is one
of mid, spread_bp, signal, toxicity, cost_bp, ret_1s_bp, ret_5s_bp, ret_30s_bp, ret_60s_bp
(top-level), or ofi1, ofi5, dofi, qi, mp, obi, tf1, tf5, tf30, run, inten, vpin, wall,
bid_pr, ask_pr, sigma1m (order-flow features). hours max 168. Coverage is uneven and only
covers whatever windows the WDE panel was actively open for a symbol — SOL and BNB have the
most logged history, other symbols may return no rows for a recent window; widen hours or
try a different symbol if so.
timeframe = "15m", "1h", "4h", or "1d" for day/swing work: real OKX perp candles instead
of order-flow logs (always available, not dependent on the WDE panel being open). field
is one of open, high, low, close, volume, ret_pct (bar-over-bar % return), range_pct
(bar high-low as % of close), body_pct (close-open as % of open), rsi14, vol_ratio (volume
vs its 20-bar average). hours max ~1500 bars worth (e.g. up to ~62 days for "1h").
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| field | Yes | ||
| hours | No | ||
| symbol | Yes | ||
| timeframe | No | scalp |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||