outcometick 1.5.1 → 1.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
  scripts/publish-sdk-repos.mjs and overwritten wholesale on each publish.
6
6
  An edit made here survives until the next publish and then disappears.
7
7
 
8
- Generated from monorepo revision 3652fc71edb3360170ce324e623b19d0ff994844.
8
+ Generated from monorepo revision 6044c75a16de3ee60870d59cb44a25096bcc7258.
9
9
  -->
10
10
 
11
11
  # outcometick
@@ -93,7 +93,7 @@ const meta = await ot.meta(); // what can this key see?
93
93
 
94
94
  const { files } = await ot.files({
95
95
  from: "2026-08-01", to: "2026-08-12", // or date: "2026-08-12"
96
- asset: ["BTCUSD", "ETHUSD"], // an array means "any of these"
96
+ asset: ["BTC", "ETH"], // the BASE symbol, not BTCUSD
97
97
  dataset: "prices",
98
98
  interval: ["5m", NO_VALUE], // "5m" alone EXCLUDES the
99
99
  }); // period-less settlement streams
@@ -15,7 +15,7 @@ import { FIRST_COMPLETE_DAY } from './coverage-window.mjs';
15
15
  export const SCHEMA_VERSION = 1;
16
16
 
17
17
  /** SDK version reported by the docs page and stamped into every report. */
18
- export const SDK_VERSION = '1.5.1';
18
+ export const SDK_VERSION = '1.5.2';
19
19
 
20
20
  // ---------------------------------------------------------------------------
21
21
  // Languages
package/client/data.d.ts CHANGED
@@ -61,6 +61,11 @@ export interface FilesQuery {
61
61
  to?: string;
62
62
  venue?: Filter;
63
63
  dataset?: Filter;
64
+ /**
65
+ * The BASE symbol — `BTC`, `ETH`, `SOL`, … NOT the trading pair. Files are
66
+ * named `BTCUSD-…`, but the dimension is `BTC`; `"BTCUSD"` matches nothing.
67
+ * `meta().assets` lists the real values.
68
+ */
64
69
  asset?: Filter;
65
70
  /** `"none"` selects the streams that have no period at all. */
66
71
  interval?: Filter;
package/client/data.mjs CHANGED
@@ -140,7 +140,9 @@ export class DataClient {
140
140
  * @param q.to inclusive end; defaults to `from`.
141
141
  * @param q.venue polymarket | predict-fun
142
142
  * @param q.dataset prices | twap60s | book | klines | … (see meta())
143
- * @param q.asset BTCUSD, ETHUSD, …
143
+ * @param q.asset the BASE symbol — BTC, ETH, SOL, NOT the pair.
144
+ * Files are named BTCUSD-…, but the asset dimension is
145
+ * BTC; asking for "BTCUSD" matches nothing.
144
146
  * @param q.interval 5m, 1h, … or "none" for the streams that have no period
145
147
  *
146
148
  * Every filter accepts a string or an array; an array is joined with commas
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "outcometick",
3
- "version": "1.5.1",
3
+ "version": "1.5.2",
4
4
  "description": "Strategy SDK and CLI for outcometick prediction-market backtests",
5
5
  "type": "module",
6
6
  "license": "MIT",