PineForge v0.13.1-379-g9b50973
Deterministic PineScript v6 backtest runtime — C ABI reference
Loading...
Searching...
No Matches
Pine adapter (TradingView-parity policy layer)

The layer that turns a transpiled PineScript strategy into kernel commands and reproduces TradingView's own behaviour where it differs from a neutral engine — order priority within a bar, intraday caps, entry admission, rounding thresholds, the quirks a parity corpus measures. More...

Files

file  pine_adapter.hpp
 
file  pine_native_host.hpp
 
file  pine_strategy_host.hpp
 
file  pine_scheduler.hpp
 
file  pine_policy_support.hpp
 
file  pine_language_state.hpp
 
file  pine_float_compare.hpp
 
file  market_admission.hpp
 
file  exit_activation.hpp
 
file  exit_lifecycle.hpp
 
file  intraday_cap.hpp
 
file  intraday_order_budget.hpp
 
file  market_admission.hpp
 
file  order_birth.hpp
 
file  order_priority.hpp
 
file  reservation_expansion.hpp
 
file  trail_ticks.hpp
 

Detailed Description

The layer that turns a transpiled PineScript strategy into kernel commands and reproduces TradingView's own behaviour where it differs from a neutral engine — order priority within a bar, intraday caps, entry admission, rounding thresholds, the quirks a parity corpus measures.

It is a consumer of Kernel / native API, never a privileged one: every rule here is expressible through the same public native API a third-party host uses. A reader migrating away from PineScript wants Kernel / native API; a reader chasing a TradingView divergence wants this layer.