@hoox-sh/pynets 0.7.0 → 0.8.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.
- package/CHANGELOG.md +17 -0
- package/README.md +1 -1
- package/dist/browser.js +52 -52
- package/dist/index.js +194 -5
- package/package.json +1 -1
- package/src/cli/rich.ts +1 -1
- package/src/runtime/compile/emit_call.ts +34 -3
- package/src/runtime/interpret.ts +36 -3
- package/src/runtime/ta.ts +164 -0
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.8.0] - 2026-11-04
|
|
11
|
+
|
|
12
|
+
Full builtin surface: every name registered by PYNE's `BuiltinEvaluator`
|
|
13
|
+
(941) now resolves in PyneTS, including the capstone synthesizer and
|
|
14
|
+
list-returning gamma levels.
|
|
15
|
+
|
|
16
|
+
### Added
|
|
17
|
+
- `ta.gamma_levels` — returns a `PineArray` (`array.get(g, 0)` / `array.get(g, 1)`), interpret + compile.
|
|
18
|
+
- `ta.intelligent_strategy_synthesizer` — multi-list trend/momentum/volatility/volume synthesis with market-regime and risk-profile adaptation.
|
|
19
|
+
- `ta.signal_confluence` — dict/map signal agreement, including boolean signals.
|
|
20
|
+
|
|
21
|
+
### Changed
|
|
22
|
+
- `ta.breakout_detection` treats a bare series argument as `0`, matching PYNE's `isinstance` bar-mode quirk.
|
|
23
|
+
|
|
24
|
+
### Notes
|
|
25
|
+
- All 941 registered builtin names resolve. `color.*`, `*.all`, `syminfo.ticker`, `timeframe.*`, and `last_bar_time` are handled structurally rather than by quoted dispatch keys; see `PARITY.md`.
|
|
26
|
+
|
|
10
27
|
## [0.7.0] - 2026-11-04
|
|
11
28
|
|
|
12
29
|
Wave 13: history-based, sentiment, and macro analytics, plus the newest-first
|
package/README.md
CHANGED
|
@@ -134,7 +134,7 @@ Wired through one dispatcher (`src/runtime/interpret.ts`). Not a second engine.
|
|
|
134
134
|
|
|
135
135
|
**Language** — `var` / `varip` / `:=`, tuples, `if` / `for` / `while` / `switch`, UDFs, `type` / `enum`, `import`, `library()`.
|
|
136
136
|
|
|
137
|
-
**`ta.*`** — SMA/EMA/RMA/WMA/VWMA/HMA/ALMA/DEMA/TEMA/KAMA/SWMA, RSI, ATR, Supertrend, Keltner, BB/BBW, MACD, Stoch, CCI, WPR, DMI/ADX, SAR, MFI, CMO, TSI, COG, stdev/dev/variance, highest/lowest, crossover/crossunder, volume (OBV, PVT, AD, WAD, NVI/PVI, III, WVAD), pivots, barssince, valuewhen, percentiles, and the v3/v4 bare names. Also `uo`, `rci`, `dpo`, `kst`, `stochrsi`, `donchian`, `ichimoku`, `bb_pct`, `emv`, `fractal`, `atr_stop`, `zigzag`, the Python bar-mode detectors (`hammer`, `gap_detector`, `macd_signal`, `acceleration_factor`, `stoch_smooth`, `engulfing`, `inside_bar_pattern`, `double_top_bottom`, `voi`, `bid_ask_imbalance`, `rsi_oversold_overbought`, `rsi_divergence`, `cumulative_delta`, `volume_momentum`, `volume_profile_high` / `low`, `volume_thrust`), and the statistical / risk analytics waves: `sma_weighted`, `apo`, `atr_normalized`, `beta`, `r_squared`, `comovement`, `skewness`, `kurtosis`, `volume_weighted_momentum`, `parkinson`, `garman_klass`, `mean_reversion_score`, `market_condition`, `order_flow_imbalance`, `liquidity_score`, `fear_greed_index`, `crowd_sentiment`, `smart_money_flow`, `trend_confirmation_score`, `max_loss_level`, `profit_lock_level`, `position_sizing`, `kelly_criterion`, `risk_reward_ratio`, `risk_reward_asymmetry`, `probability_of_movement`, `trend_strength`, `breakeven_level`, `market_structure_pivot`, `position_sizing_score`, `trailing_exit_level`, `optimal_entry_zone`, `mean_reversion_entry`, `multi_timeframe_signal`, `market_timing_index`, `regime_adaptive_signal`, `strategy_score`, `breakout_detection`, `ema_cross_signal`, `momentum_filter`, `volatility_regime`, `economic_impact_score`, `contrarian_signal`, `drawdown_recovery_level`, `pivot_point_levels`, `volatility_regime_score`, `correlation_filter`, `advanced_breakout_detector`, `pullback_bounce_level`, `divergence_detector`, `momentum_divergence`, `spread_analysis`, `employment_cycle_indicator`, `gdp_growth_proxy`, `inflation_proxy_indicator`, `expected_value`. Compile emits the same names.
|
|
137
|
+
**`ta.*`** — SMA/EMA/RMA/WMA/VWMA/HMA/ALMA/DEMA/TEMA/KAMA/SWMA, RSI, ATR, Supertrend, Keltner, BB/BBW, MACD, Stoch, CCI, WPR, DMI/ADX, SAR, MFI, CMO, TSI, COG, stdev/dev/variance, highest/lowest, crossover/crossunder, volume (OBV, PVT, AD, WAD, NVI/PVI, III, WVAD), pivots, barssince, valuewhen, percentiles, and the v3/v4 bare names. Also `uo`, `rci`, `dpo`, `kst`, `stochrsi`, `donchian`, `ichimoku`, `bb_pct`, `emv`, `fractal`, `atr_stop`, `zigzag`, the Python bar-mode detectors (`hammer`, `gap_detector`, `macd_signal`, `acceleration_factor`, `stoch_smooth`, `engulfing`, `inside_bar_pattern`, `double_top_bottom`, `voi`, `bid_ask_imbalance`, `rsi_oversold_overbought`, `rsi_divergence`, `cumulative_delta`, `volume_momentum`, `volume_profile_high` / `low`, `volume_thrust`), and the statistical / risk analytics waves: `sma_weighted`, `apo`, `atr_normalized`, `beta`, `r_squared`, `comovement`, `skewness`, `kurtosis`, `volume_weighted_momentum`, `parkinson`, `garman_klass`, `mean_reversion_score`, `market_condition`, `order_flow_imbalance`, `liquidity_score`, `fear_greed_index`, `crowd_sentiment`, `smart_money_flow`, `trend_confirmation_score`, `max_loss_level`, `profit_lock_level`, `position_sizing`, `kelly_criterion`, `risk_reward_ratio`, `risk_reward_asymmetry`, `probability_of_movement`, `trend_strength`, `breakeven_level`, `market_structure_pivot`, `position_sizing_score`, `trailing_exit_level`, `optimal_entry_zone`, `mean_reversion_entry`, `multi_timeframe_signal`, `market_timing_index`, `regime_adaptive_signal`, `strategy_score`, `breakout_detection`, `ema_cross_signal`, `momentum_filter`, `volatility_regime`, `economic_impact_score`, `contrarian_signal`, `drawdown_recovery_level`, `pivot_point_levels`, `volatility_regime_score`, `correlation_filter`, `advanced_breakout_detector`, `pullback_bounce_level`, `divergence_detector`, `momentum_divergence`, `spread_analysis`, `employment_cycle_indicator`, `gdp_growth_proxy`, `inflation_proxy_indicator`, `expected_value`, `gamma_levels`, `intelligent_strategy_synthesizer`, `signal_confluence`. Compile emits the same names. **All 941 PYNE-registered builtin names resolve** — see [`PARITY.md`](PARITY.md) for the structural aliases and remaining edge semantics.
|
|
138
138
|
|
|
139
139
|
**`math.*` / `str.*` / `color.*` / `input.*` / `log.*`** — the Python set, including `nz`, `iff`, `fixnan`, `timestamp`, `weekofyear`, `time_tradingday`.
|
|
140
140
|
|