openalgo-script 0.7.0 → 0.7.1

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 CHANGED
@@ -7,6 +7,23 @@ nothing, fails the build before it can become permanent.
7
7
 
8
8
  ---
9
9
 
10
+ ## 0.7.1
11
+
12
+ Python's ADX now normalizes a selected overflowing directional movement to
13
+ absence before smoothing it. An overflow before seeding no longer prevents a
14
+ later valid seed, and an overflow after seeding no longer poisons the recurrence.
15
+ The raw direction comparison and tie rules are unchanged. This corrects a
16
+ Python-only discrepancy found after 0.7.0 was published; ordinary finite-input
17
+ vectors are unchanged.
18
+
19
+ Compiled histories, forming-bar replacements and independent expected results
20
+ cover both directions, missing inputs, competing movements and positive ties.
21
+ The expanded numerical gates compare 1,504,918 accepted calls with no differing
22
+ bits or absent values. These finite corpora do not exhaust every input history.
23
+
24
+ Upgrade both packages together. No source migration or compiled-format change
25
+ is required; recompute stored ADX results affected by overflowing movements.
26
+
10
27
  ## 0.7.0
11
28
 
12
29
  Both engines now pass exact numerical comparisons for all 116 scalar and
package/README.md CHANGED
@@ -26,7 +26,7 @@ execution; see [Phase 6](./ROADMAP.md#phase-6-the-second-engine-and-live-running
26
26
 
27
27
  ## Status
28
28
 
29
- **`0.7.0` runs studies, backtests strategies, draws a strategy on a chart,
29
+ **`0.7.1` runs studies, backtests strategies, draws a strategy on a chart,
30
30
  imports scripts from another chart language, and ships the language
31
31
  intelligence an editor needs.** The Python engine is on PyPI
32
32
  as `openscript`, at the same version, and the two are released together.
@@ -45,7 +45,12 @@ examples on every run rather than asserting it in a page. Two records can be put
45
45
  beside each other, and a pair over different bars is reported incomparable
46
46
  instead of being subtracted into a table that reads like a result.
47
47
 
48
- **New in `0.7.0`:** the two engines pass exact numerical comparisons across
48
+ **New in `0.7.1`:** Python's ADX recovers from overflowing directional movements
49
+ with the same values as the JavaScript engine. The correction covers overflow
50
+ before and after seeding, without changing ordinary vectors or the compiled
51
+ format. Upgrade both packages together.
52
+
53
+ The `0.7.0` numerical work established exact comparisons across
49
54
  all 116 scalar and stateful numerical signatures. Portable elementary kernels,
50
55
  changing-window corrections and checkpoint tests remove confirmed numerical
51
56
  deviations. Compiled cases also cover numeric arrays and conversions. Upgrade
@@ -107,7 +112,7 @@ first thing a stranger reads:
107
112
  corroborating implementation, not a result. That is why no conformance badge
108
113
  is shown here, though `npm run badge` will make one for an engine that passes.
109
114
 
110
- The version is `0.7.0` rather than `1.0` because of that list. The studies
115
+ The version is `0.7.1` rather than `1.0` because of that list. The studies
111
116
  surface is the part that is finished, and it is the part to build on.
112
117
 
113
118
  `ROADMAP.md` says what each phase owes before it is allowed to finish. The
@@ -1,5 +1,5 @@
1
1
  /** This build's package version. The release refuses to publish unless the tag, the manifest and this agree. */
2
- export declare const VERSION = "0.7.0";
2
+ export declare const VERSION = "0.7.1";
3
3
  /**
4
4
  * The compiled program format this compiler emits.
5
5
  *
@@ -3,7 +3,7 @@
3
3
  // VERSION comes from package.json and COMPILED_FORMAT_VERSION from
4
4
  // spec/compiled-program.md, so neither can drift from the thing it names.
5
5
  /** This build's package version. The release refuses to publish unless the tag, the manifest and this agree. */
6
- export const VERSION = "0.7.0";
6
+ export const VERSION = "0.7.1";
7
7
  /**
8
8
  * The compiled program format this compiler emits.
9
9
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openalgo-script",
3
- "version": "0.7.0",
3
+ "version": "0.7.1",
4
4
  "description": "An open trading language. Write a study or a strategy once, plot it, backtest it, trade it.",
5
5
  "keywords": [
6
6
  "trading",
@@ -4,7 +4,7 @@
4
4
  // spec/compiled-program.md, so neither can drift from the thing it names.
5
5
 
6
6
  /** This build's package version. The release refuses to publish unless the tag, the manifest and this agree. */
7
- export const VERSION = "0.7.0";
7
+ export const VERSION = "0.7.1";
8
8
 
9
9
  /**
10
10
  * The compiled program format this compiler emits.