PineForge unreleased
Deterministic PineScript v6 backtest runtime — C ABI reference
Loading...
Searching...
No Matches
native_bar_views.hpp File Reference
#include <pineforge/bar.hpp>
#include <pineforge/native_run_spec.hpp>
#include <cstddef>
#include <cstdint>
#include <optional>
#include <string>
#include <vector>
Include dependency graph for native_bar_views.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  pineforge::native_bar_views_v1::NativeBarView
 Borrowed OHLCV span: a bar pointer and a row count. More...
 
struct  pineforge::native_bar_views_v1::NativeInstrumentFeedView
 Borrowed instrument feed. More...
 
struct  pineforge::native_bar_views_v1::NativeInstrumentFeedReadView
 Effective feed data from owned vectors or a borrowed view. More...
 
struct  pineforge::native_bar_views_v1::NativeBarViews
 Explicit read context for feeds and lower paths. More...
 
class  pineforge::native_bar_views_v1::NativeLowerPathSource
 Four-operation source for full-path and windowed access. More...
 

Namespaces

namespace  pineforge
 
namespace  pineforge::native_bar_views_v1
 

Functions

NativeInstrumentFeedReadView pineforge::native_bar_views_v1::native_instrument_feed_view (const NativeInstrumentFeed &owned, const NativeInstrumentFeedView *borrowed) noexcept
 Common accessor for effective feed data.
 
NativeRunSpecValidation pineforge::native_bar_views_v1::normalize_native_run_spec (NativeRunSpec &spec, const NativeBarViews &views) noexcept
 Existing full validation and zero-fee normalization over effective data.
 
NativeRunSpecValidation pineforge::native_bar_views_v1::validate_native_instrument_feeds (const std::vector< NativeInstrumentFeed > &feeds, const NativeBarViews &views) noexcept
 The same feed-only validation over effective data, retaining all existing refusal ordering and typed catches.
 
NativeRunSpecValidation pineforge::native_bar_views_v1::validate_native_timeframe_subscriptions (const std::vector< NativeTimeframeSubscription > &subscriptions, const std::string &input_tf, bool timeframe_undetected, const std::optional< NativeAuxiliaryFeed > &auxiliary_feed, const std::vector< NativeInstrumentFeed > &instrument_feeds, const NativeBarViews &views) noexcept
 The same feeds-first, auxiliary-feed, then subscription judgement over effective data, also at both begin declarations.
 
std::uint64_t pineforge::native_bar_views_v1::native_instrument_feeds_digest (const std::vector< NativeInstrumentFeed > &feeds, const NativeBarViews &views) noexcept
 Same count, metadata, ordered OHLCV/timestamp/close/columns fold and feed NaN canonicalization.
 
std::uint64_t pineforge::native_bar_views_v1::native_run_spec_digest (const NativeRunSpec &spec, const NativeBarViews &views)
 Portable spec fold with an explicit context, sharing the existing fold and relative run base; never infer external storage through a registry.
 
std::uint64_t pineforge::native_bar_views_v1::native_intrabar_path_digest (const IntrabarPath &path, const NativeLowerPathSource *source)
 Null delegates to the vector digest; nonnull replaces only lower count/ walk.