pineforge-codegen 1.5.0__tar.gz → 1.6.0rc1__tar.gz
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.
- {pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/CHANGELOG.md +34 -0
- {pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/PKG-INFO +1 -1
- pineforge_codegen-1.6.0rc1/VERSION +1 -0
- {pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/analyzer/call_handlers.py +3 -3
- {pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/codegen/session_market.py +1 -1
- {pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/codegen/ta.py +36 -33
- {pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/codegen/types.py +2 -2
- {pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/codegen/visit_expr.py +2 -2
- pineforge_codegen-1.5.0/VERSION +0 -1
- {pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/.gitignore +0 -0
- {pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/CONTRIBUTING.md +0 -0
- {pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/LEGAL.md +0 -0
- {pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/LICENSE +0 -0
- {pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/README.md +0 -0
- {pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/docs/PUBLIC_CONTRACT.md +0 -0
- {pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/docs/codegen-coverage-gaps.md +0 -0
- {pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/docs/pine-cap-activation.md +0 -0
- {pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/__init__.py +0 -0
- {pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/analyzer/__init__.py +0 -0
- {pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/analyzer/base.py +0 -0
- {pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/analyzer/contracts.py +0 -0
- {pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/analyzer/diagnostics.py +0 -0
- {pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/analyzer/tables.py +0 -0
- {pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/analyzer/types.py +0 -0
- {pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/ast_nodes.py +0 -0
- {pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/block_locals.py +0 -0
- {pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/builtin_keywords.py +0 -0
- {pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/codegen/__init__.py +0 -0
- {pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/codegen/base.py +0 -0
- {pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/codegen/capabilities.py +0 -0
- {pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/codegen/checked_settings.py +0 -0
- {pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/codegen/collection_history.py +0 -0
- {pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/codegen/constant_fold.py +0 -0
- {pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/codegen/drawing.py +0 -0
- {pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/codegen/emit_top.py +0 -0
- {pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/codegen/helpers.py +0 -0
- {pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/codegen/helpers_syminfo.py +0 -0
- {pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/codegen/host_members.py +0 -0
- {pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/codegen/input.py +0 -0
- {pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/codegen/order_shapes.py +0 -0
- {pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/codegen/run_stops.py +0 -0
- {pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/codegen/security.py +0 -0
- {pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/codegen/tables.py +0 -0
- {pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/codegen/tv_number_format.py +0 -0
- {pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/codegen/visit_call.py +0 -0
- {pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/codegen/visit_stmt.py +0 -0
- {pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/collection_history.py +0 -0
- {pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/diagnostic_codes.py +0 -0
- {pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/diagnostics_catalog.json +0 -0
- {pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/errors.py +0 -0
- {pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/external_requests.py +0 -0
- {pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/finite_ta_length.py +0 -0
- {pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/lexer.py +0 -0
- {pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/library_inline.py +0 -0
- {pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/library_modules.py +0 -0
- {pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/library_v5.py +0 -0
- {pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/limits.py +0 -0
- {pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/matrix_overloads.py +0 -0
- {pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/method_binding.py +0 -0
- {pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/parser.py +0 -0
- {pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/pine_libraries.py +0 -0
- {pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/pine_spelling.py +0 -0
- {pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/pragmas.py +0 -0
- {pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/request_discovery.py +0 -0
- {pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/request_feed_inventory.py +0 -0
- {pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/security_contexts.py +0 -0
- {pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/session_reads.py +0 -0
- {pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/signatures.py +0 -0
- {pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/support_checker.py +0 -0
- {pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/symbols.py +0 -0
- {pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/timeframe_token_cli.py +0 -0
- {pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/tokens.py +0 -0
- {pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/tv_input_choices.py +0 -0
- {pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pyproject.toml +0 -0
|
@@ -20,6 +20,40 @@ supported as exact pairs; on the 0.x line they are independent. See the
|
|
|
20
20
|
the release commit. A prerelease note describes changes since the preceding
|
|
21
21
|
prerelease or stable tag; the final stable note consolidates the series.
|
|
22
22
|
|
|
23
|
+
## 1.6.0 — Unreleased
|
|
24
|
+
|
|
25
|
+
The planned number of the next release; it stays **Unreleased** until its tag
|
|
26
|
+
exists, and the package version is unchanged. Codegen 1.6.0 is planned as the
|
|
27
|
+
exact engine/codegen pair with engine `v1.6.0`; the prerelease `1.6.0-rc.1`
|
|
28
|
+
pairs with engine `v1.6.0-rc.1`. This entry records what changed in this
|
|
29
|
+
repository since 1.5.0, and nothing else: the engine pairing, the date and the
|
|
30
|
+
final text are set when the release is prepared.
|
|
31
|
+
|
|
32
|
+
### Compatibility and migration
|
|
33
|
+
|
|
34
|
+
- The analyzer and the code generator do not change behavior: the only edits
|
|
35
|
+
under `pineforge_codegen/` since 1.5.0 are comments and docstrings in five
|
|
36
|
+
files (#202), so the C++ the transpiler emits for a script and the Python
|
|
37
|
+
and JSON contract are unchanged. No diagnostic code, severity or catalog
|
|
38
|
+
schema changes.
|
|
39
|
+
- The [release note policy](#release-note-policy) still applies: "A pair
|
|
40
|
+
change requires regenerated C++ and relinked strategy libraries, even
|
|
41
|
+
when the C ABI number is unchanged." Regenerate and relink against the
|
|
42
|
+
new engine's headers and static library.
|
|
43
|
+
- Engine behavior changes, including failure codes and the report contract,
|
|
44
|
+
are described in the paired engine's own release notes; this entry does
|
|
45
|
+
not summarize them.
|
|
46
|
+
|
|
47
|
+
### Changes since 1.5.0
|
|
48
|
+
|
|
49
|
+
- Remove the 11 gate-corpus pines that copy probes leaving the engine corpus
|
|
50
|
+
([#200](https://github.com/pineforge-4pass/pineforge-codegen-oss/pull/200)).
|
|
51
|
+
- Remove the subprocess time limits of CI tests and checks
|
|
52
|
+
([#201](https://github.com/pineforge-4pass/pineforge-codegen-oss/pull/201)).
|
|
53
|
+
- Move the recorded US-listed, futures, forex and metal tapes of the tests to
|
|
54
|
+
the private fixtures, and reword the comments and docstrings that cited them
|
|
55
|
+
([#202](https://github.com/pineforge-4pass/pineforge-codegen-oss/pull/202)).
|
|
56
|
+
|
|
23
57
|
## 1.5.0 — 2026-10-12
|
|
24
58
|
|
|
25
59
|
A minor release of the exact engine/codegen pair, paired with engine `v1.5.0`
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: pineforge-codegen
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.6.0-rc.1
|
|
4
4
|
Summary: PineScript v6 to C++ transpiler that targets the pineforge-engine runtime.
|
|
5
5
|
Project-URL: Homepage, https://github.com/pineforge-4pass/pineforge-codegen-oss
|
|
6
6
|
Project-URL: Issues, https://github.com/pineforge-4pass/pineforge-codegen-oss/issues
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
1.6.0-rc.1
|
{pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/analyzer/call_handlers.py
RENAMED
|
@@ -511,9 +511,9 @@ class CallHandlers:
|
|
|
511
511
|
if func_name == "vwap" and not all_args:
|
|
512
512
|
# The bare ``ta.vwap`` property is the VWAP of hlc3 (Pine v6
|
|
513
513
|
# reference: "It uses hlc3 as its source series"); TradingView's
|
|
514
|
-
# own read equals hlc3 on a daily bar (
|
|
515
|
-
#
|
|
516
|
-
#
|
|
514
|
+
# own read equals hlc3 on a daily bar (a daily US-stock probe,
|
|
515
|
+
# tapes kept outside this repository), where the engine used to
|
|
516
|
+
# read the bar's close.
|
|
517
517
|
default_src = Identifier(name="hlc3")
|
|
518
518
|
self._visit(default_src)
|
|
519
519
|
for field in ("high", "low", "close"):
|
{pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/codegen/session_market.py
RENAMED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
timeframe.
|
|
3
3
|
|
|
4
4
|
TradingView flags a bar by its own open time: on an extended-hours
|
|
5
|
-
|
|
5
|
+
US-listed stock's 60-minute chart the 09:00 bar, which holds the 09:30 open, is
|
|
6
6
|
pre-market and the 16:00 bar post-market. It reads a session's day mask per
|
|
7
7
|
session day, so an overnight session's Sunday-evening open belongs to
|
|
8
8
|
Monday's, and a ``0000-2400`` day is in market throughout; a D/W/M bar holds
|
|
@@ -407,34 +407,36 @@ class TaSiteHelper:
|
|
|
407
407
|
# TradingView's per-family clocks below a top-level lazy edge
|
|
408
408
|
# ------------------------------------------------------------------
|
|
409
409
|
#
|
|
410
|
-
# Pinned
|
|
411
|
-
#
|
|
410
|
+
# Pinned on a daily US-stock probe (tapes kept outside this repository;
|
|
411
|
+
# cadence-7 ternary probes ``v = bar_index % 7 == 3 ? <call> :
|
|
412
412
|
# na`` exposing the value through the entry size, plus lazy-``and``
|
|
413
413
|
# probes), each scored per call against three models:
|
|
414
414
|
#
|
|
415
|
-
# every-bar natives highest
|
|
415
|
+
# every-bar natives highest, sma, ema (every trade matched) -- the runtime
|
|
416
416
|
# advances the built-in on every chart bar; only the
|
|
417
417
|
# value is gated (``_lazy_edge_ta_hoist_plan``).
|
|
418
|
-
# hold-last source roc
|
|
419
|
-
#
|
|
418
|
+
# hold-last source roc, change, mom (every trade matched) --
|
|
419
|
+
# TradingView computes these from the CALL'S
|
|
420
420
|
# OWN ``source[length]`` history: the source is
|
|
421
421
|
# written only on bars where the call executes, the
|
|
422
422
|
# last executed value is held on skipped bars, and
|
|
423
423
|
# the history is na before the first execution
|
|
424
424
|
# (call 1 of every value probe has no TV entry).
|
|
425
|
-
# every-bar
|
|
426
|
-
#
|
|
427
|
-
#
|
|
428
|
-
#
|
|
429
|
-
#
|
|
430
|
-
# samples
|
|
431
|
-
#
|
|
432
|
-
#
|
|
425
|
+
# the every-bar clock matched almost no trade and the
|
|
426
|
+
# ring-of-executions clock at most one.
|
|
427
|
+
# per-execution cum, barssince, valuewhen, cross, crossover,
|
|
428
|
+
# rising (strictly monotonic over its executed
|
|
429
|
+
# samples) and math.sum (na until three
|
|
430
|
+
# executed samples), every trade matched -- the native
|
|
431
|
+
# only ever sees the samples of bars where the call
|
|
432
|
+
# executes, which is exactly the reached-only inline
|
|
433
|
+
# ``compute`` lowering (the every-bar clock matched
|
|
434
|
+
# fewer than all of them).
|
|
433
435
|
#
|
|
434
436
|
# The hoist is an ALLOW-LIST and requires a direct ``[k]`` read. A broad
|
|
435
437
|
# every-bar hoist of every stateful family measured on Cloud Run against
|
|
436
|
-
# the full population (
|
|
437
|
-
# fixed the pinned shapes but cost
|
|
438
|
+
# the full population (like-for-like vs the same lab bundle)
|
|
439
|
+
# fixed the pinned shapes but cost many tiers and hard-lane regressions,
|
|
438
440
|
# and hoisting allow-listed families WITHOUT a history read still broke
|
|
439
441
|
# four ETH hard-lane probes that main matched at 100%: ``adxVal > 30 and
|
|
440
442
|
# adxVal > ta.sma(adxVal, 7)`` (louislapis9), ``volume < ta.sma(volume,
|
|
@@ -444,12 +446,12 @@ class TaSiteHelper:
|
|
|
444
446
|
# ``ta.highest(high, n) / entry > 1.05`` under ``and`` (miemomo3). Every
|
|
445
447
|
# every-bar tape (highest/sma/ema ``[1]`` under ``and``, the ternary
|
|
446
448
|
# ``ta.highest(high, 5)[1]``, robmagnaye) reads ``[k]`` on the call, and
|
|
447
|
-
# the bare twins of those tapes (
|
|
448
|
-
# per-execution: ``close > ta.sma(close, 5)`` ring
|
|
449
|
-
#
|
|
450
|
-
#
|
|
451
|
-
# : na`` ring
|
|
452
|
-
# partial maximum). So: TradingView keeps a lazily executed call on the
|
|
449
|
+
# the bare twins of those tapes (same cadence-7 probes) are
|
|
450
|
+
# per-execution: ``close > ta.sma(close, 5)`` ring matched every trade
|
|
451
|
+
# (every-bar did not), likewise ``close > ta.ema(close, 5)``,
|
|
452
|
+
# ``? ta.sma(close, 5) : na`` (na until five executed samples) and
|
|
453
|
+
# ``? ta.highest(high, 5) : na`` (ring matched all but one trade; TV is na
|
|
454
|
+
# with one executed sample, then the partial maximum). So: TradingView keeps a lazily executed call on the
|
|
453
455
|
# reached-only clock unless the call's own history is referenced (``[k]``),
|
|
454
456
|
# in which case it materialises a continuous series and the call is
|
|
455
457
|
# evaluated on every bar. Only ``LAZY_EVERY_BAR_TA`` families
|
|
@@ -670,12 +672,13 @@ class TaSiteHelper:
|
|
|
670
672
|
per-execution inline compute (cum/barssince/valuewhen/cross*/rising/...)
|
|
671
673
|
must never precalc.
|
|
672
674
|
|
|
673
|
-
Re-pinned
|
|
675
|
+
Re-pinned: the old opt-out for a chart ``ta.sma`` under an
|
|
674
676
|
``and`` RHS (pf-probe-oliver-dual-vol-sma, "eager precalc is
|
|
675
677
|
TV-incorrect") and the matching recursive ``ta.ema`` rule encoded a
|
|
676
|
-
per-call clock that
|
|
677
|
-
``... and close > ta.sma(close,5)[1]``: every-bar
|
|
678
|
-
|
|
678
|
+
per-call clock that TradingView refuted for top-level shapes (a daily
|
|
679
|
+
US-stock probe, ``... and close > ta.sma(close,5)[1]``: the every-bar
|
|
680
|
+
clock matched every trade and the per-call clock did not; ``ta.ema``
|
|
681
|
+
likewise). The analyzer never marks a site inside an
|
|
679
682
|
``if``/loop/function scope static, so after hoisting the opt-outs
|
|
680
683
|
only reach a static lazy-edge ``ta.sma``/``ta.ema`` that is not a
|
|
681
684
|
top-level statement operand -- in practice a UDT field default
|
|
@@ -717,21 +720,21 @@ class TaSiteHelper:
|
|
|
717
720
|
# Every-bar hoisting of stateful ``ta.*`` sites below top-level lazy edges
|
|
718
721
|
# ------------------------------------------------------------------
|
|
719
722
|
#
|
|
720
|
-
# TradingView rule, pinned
|
|
721
|
-
# out-pin-ring-lazyand / lazyand-sma / lazyand-ema / ring-ternary): a
|
|
723
|
+
# TradingView rule, pinned on a daily US-stock probe (tapes kept outside
|
|
724
|
+
# this repository; out-pin-ring-lazyand / lazyand-sma / lazyand-ema / ring-ternary): a
|
|
722
725
|
# stateful ``ta.*`` call inside ANY expression operand of a top-level
|
|
723
726
|
# statement -- the RHS of a Pine-v6 lazy ``and``/``or``, either branch of a
|
|
724
727
|
# ternary, nested comparisons -- is evaluated on EVERY bar. Short-circuiting
|
|
725
728
|
# and branch selection gate only the *value*, never the built-in's state,
|
|
726
729
|
# and ``[1]`` on such a call is the previous BAR's value:
|
|
727
730
|
#
|
|
728
|
-
# c = bar_index % 7 == 3 and close > ta.highest(high,5)[1]
|
|
729
|
-
# c = bar_index % 7 == 3 and close > ta.sma(close,5)[1]
|
|
730
|
-
# c = bar_index % 7 == 3 and close > ta.ema(close,5)[1]
|
|
731
|
-
# v = bar_index % 7 == 3 ? ta.highest(high,5)[1] : na
|
|
731
|
+
# c = bar_index % 7 == 3 and close > ta.highest(high,5)[1]
|
|
732
|
+
# c = bar_index % 7 == 3 and close > ta.sma(close,5)[1]
|
|
733
|
+
# c = bar_index % 7 == 3 and close > ta.ema(close,5)[1]
|
|
734
|
+
# v = bar_index % 7 == 3 ? ta.highest(high,5)[1] : na
|
|
732
735
|
#
|
|
733
|
-
# (the per-call / "previous evaluation" model
|
|
734
|
-
#
|
|
736
|
+
# (the per-call / "previous evaluation" model mispredicts these).
|
|
737
|
+
# Production instance: robmagnaye14 ``bullMSS = setupAlive and
|
|
735
738
|
# dir == 1 and close > ta.highest(high, 10)[1]``.
|
|
736
739
|
#
|
|
737
740
|
# A stateful call INSIDE an ``if``/local-block/function body that does not
|
|
@@ -563,8 +563,8 @@ class TypeInferer:
|
|
|
563
563
|
milliseconds) is 7 776 000 000 on TradingView. Emitted as C++ ``int``
|
|
564
564
|
literal arithmetic the same product overflows (wraps to -813 934 592),
|
|
565
565
|
so a ``(time - t0) > threeMonths`` expiry fires on every bar (round 8
|
|
566
|
-
family U: latibonit15 execution-signals-confluence, six lanes;
|
|
567
|
-
|
|
566
|
+
family U: latibonit15 execution-signals-confluence, six lanes; a recorded
|
|
567
|
+
probe tape vs the engine). ``400 * MS`` over
|
|
568
568
|
``const int MS = 7200000`` is 2 880 000 000 too (lab tv
|
|
569
569
|
pf-cgs-int64-const, 2026-09-28): the constant is emitted as its
|
|
570
570
|
literal, so the product was the same C++ ``int`` overflow. Folding
|
{pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/codegen/visit_expr.py
RENAMED
|
@@ -865,8 +865,8 @@ class ExprVisitor:
|
|
|
865
865
|
# Same implicit tail as TA_IMPLICIT_APPEND["vwap"]:
|
|
866
866
|
# the symbol clock keys the Daily anchor reset.
|
|
867
867
|
# The bare property is the VWAP of hlc3 (Pine
|
|
868
|
-
# v6 reference;
|
|
869
|
-
#
|
|
868
|
+
# v6 reference; a recorded daily US-stock probe:
|
|
869
|
+
# TradingView's read equals hlc3 on
|
|
870
870
|
# a daily bar), never of the close.
|
|
871
871
|
_hlc3 = "((current_bar_.high + current_bar_.low + current_bar_.close) / 3.0)"
|
|
872
872
|
return (
|
pineforge_codegen-1.5.0/VERSION
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
1.5.0
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/analyzer/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/analyzer/contracts.py
RENAMED
|
File without changes
|
{pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/analyzer/diagnostics.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/builtin_keywords.py
RENAMED
|
File without changes
|
{pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/codegen/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/codegen/capabilities.py
RENAMED
|
File without changes
|
{pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/codegen/checked_settings.py
RENAMED
|
File without changes
|
|
File without changes
|
{pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/codegen/constant_fold.py
RENAMED
|
File without changes
|
|
File without changes
|
{pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/codegen/emit_top.py
RENAMED
|
File without changes
|
|
File without changes
|
{pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/codegen/helpers_syminfo.py
RENAMED
|
File without changes
|
{pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/codegen/host_members.py
RENAMED
|
File without changes
|
|
File without changes
|
{pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/codegen/order_shapes.py
RENAMED
|
File without changes
|
{pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/codegen/run_stops.py
RENAMED
|
File without changes
|
{pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/codegen/security.py
RENAMED
|
File without changes
|
|
File without changes
|
{pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/codegen/tv_number_format.py
RENAMED
|
File without changes
|
{pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/codegen/visit_call.py
RENAMED
|
File without changes
|
{pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/codegen/visit_stmt.py
RENAMED
|
File without changes
|
{pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/collection_history.py
RENAMED
|
File without changes
|
{pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/diagnostic_codes.py
RENAMED
|
File without changes
|
{pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/diagnostics_catalog.json
RENAMED
|
File without changes
|
|
File without changes
|
{pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/external_requests.py
RENAMED
|
File without changes
|
{pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/finite_ta_length.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/matrix_overloads.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/request_discovery.py
RENAMED
|
File without changes
|
{pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/request_feed_inventory.py
RENAMED
|
File without changes
|
{pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/security_contexts.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/timeframe_token_cli.py
RENAMED
|
File without changes
|
|
File without changes
|
{pineforge_codegen-1.5.0 → pineforge_codegen-1.6.0rc1}/pineforge_codegen/tv_input_choices.py
RENAMED
|
File without changes
|
|
File without changes
|