|
PineForge v0.13.1-379-g9b50973
Deterministic PineScript v6 backtest runtime — C ABI reference
|
| ►Npineforge | |
| ►Nadmission | |
| ►Nmarket_admission_v2 | |
| CAllocation | |
| CBookObservation | |
| CCommandCapture | |
| CCommandEvent | |
| CCommandObservation | |
| CConfiguration | |
| CCurrentPrices | |
| CDraft | |
| CField | |
| CInstructionResolution | |
| CJournal | |
| CPriceRequest | |
| CReviewCapture | |
| CReviewEvent | |
| CReviewReceipt | |
| CSizingEvent | |
| CSizingObservation | |
| CSizingRevision | |
| CAllocation | |
| CBookObservation | |
| CCommandCapture | |
| CCommandEvent | |
| CCommandObservation | |
| CConfiguration | |
| CCurrentPrices | |
| CDraft | |
| CField | |
| CInstructionResolution | |
| CJournal | |
| CPriceRequest | |
| CReviewCapture | |
| CReviewEvent | |
| CReviewReceipt | |
| CSizingEvent | |
| CSizingObservation | |
| CSizingRevision | |
| ►Nbroker | |
| COpeningObligations | |
| COpeningOwner | |
| COpeningReceipt | |
| CPositionCloseObligation | |
| CPositionCloseRequest | |
| ►Ncompat | |
| ►Npine | |
| CAdmission | |
| CCalculation | |
| CCapClock | |
| CCapConfiguration | |
| CCloseCause | |
| CCloseNextOpen | |
| CCloseNow | |
| CCloseQuotaTransfer | |
| CContinuationCandidate | |
| CExitActivationContext | |
| CExitActivationPolicy | |
| CExitActivationRequest | |
| CExitPlacementEvidence | |
| CExitSuspensionContext | |
| CHistory | |
| CIntradayCap | |
| CIntradayOrderBudget | |
| CLimitContinuation | |
| CMatchedAttempt | |
| COrderPriority | |
| COrderPriorityCandidate | |
| COrderPriorityContext | |
| COrderPriorityDecision | |
| COrderRiskDay | |
| CPrices | |
| CQuotaTrigger | |
| CReservationGrowthCandidate | |
| ►Ndetail | |
| CPineMapKeyEqual | |
| CPineMapKeyEqual< Key, true > | |
| CPineMapKeyHash | |
| CPineMapKeyHash< Key, true > | |
| ►Nengine_script_run_v18 | |
| ►CBacktestEngine | |
| CAbortFlag | |
| CAbortRequested | |
| CBarTime | |
| CExecutionConsumerSlot | |
| CNativeConsumerBindTag | |
| CNativeSecurityFeed | |
| CSecurityEvalState | |
| CBrokerStateHashProvider | |
| CBrokerStateHashSink | |
| CIExecutionConsumer | |
| CNativeAccountObservation | The account row that follows an applied execution in the event history: the shared ordinal, the effective time, the marked equity, the realized balance and the signed book after it |
| CNativeAnchoredLevelView | Ephemeral read-only facts of one anchored-leg materialization (L7b), offered to the host exactly once, before the ArmedEvent is built |
| CNativeBeginArgs | Borrowed begin-call facts |
| CNativeCompleted | |
| CNativeCurrentExecution | A synchronous execution of one request accepted or replaced in this very callback: a target handle and a price rule, and nothing else |
| CNativeCurrentExecutionPreview | Recomputed observations, never an apply token |
| CNativeCurrentPointView | What current_execution_point() answers inside a callback: the point's decision context, its price, which quote that price is, and the ordinal the quote came from |
| CNativeExecutionTermsFacts | Read-only owning-value facts for one candidate |
| CNativeFailed | |
| CNativeFailure | The durable record native_state().failure answers: the code, the operation it happened in, an optional event ordinal and discriminator, and the allocation-free context |
| CNativeFailureContext | The three in-run facts a failure may carry, tagged by kind |
| CNativeFxCurveSetupResult | What configure_native_fx_curve answers: the status and, on refusal, the curve validation with the index of the first bad point |
| CNativeInputContext | Accepted input facts presented before the generic consumer aggregates the bar into its script interval or evaluates any matching point |
| CNativeInRunCause | The event ordinal a failure was caused by, 0 when absent |
| CNativeInRunCursor | Where on the modeled path a failure happened: the driver point's coordinate and its interpolation position t |
| CNativeInRunRecipient | The request incarnation a failure was addressed to, 0 when absent |
| CNativeMarginCallView | Ephemeral factual view of one kernel-issued liquidation before its units are fixed |
| CNativeMarginCheckPoint | Ephemeral factual view of one kernel check point, offered to the host before the check runs |
| CNativeMarginDecision | The host's answer to one requirement view |
| CNativeMarginRequirementView | Ephemeral factual view of the numbers the kernel is about to compare, at one check point, BEFORE the breach test |
| CNativeMarketEvent | One owning row of native_events(after_ordinal): a command event, a driver point or an account observation, tagged by kind |
| CNativeOpenLot | Owning value row for one open physical lot, copied at query time by native_open_lots(mark) — the lot-by-lot view of the same book physical_position() aggregates |
| CNativePhysicalPosition | The book as one aggregate: signed units, the volume-weighted average entry price and the number of open physical lots |
| CNativePrecommitView | Ephemeral factual view of one prepared execution before any physical effect |
| CNativeReady | |
| CNativeRiskState | The run's generic risk ledger (L9), as the kernel holds it |
| CNativeRunning | |
| CNativeSetupResult | What configure_native answers: the status and, on refusal, the first error field validate_native_run_spec found |
| CNativeStateView | The flattened run state native_state() answers: the lifecycle kind, a borrowed pointer to the staged spec (nullptr when Unconfigured), the phase, how a Completed run ended, the durable failure, the consumed run-number high water and the monotonic decision floor |
| CNativeStrategyHost | The public native host: an abstract subclass of BacktestEngine with no PineScript on it |
| CNativeTickContext | One accepted realtime print before native matching at its current decision point |
| CNativeTimeframeBarContext | One completed higher-timeframe bucket of a declared subscription (NativeRunSpec::subscriptions), presented before the calculation of the input bar it is delivered on |
| CNativeTrailState | Read-only projection of a live generic Trail request |
| CNativeUnconfigured | The NativeLifecycle alternatives, one per NativeLifecycleKind |
| CNativeWorkingRequest | Owning value row for one live request, copied at query time |
| ►Nexecution | |
| ►Nclose_scope_v1 | |
| CBook | |
| COpeningExposure | |
| ►Nclose_selection_v1 | |
| CSelectedOpeningSet | |
| ►Nreverse_to_v1 | |
| CReverseTo | |
| ►Nsettlement_projection_v1 | |
| CAccountEffectProjection | |
| CAccountEffectProjection | |
| CBook | |
| CFill | |
| CFlatten | |
| CLifecycleBatch | |
| CLifecycleEffects | |
| CLifecycleIntent | |
| COpeningExposure | |
| CPendingRemoval | |
| CPhysicalExecutionContext | |
| CResult | |
| CReverseTo | |
| CSelectedOpeningSet | |
| CSettlementInspection | |
| ►Nexit_legs | |
| ►Nlifecycle_v1 | |
| CAction | |
| CBarrier | |
| CBindOwner | |
| CCancel | |
| CCancelDeferredActivation | |
| CCompleteBarrier | |
| CDefinition | |
| CFrame | |
| CLifecycle | |
| CObservationWindow | |
| CObserve | |
| CPrices | |
| CReplacement | |
| CRestore | |
| CRetirement | |
| CStageReplacement | |
| CSuspend | |
| CSuspension | |
| CTarget | |
| CAction | |
| CBarrier | |
| CBindOwner | |
| CCancel | |
| CCancelDeferredActivation | |
| CCompleteBarrier | |
| CDefinition | |
| CFrame | |
| CLifecycle | |
| CObservationWindow | |
| CObserve | |
| CPrices | |
| CReplacement | |
| CRestore | |
| CRetirement | |
| CStageReplacement | |
| CSuspend | |
| CSuspension | |
| CTarget | |
| ►Nmath | |
| CSum | Rolling sum over the last length non-na sources for PineScript math.sum(source, length) (not one of the ta builtins) |
| ►Nnative_calendar | |
| ►Nnative_calendar_v2 | |
| CCivilResolution | |
| CNativeInterval | |
| CSessionCalendar | |
| CSessionWindow | |
| CTimeframe | |
| CTimeframeCompatibility | |
| CTimezoneIdentityDescriptor | |
| CCivilResolution | |
| CNativeInterval | |
| CSessionCalendar | |
| CSessionWindow | |
| CTimeframe | |
| CTimeframeCompatibility | |
| CTimezoneIdentityDescriptor | |
| ►Nnative_driver_v5 | |
| CINativeDriverSink | |
| CNativeCoordinate | Everything the kernel knows about WHERE a point is, as one owning value: its event ordinal, the interval index, the nominal and scheduled-eligible opens, the last traded close, the next period and next input opens, the effective time the account converts and hashes at, the source price time, and the three classifications above |
| CNativeDecisionContext | |
| CNativeDriverPoint | One point the driver produced: its coordinate, the raw price before slippage or any grid, the provider's sequence for an observed print (nullopt otherwise), and whether the point is a matching point, an excursion sample, or both |
| CNativeDriverStatistics | |
| CNativeInputPreflightResult | What preflight_native_inputs answers: the error and the first offending bar's index, or -1 when the refusal is not about one bar |
| ►Nnative_fx_curve_v1 | |
| CNativeFxCurve | An immutable account-currency FX curve: parallel arrays of effective-from timestamps in epoch milliseconds and the account-currency units per one unit of the symbol's quote currency |
| CNativeFxCurveValidation | What validate_native_fx_curve and configure_native_fx_curve report: the error and the index of the element that failed |
| ►Nnative_module | |
| CModule | The one class the macro instantiates: the host plus the module boundary |
| ►Nnative_order | |
| ►Nnative_order_v1 | |
| CBirth | |
| CRequestHandle | |
| CRunIdentity | |
| CSessionKey | |
| ►Nnative_order_v6 | |
| CAbsolute | Where a request's trigger level comes from |
| CAcceptedEvent | One request was accepted: the definition, and the timeline ordinal it was accepted at |
| CActivatedEvent | |
| CActivateStop | |
| CActivateStopLimit | |
| CActivateTrail | |
| CActivationGrid | What the consumer hands to prepare_trigger under an opted-in price grid (NativeRunSpec::price_grid == QuantizeFillsAndTriggers), the way acceptance receives CommandContext::price_tick: the tick ladder and the rounding the matcher tested the activation on |
| CAllowanceAllScope | |
| CAllowanceDeferred | |
| CAllowanceUnits | |
| CAllowanceUnset | |
| CArmContext | What the consumer hands to prepare_owner_applied for an anchored leg's materialization, the way acceptance receives CommandContext::price_tick |
| CArmedEvent | An anchored leg was materialized, exactly once: fill + offset, then the rounding, then resolve_anchored_level, then the representability check, and the resulting level written into the leg's trigger with its anchor becoming Absolute |
| CArmedTransaction | |
| CBeginTrailTracking | |
| CBindCohort | Bind to a host-built roster (cohort_open / cohort_add / cohort_remove), read at the match rather than frozen at submit |
| CBindOpening | Bind to ONE already-live opening, by its handle and the positive cycle it is live in |
| CBindOpenings | Bind to a fixed cohort of already-live openings |
| CBookClose | The authority an armed leg acquires under NativeArmScope::Book: the whole position its owner's fill left, on this cycle and side, bound at the fill's cursor |
| CBookTransaction | |
| CCancelledEvent | |
| CCancelResult | |
| CCashValue | Native sizing bases (L3) |
| CCloseBoundEvent | |
| CCohortClose | |
| CCohortHandle | A host-maintained, run-scoped roster identity |
| CCohortReceipt | |
| CCohortRoster | |
| CCommandContext | What acceptance needs from the run to judge a command: the point's ordinal and coordinate, the price tick the tick spellings resolve against, the quantity grid, and the live book |
| CCommandInstalled | |
| CCommittedExecutionFacts | |
| CDeferredGroupAdjustmentEvent | |
| CEligibilityFacts | |
| CEnrollmentFromApplied | |
| CEnrollmentFromCommand | |
| CEquityFraction | A fraction in (0, 1] of MARKED equity at the sizing point |
| CEvaluationContext | |
| CEventId | |
| CEventRange | |
| CExecutionAppliedEvent | One committed execution: the definition, the cursor, the resolved price and units, the scope it acted on, the committed closed-row range, the cycle on either side, and the ticket it booked under |
| CExecutionProposal | |
| CExecutionTerms | |
| CExplicitUnits | A reduction of exactly these units, finite and positive |
| CFromOwnerFill | Defer a level to the owner's fill: at the arm the level becomes fill + offset, with offset signed (adverse is negative) and spelled in price ticks when ticks is set, then rounded by rounding |
| CHostSized | An opening or a closing whose quantity the HOST resolves, in NativeStrategyHost::resolve_execution_terms |
| CImmediateRemaining | Take whatever the point allows, with no per-point cap |
| CIndependent | No owner: the request stands on its own book authority |
| CInlineCommandEvents | Almost every prepared command yields one history event |
| CInstalled | |
| CInvalidHandleEvent | |
| CLimit | fill_through makes the limit a touch trigger (market-if-touched): the level still gates when the request becomes executable, but its fill is not bounded by the level, so slippage may carry it past the level |
| CLimitReady | |
| CLiveRequest | |
| CMarginCallEvent | A kernel-issued liquidation that actually filled |
| CMarket | Match at the next eligible matching point, with no level to reach |
| CMarketReady | |
| CMatchCursor | |
| CMatchRejectedEvent | A candidate the run refused, with its MatchRejectReason and the cursor it was refused at |
| CMember | |
| CNativeRiskEvent | One generic risk limit breaching (L9) |
| CNoChange | |
| CNoEffectEvent | A reduction or a flatten that had nothing to close: terminal, with no execution identity, no fill, no fee and no physical action |
| CNoGroup | |
| CNoTarget | A dynamic cohort has no currently live member |
| CNotWorkingEvent | |
| CObserveTrailExtremum | |
| COpeningClose | |
| COpeningObservation | |
| COpeningsClose | Immutable fixed cohort |
| COwnerOpenedUnits | A reduction of exactly what the owner's fill opened, bound at the arm and reported by a QuantityBoundEvent |
| CPendingDeferred | |
| CPendingNone | |
| CPointBudget | Cap what this request may execute at ONE matching point at units |
| CPositionFlat | |
| CPositionNonflat | |
| CPreparationError | A working-request preparation that could not produce a representable instruction — a nonrepresentable quantity, most often |
| CPreparedCancel | |
| CPreparedExecution | |
| CPreparedMutation | |
| CPreparedReplace | |
| CPreparedSubmit | |
| CQuantityBoundEvent | A Reduce{OwnerOpenedUnits} was bound, at its owner's fill, to what that fill opened |
| CReduce | A closing-only intent |
| CRejectedEvent | |
| CRemainingDeferred | |
| CRemainingFlattenAll | |
| CRemainingProjectionDeferred | |
| CRemainingProjectionFlattenAll | |
| CRemainingProjectionNoTarget | |
| CRemainingProjectionUnbound | |
| CRemainingProjectionUnits | |
| CRemainingUnbound | |
| CRemainingUnits | A resolved remaining quantity, in units |
| CReplacedEvent | |
| CReplaceOptions | Replacement behaviour that is not expressible in the successor request |
| CReplaceRejectedEvent | |
| CReplaceResult | |
| CRequest | Aggregate field order keeps market construction: Request{Transact{1.0}, "buy", "comment"} Request{Flatten{}, "flat", ""} Request{Reduce{ExplicitUnits{3}}, "close", ""} New fields default to Market / ImmediateRemaining / Independent / NoGroup |
| CRequestDefinition | The immutable accepted form of one request: its handle, the request value as accepted, its birth (acceptance ordinal and decision floor), its origin (RequestOrigin::Host, or the kernel's own for a liquidation or a risk flatten) and its authority |
| CReservationReducedEvent | |
| CReverseTo | Exact target exposure for an explicit reversal request |
| CScopeFraction | A fraction in (0, 1] of the bound scope, resolved at the matching candidate |
| CSelectedExposure | Native authorization receipt, converted to a call-local financial SelectedOpeningSet only at the consumer's settlement boundary |
| CSized | A kernel-sized opening |
| CStop | A stop trigger: the modeled path has to reach price from the adverse side |
| CStopActive | |
| CStopIdle | |
| CStopLimit | A stop that, once reached, becomes a limit at limit |
| CStopLimitLive | |
| CStopLimitPending | |
| CSubmitResult | What submit answers |
| CTargetObservation | |
| CTermsResolvedEvent | |
| CTermsResolvedInput | |
| CTrail | Offset is a price distance: the stop rides offset behind the running best |
| CTrailActive | |
| CTrailTicks | Trail offset spelled in price ticks instead of a price distance |
| CTrailTrack | |
| CTrailWaitArm | |
| CUnboundBookClose | |
| CWait | The authority an unarmed WaitForApplied child holds: accepted and live, but never a matching candidate until its owner's fill arms it — under either visibility |
| CWaitForApplied | The one owner relation that arms (the ArmedEvent) |
| CWorkingRequestCore | |
| CAbsolute | Where a request's trigger level comes from |
| CAcceptedEvent | One request was accepted: the definition, and the timeline ordinal it was accepted at |
| CActivatedEvent | |
| CActivateStop | |
| CActivateStopLimit | |
| CActivateTrail | |
| CActivationGrid | What the consumer hands to prepare_trigger under an opted-in price grid (NativeRunSpec::price_grid == QuantizeFillsAndTriggers), the way acceptance receives CommandContext::price_tick: the tick ladder and the rounding the matcher tested the activation on |
| CAllowanceAllScope | |
| CAllowanceDeferred | |
| CAllowanceUnits | |
| CAllowanceUnset | |
| CArmContext | What the consumer hands to prepare_owner_applied for an anchored leg's materialization, the way acceptance receives CommandContext::price_tick |
| CArmedEvent | An anchored leg was materialized, exactly once: fill + offset, then the rounding, then resolve_anchored_level, then the representability check, and the resulting level written into the leg's trigger with its anchor becoming Absolute |
| CArmedTransaction | |
| CBeginTrailTracking | |
| CBindCohort | Bind to a host-built roster (cohort_open / cohort_add / cohort_remove), read at the match rather than frozen at submit |
| CBindOpening | Bind to ONE already-live opening, by its handle and the positive cycle it is live in |
| CBindOpenings | Bind to a fixed cohort of already-live openings |
| CBirth | |
| CBookClose | The authority an armed leg acquires under NativeArmScope::Book: the whole position its owner's fill left, on this cycle and side, bound at the fill's cursor |
| CBookTransaction | |
| CCancelledEvent | |
| CCancelResult | |
| CCashValue | Native sizing bases (L3) |
| CCloseBoundEvent | |
| CCohortClose | |
| CCohortHandle | A host-maintained, run-scoped roster identity |
| CCohortReceipt | |
| CCohortRoster | |
| CCommandContext | What acceptance needs from the run to judge a command: the point's ordinal and coordinate, the price tick the tick spellings resolve against, the quantity grid, and the live book |
| CCommandInstalled | |
| CCommittedExecutionFacts | |
| CDeferredGroupAdjustmentEvent | |
| CEligibilityFacts | |
| CEnrollmentFromApplied | |
| CEnrollmentFromCommand | |
| CEquityFraction | A fraction in (0, 1] of MARKED equity at the sizing point |
| CEvaluationContext | |
| CEventId | |
| CEventRange | |
| CExecutionAppliedEvent | One committed execution: the definition, the cursor, the resolved price and units, the scope it acted on, the committed closed-row range, the cycle on either side, and the ticket it booked under |
| CExecutionProposal | |
| CExecutionTerms | |
| CExplicitUnits | A reduction of exactly these units, finite and positive |
| CFromOwnerFill | Defer a level to the owner's fill: at the arm the level becomes fill + offset, with offset signed (adverse is negative) and spelled in price ticks when ticks is set, then rounded by rounding |
| CHostSized | An opening or a closing whose quantity the HOST resolves, in NativeStrategyHost::resolve_execution_terms |
| CImmediateRemaining | Take whatever the point allows, with no per-point cap |
| CIndependent | No owner: the request stands on its own book authority |
| CInlineCommandEvents | Almost every prepared command yields one history event |
| CInstalled | |
| CInvalidHandleEvent | |
| CLimit | fill_through makes the limit a touch trigger (market-if-touched): the level still gates when the request becomes executable, but its fill is not bounded by the level, so slippage may carry it past the level |
| CLimitReady | |
| CLiveRequest | |
| CMarginCallEvent | A kernel-issued liquidation that actually filled |
| CMarket | Match at the next eligible matching point, with no level to reach |
| CMarketReady | |
| CMatchCursor | |
| CMatchRejectedEvent | A candidate the run refused, with its MatchRejectReason and the cursor it was refused at |
| CMember | |
| CNativeRiskEvent | One generic risk limit breaching (L9) |
| CNoChange | |
| CNoEffectEvent | A reduction or a flatten that had nothing to close: terminal, with no execution identity, no fill, no fee and no physical action |
| CNoGroup | |
| CNoTarget | A dynamic cohort has no currently live member |
| CNotWorkingEvent | |
| CObserveTrailExtremum | |
| COpeningClose | |
| COpeningObservation | |
| COpeningsClose | Immutable fixed cohort |
| COwnerOpenedUnits | A reduction of exactly what the owner's fill opened, bound at the arm and reported by a QuantityBoundEvent |
| CPendingDeferred | |
| CPendingNone | |
| CPointBudget | Cap what this request may execute at ONE matching point at units |
| CPositionFlat | |
| CPositionNonflat | |
| CPreparationError | A working-request preparation that could not produce a representable instruction — a nonrepresentable quantity, most often |
| CPreparedCancel | |
| CPreparedExecution | |
| CPreparedMutation | |
| CPreparedReplace | |
| CPreparedSubmit | |
| CQuantityBoundEvent | A Reduce{OwnerOpenedUnits} was bound, at its owner's fill, to what that fill opened |
| CReduce | A closing-only intent |
| CRejectedEvent | |
| CRemainingDeferred | |
| CRemainingFlattenAll | |
| CRemainingProjectionDeferred | |
| CRemainingProjectionFlattenAll | |
| CRemainingProjectionNoTarget | |
| CRemainingProjectionUnbound | |
| CRemainingProjectionUnits | |
| CRemainingUnbound | |
| CRemainingUnits | A resolved remaining quantity, in units |
| CReplacedEvent | |
| CReplaceOptions | Replacement behaviour that is not expressible in the successor request |
| CReplaceRejectedEvent | |
| CReplaceResult | |
| CRequest | Aggregate field order keeps market construction: Request{Transact{1.0}, "buy", "comment"} Request{Flatten{}, "flat", ""} Request{Reduce{ExplicitUnits{3}}, "close", ""} New fields default to Market / ImmediateRemaining / Independent / NoGroup |
| CRequestDefinition | The immutable accepted form of one request: its handle, the request value as accepted, its birth (acceptance ordinal and decision floor), its origin (RequestOrigin::Host, or the kernel's own for a liquidation or a risk flatten) and its authority |
| CRequestHandle | |
| CReservationReducedEvent | |
| CReverseTo | Exact target exposure for an explicit reversal request |
| CRunIdentity | |
| CScopeFraction | A fraction in (0, 1] of the bound scope, resolved at the matching candidate |
| CSelectedExposure | Native authorization receipt, converted to a call-local financial SelectedOpeningSet only at the consumer's settlement boundary |
| CSessionKey | |
| CSized | A kernel-sized opening |
| CStop | A stop trigger: the modeled path has to reach price from the adverse side |
| CStopActive | |
| CStopIdle | |
| CStopLimit | A stop that, once reached, becomes a limit at limit |
| CStopLimitLive | |
| CStopLimitPending | |
| CSubmitResult | What submit answers |
| CTargetObservation | |
| CTermsResolvedEvent | |
| CTermsResolvedInput | |
| CTrail | Offset is a price distance: the stop rides offset behind the running best |
| CTrailActive | |
| CTrailTicks | Trail offset spelled in price ticks instead of a price distance |
| CTrailTrack | |
| CTrailWaitArm | |
| CUnboundBookClose | |
| CWait | The authority an unarmed WaitForApplied child holds: accepted and live, but never a matching candidate until its owner's fill arms it — under either visibility |
| CWaitForApplied | The one owner relation that arms (the ArmedEvent) |
| CWorkingRequestCore | |
| ►Nnative_run_spec_v3 | |
| ►CIntrabarPath | An owned lower-timeframe execution path |
| Clower_tf | A RETAINED finer feed: the host's own lower-timeframe bars, the literal they are at, and the sampling policy over them |
| Cnone | No intrabar path: the confirmed OHLC waypoints are the whole modeled walk, and on_native_sub_bar never fires |
| Csynthesized | A synthesized path has no retained lower feed |
| CNativeAuxiliaryFeed | An auxiliary feed of the run's OWN symbol at a timeframe strictly finer than the input: the bars the input feed does not have |
| CNativeLossLimit | One risk threshold (L9) |
| CNativeMarginModel | A generic per-side broker margin model (L4) |
| CNativeRiskLimits | Generic account risk limits (L9), entirely opt-in: a spec that leaves NativeRunSpec::risk unset evaluates nothing, appends no event and folds nothing into the continuation digest |
| CNativeRunSpec | One complete setup value, staged/copied by NativeStrategyHost before it is applied at begin |
| CNativeRunSpecValidation | Allocation-free facts suitable for the host's durable failure variant |
| CNativeTimeframeSubscription | |
| ►Nnative_toolkit | |
| ►Nnative_toolkit_v1 | |
| CBracketReceipt | |
| CBracketSpec | |
| COrderBook | |
| CBracketReceipt | |
| CBracketSpec | |
| COrderBook | |
| ►Norder_action | |
| CPlan | |
| CReduce | |
| CTransact | |
| ►Norder_cancellation_v1 | |
| CCancellationTarget | |
| COrderCancellationReceipt | |
| ►Nreservation_expansion_v1 | |
| CReservationExpansion | |
| CReservationExpansionCapture | |
| CReservationGrowthSource | |
| ►Nsource | |
| CBracketRoster | |
| CDeferredAuxBar | |
| CDroppedCloseReceipt | |
| CHistoricalSecurityProjection | |
| COpenEntryFeeFact | |
| COriginRoster | |
| CPendingIntentView | |
| CPendingShortSeedPlan | |
| CPineCancellationReceipt | |
| ►CPineExecutionAdapter | |
| CAnchoredRelativeStats | |
| CFixtureCloseCallsite | |
| CFixturePendingSnapshot | |
| CSourceMarginMoney | |
| CPineExitLevels | |
| CPineLanguageState | |
| CPineRiskState | |
| CPineScheduler | |
| CPineSecurityEvalState | |
| CPineSizingSnapshot | |
| CPineStrategyConfig | |
| ►CPineStrategyHost | |
| CFixtureCommissionTypeSlot | |
| CFixtureIntentRow | |
| CFixtureQtyTypeSlot | |
| CFixtureRiskDirectionSlot | |
| CSourceCloseObligationView | |
| ►CSourceIdLedgerView | |
| Cconst_iterator | |
| Cvalue_type | |
| CPlacementSnapshot | |
| ►CPlacementTable | |
| CIterator | |
| CShortSeedPlan | |
| CSourceDayLedger | |
| CStagedConfiguration | |
| CStrategyOverrides | |
| ►Nta | |
| CAccDist | |
| CAllTimeMax | |
| CAllTimeMin | |
| CALMA | |
| CATR | |
| CBarContext | |
| CBarContextScope | |
| CBarsSince | |
| CBB | |
| CBBResult | |
| CBBW | |
| CCCI | |
| CChange | |
| CCMO | |
| CCOG | |
| CCorrelation | |
| CCross | |
| CCrossover | |
| CCrossunder | |
| CCum | |
| CDev | |
| CDMI | |
| CDMIResult | |
| CEMA | |
| ►CExtremeRing | |
| CResult | |
| CFalling | |
| CHighest | |
| CHighestBars | |
| CHMA | |
| CIII | |
| CKC | |
| CKCResult | |
| CKCW | |
| CLinreg | |
| CLowest | |
| CLowestBars | |
| CMACD | |
| CMACDResult | |
| CMedian | |
| CMFI | |
| CMode | |
| CMom | |
| CNVI | |
| COBV | |
| CPercentileLinearInterpolation | |
| CPercentileNearestRank | |
| CPercentRank | |
| CPivotHigh | |
| CPivotLow | |
| CPVI | |
| CPVT | |
| CRange | |
| CRCI | |
| CRising | |
| CRMA | |
| CROC | |
| CRSI | |
| CSAR | |
| CSMA | |
| CStdDev | |
| CStoch | |
| CSupertrend | |
| CSupertrendResult | |
| CSWMA | |
| CTR | |
| CTSI | |
| CValueWhen | |
| CVariance | |
| CVWAP | |
| CVWAPBands | |
| CVWAPBandsResult | |
| CVWMA | |
| CWAD | |
| CWMA | |
| CWPR | |
| CWVAD | |
| CAggregatedBar | |
| ►CBacktestEngine | |
| CAbortFlag | |
| CAbortRequested | |
| CBarTime | |
| CExecutionConsumerSlot | |
| CNativeConsumerBindTag | |
| CNativeSecurityFeed | |
| CSecurityEvalState | |
| CBar | |
| CBirthCursor | |
| CBox | |
| CBoxRec | |
| CBrokerStateHashProvider | |
| CBrokerStateHashSink | |
| CCancellationTarget | |
| CChartPoint | |
| CClosedLotExcursion | |
| CClosedLotExcursionFacts | |
| CDrawingArena | |
| CDynamicRingBuffer | |
| CExitLegActivation | |
| CExitLegActivationBounds | |
| ►CGenericMatrix | |
| CSnapshot | |
| ►CGenericMatrix< bool > | |
| CSnapshot | |
| CIExecutionConsumer | |
| CINativeDriverSink | |
| ►CIntrabarPath | An owned lower-timeframe execution path |
| Clower_tf | A RETAINED finer feed: the host's own lower-timeframe bars, the literal they are at, and the sampling policy over them |
| Cnone | No intrabar path: the confirmed OHLC waypoints are the whole modeled walk, and on_native_sub_bar never fires |
| Csynthesized | A synthesized path has no retained lower feed |
| CKahanWindowSum | |
| CLabel | |
| CLabelRec | |
| CLine | |
| CLinefill | |
| CLinefillRec | |
| CLineRec | |
| CNativeAccountObservation | The account row that follows an applied execution in the event history: the shared ordinal, the effective time, the marked equity, the realized balance and the signed book after it |
| CNativeAnchoredLevelView | Ephemeral read-only facts of one anchored-leg materialization (L7b), offered to the host exactly once, before the ArmedEvent is built |
| CNativeAuxiliaryFeed | An auxiliary feed of the run's OWN symbol at a timeframe strictly finer than the input: the bars the input feed does not have |
| CNativeBeginArgs | Borrowed begin-call facts |
| CNativeCompleted | |
| CNativeCoordinate | Everything the kernel knows about WHERE a point is, as one owning value: its event ordinal, the interval index, the nominal and scheduled-eligible opens, the last traded close, the next period and next input opens, the effective time the account converts and hashes at, the source price time, and the three classifications above |
| CNativeCurrentExecution | A synchronous execution of one request accepted or replaced in this very callback: a target handle and a price rule, and nothing else |
| CNativeCurrentExecutionPreview | Recomputed observations, never an apply token |
| CNativeCurrentPointView | What current_execution_point() answers inside a callback: the point's decision context, its price, which quote that price is, and the ordinal the quote came from |
| CNativeDayPartition | |
| CNativeDayPartitionScope | |
| CNativeDecisionContext | |
| CNativeDriverPoint | One point the driver produced: its coordinate, the raw price before slippage or any grid, the provider's sequence for an observed print (nullopt otherwise), and whether the point is a matching point, an excursion sample, or both |
| CNativeDriverStatistics | |
| CNativeExecutionTermsFacts | Read-only owning-value facts for one candidate |
| CNativeFailed | |
| CNativeFailure | The durable record native_state().failure answers: the code, the operation it happened in, an optional event ordinal and discriminator, and the allocation-free context |
| CNativeFailureContext | The three in-run facts a failure may carry, tagged by kind |
| CNativeFxCurve | An immutable account-currency FX curve: parallel arrays of effective-from timestamps in epoch milliseconds and the account-currency units per one unit of the symbol's quote currency |
| CNativeFxCurveSetupResult | What configure_native_fx_curve answers: the status and, on refusal, the curve validation with the index of the first bad point |
| CNativeFxCurveValidation | What validate_native_fx_curve and configure_native_fx_curve report: the error and the index of the element that failed |
| CNativeInputContext | Accepted input facts presented before the generic consumer aggregates the bar into its script interval or evaluates any matching point |
| CNativeInputPreflightResult | What preflight_native_inputs answers: the error and the first offending bar's index, or -1 when the refusal is not about one bar |
| CNativeInRunCause | The event ordinal a failure was caused by, 0 when absent |
| CNativeInRunCursor | Where on the modeled path a failure happened: the driver point's coordinate and its interpolation position t |
| CNativeInRunRecipient | The request incarnation a failure was addressed to, 0 when absent |
| CNativeLossLimit | One risk threshold (L9) |
| CNativeMarginCallView | Ephemeral factual view of one kernel-issued liquidation before its units are fixed |
| CNativeMarginCheckPoint | Ephemeral factual view of one kernel check point, offered to the host before the check runs |
| CNativeMarginDecision | The host's answer to one requirement view |
| CNativeMarginModel | A generic per-side broker margin model (L4) |
| CNativeMarginRequirementView | Ephemeral factual view of the numbers the kernel is about to compare, at one check point, BEFORE the breach test |
| CNativeMarketEvent | One owning row of native_events(after_ordinal): a command event, a driver point or an account observation, tagged by kind |
| CNativeOpenLot | Owning value row for one open physical lot, copied at query time by native_open_lots(mark) — the lot-by-lot view of the same book physical_position() aggregates |
| CNativePhysicalPosition | The book as one aggregate: signed units, the volume-weighted average entry price and the number of open physical lots |
| CNativePrecommitView | Ephemeral factual view of one prepared execution before any physical effect |
| CNativeReady | |
| CNativeRiskLimits | Generic account risk limits (L9), entirely opt-in: a spec that leaves NativeRunSpec::risk unset evaluates nothing, appends no event and folds nothing into the continuation digest |
| CNativeRiskState | The run's generic risk ledger (L9), as the kernel holds it |
| CNativeRunning | |
| CNativeRunSpec | One complete setup value, staged/copied by NativeStrategyHost before it is applied at begin |
| CNativeRunSpecValidation | Allocation-free facts suitable for the host's durable failure variant |
| CNativeSetupResult | What configure_native answers: the status and, on refusal, the first error field validate_native_run_spec found |
| CNativeStateView | The flattened run state native_state() answers: the lifecycle kind, a borrowed pointer to the staged spec (nullptr when Unconfigured), the phase, how a Completed run ended, the durable failure, the consumed run-number high water and the monotonic decision floor |
| CNativeStrategyHost | The public native host: an abstract subclass of BacktestEngine with no PineScript on it |
| CNativeTickContext | One accepted realtime print before native matching at its current decision point |
| CNativeTimeframeBarContext | One completed higher-timeframe bucket of a declared subscription (NativeRunSpec::subscriptions), presented before the calculation of the input bar it is delivered on |
| CNativeTimeframeSubscription | |
| CNativeTrailState | Read-only projection of a live generic Trail request |
| CNativeUnconfigured | The NativeLifecycle alternatives, one per NativeLifecycleKind |
| CNativeWorkingRequest | Owning value row for one live request, copied at query time |
| ►CNumericMatrix | |
| CSnapshot | |
| COrderBirth | |
| COrderCancellationReceipt | |
| Cpine_drawing_error | |
| ►CPineMap | |
| CSnapshot | |
| CPyramidEntry | |
| CQuantityIntent | |
| CQuantityRequest | |
| CQuantityReservation | |
| CReportC | |
| CReservationExpansion | |
| CReservationExpansionCapture | |
| CReservationGrowthSource | |
| CSecurityDiagC | |
| CSeries | |
| CStreamOrderAction | |
| CSymInfo | |
| CTimeframeAggregator | |
| CTraceEntryC | |
| CTrade | |
| CTradeC | |
| CTradeTick | |
| ►Nstd | |
| Chash< pineforge::native_order::CohortHandle > | |
| Cpf_bar_t | Single OHLCV bar pushed into the engine |
| Cpf_equity_point_t | Single per-script-bar equity point |
| Cpf_equity_stats_t | Equity-curve-derived statistics (all-trades only, like TV) |
| Cpf_field_desc_t | |
| Cpf_live_parser_event_v1_t | |
| Cpf_metrics_t | Composite metrics container: trade stats (all / long / short) + equity-curve stats |
| Cpf_native_applied_v1 | One applied execution, presented to on_applied |
| Cpf_native_callbacks_v1 | The C host's strategy logic |
| Cpf_native_close_view_v1 | The facts a host-sized CLOSE is resolved from, handed to pf_native_callbacks_v1::on_close_units |
| Cpf_native_decision_v1 | Where the kernel is, presented to every callback |
| Cpf_native_event_v1 | One recorded event, read back by strategy_native_events_v1 |
| Cpf_native_fx_curve_v1 | Immutable timestamped account-currency FX curve for a native run |
| Cpf_native_lot_excursion_v1 | One closing lot's booking facts — ClosedLotExcursionFacts (RULING A48) |
| Cpf_native_margin_decision_v1 | The host's answer to one requirement view — NativeMarginDecision |
| Cpf_native_margin_view_v1 | The facts one margin hook is handed — the C spelling of NativeMarginRequirementView, NativeMarginCheckPoint and NativeMarginCallView, which differ only in which of these facts they carry |
| Cpf_native_open_lot_v1 | One open physical lot, copied out by strategy_native_open_lot_get_v1 — the C spelling of NativeOpenLot (R5 gap lane N18): the book that strategy_native_position_v1 aggregates, lot by lot, marked at the price strategy_native_open_lot_count_v1 was given |
| Cpf_native_request_v1 | One order request |
| Cpf_native_risk_state_v1 | The run's generic risk ledger — the C spelling of NativeRiskState (L9) |
| Cpf_native_run_spec_ext_v1 | The run-specification fields pf_native_run_spec_v1 predates |
| Cpf_native_run_spec_v1 | Versioned native run specification |
| Cpf_native_state_v1 | The run's lifecycle and its typed failure |
| Cpf_native_subscription_v1 | One declared higher-timeframe series of pf_native_run_spec_ext_v1 |
| Cpf_native_trail_state_v1 | The trail projection of strategy_native_trail_state_v1 — the C spelling of NativeTrailState |
| Cpf_native_working_v1 | One live request, copied out by strategy_native_working_get_v1 |
| Cpf_pending_order_v1_t | |
| Cpf_report_t | Backtest report filled by run_backtest / run_backtest_full |
| Cpf_security_diag_t | Per-request.security() site diagnostic counters |
| Cpf_stream_order_action_t | One physical emulator lot action |
| Cpf_trace_entry_t | Single per-bar trace entry |
| Cpf_trade_stats_t | Trade-level statistics block — computed once each for all / long / short |
| Cpf_trade_t | Closed-trade record returned in pf_report_t::trades |
| Cpf_trade_tick_t | One provider-neutral realtime executed-trade update |
| Cpf_version_t | Runtime version descriptor returned by pf_version_get |