@tidal-ts/core 0.6.0 → 0.7.0

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.
@@ -139,6 +139,15 @@ const OUTPUT_MARKS = {
139
139
  // where the two lines cross — which is the reading most people take off a
140
140
  // MACD, and it is unavailable when the difference is drawn as a third line.
141
141
  macd: { Hist: 'bar' },
142
+ // Single-output histograms: the study IS the bars. Bill Williams' Awesome
143
+ // Oscillator and Market Facilitation Index are defined as histograms, and
144
+ // Chaikin Money Flow is read as bars either side of zero. Their one output has
145
+ // the empty suffix. `elderRay` is NOT here although its Bull/Bear are
146
+ // conventionally bars: drawn as two one-colour bar layers on one axis, the
147
+ // shorter of the pair hides under the longer whenever they share a sign.
148
+ awesomeOscillator: { '': 'bar' },
149
+ chaikinMoneyFlow: { '': 'bar' },
150
+ marketFacilitationIndex: { '': 'bar' },
142
151
  };
143
152
  /** How one declared output should be drawn. `'line'` unless the overlay says
144
153
  * otherwise — see {@link OUTPUT_MARKS}. */
package/dist/vol.d.ts CHANGED
@@ -83,11 +83,12 @@ export declare const hvCol: (tenor: number) => string;
83
83
  export declare const rvCol: (tenor: number) => string;
84
84
  export declare const rvCenCol: (tenor: number) => string;
85
85
  /**
86
- * ATM vol **slope** at a tenor — the daily skew measure, from
87
- * `SurfaceFixedTermHist`.
86
+ * ATM vol **slope** at a tenor — the daily skew measure, from the feed's
87
+ * fixed-term surface history.
88
88
  *
89
- * It is `atmVol × (skewU1 − skewD1)`: the fitted curve one grid step above ATM
90
- * minus one step below, in **absolute vol points**, not a ratio.
89
+ * It is the ATM vol times the difference between the fitted curve's relative
90
+ * level one grid step above ATM and one step below, in **absolute vol points**,
91
+ * not a ratio.
91
92
  *
92
93
  * **Negative is normal equity skew** — downside vol above upside — and more
93
94
  * negative is a steeper crash premium. Worth stating because the sign is the whole
package/dist/vol.js CHANGED
@@ -124,11 +124,12 @@ export const hvCol = (tenor) => `hv${tenor}`;
124
124
  export const rvCol = (tenor) => `rvcc${tenor}`;
125
125
  export const rvCenCol = (tenor) => `rvccen${tenor}`;
126
126
  /**
127
- * ATM vol **slope** at a tenor — the daily skew measure, from
128
- * `SurfaceFixedTermHist`.
127
+ * ATM vol **slope** at a tenor — the daily skew measure, from the feed's
128
+ * fixed-term surface history.
129
129
  *
130
- * It is `atmVol × (skewU1 − skewD1)`: the fitted curve one grid step above ATM
131
- * minus one step below, in **absolute vol points**, not a ratio.
130
+ * It is the ATM vol times the difference between the fitted curve's relative
131
+ * level one grid step above ATM and one step below, in **absolute vol points**,
132
+ * not a ratio.
132
133
  *
133
134
  * **Negative is normal equity skew** — downside vol above upside — and more
134
135
  * negative is a steeper crash premium. Worth stating because the sign is the whole
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tidal-ts/core",
3
- "version": "0.6.0",
3
+ "version": "0.7.0",
4
4
  "private": false,
5
5
  "description": "Financial time-series vocabulary on pond-ts: the study/derive seam, the vol schema, bar windows, the columnar adapter and session helpers.",
6
6
  "license": "MIT",