|
PineForge v0.13.1-379-g9b50973
Deterministic PineScript v6 backtest runtime — C ABI reference
|
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. More...
#include <market_driver.hpp>
Data Fields | |
| uint64_t | ordinal = 0 |
| int | interval_index = 0 |
| int64_t | open_ms = 0 |
| int64_t | eligible_open_ms = 0 |
| int64_t | last_traded_close_ms = 0 |
| int64_t | next_period_open_ms = 0 |
| int64_t | next_input_open_ms = 0 |
| int64_t | effective_time_ms = 0 |
| int64_t | source_price_time_ms = 0 |
| NativePriceProvenance | provenance = NativePriceProvenance::Confirmed |
| NativePathPhase | path_phase = NativePathPhase::None |
| NativeCompletionKind | completion = NativeCompletionKind::Confirmed |
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.
A host reads it through NativeDecisionContext; mutating a copy cannot move the consumer's floor, matching time or after-calculation coordinate.
Definition at line 71 of file market_driver.hpp.
| uint64_t pineforge::native_driver_v5::NativeCoordinate::ordinal = 0 |
Definition at line 72 of file market_driver.hpp.
Referenced by pineforge::source::PineExecutionAdapter::margin_check_allowed(), and pineforge::source::PineExecutionAdapter::on_applied().
| int pineforge::native_driver_v5::NativeCoordinate::interval_index = 0 |
Definition at line 73 of file market_driver.hpp.
Referenced by pineforge::source::PineScheduler::bar(), pineforge::source::PineExecutionAdapter::carried_long_money_precedes_priced_exit(), pineforge::source::PineExecutionAdapter::entry(), pineforge::source::PineStrategyHost::fixture_cap_calculation(), pineforge::source::PineStrategyHost::fixture_cap_clock(), pineforge::source::PineExecutionAdapter::on_applied(), pineforge::source::PineExecutionAdapter::on_bar_open(), pineforge::source::PineStrategyHost::on_native_bar(), pineforge::source::PineStrategyHost::on_native_tick(), pineforge::source::PineExecutionAdapter::resolve_terms(), pineforge::source::PineStrategyHost::validate_execution_precommit(), and pineforge::source::PineExecutionAdapter::validate_precommit().
| int64_t pineforge::native_driver_v5::NativeCoordinate::open_ms = 0 |
Definition at line 74 of file market_driver.hpp.
Referenced by pineforge::source::PineExecutionAdapter::resolve_margin_call_units(), and pineforge::source::PineExecutionAdapter::resolve_margin_requirement().
| int64_t pineforge::native_driver_v5::NativeCoordinate::eligible_open_ms = 0 |
Definition at line 75 of file market_driver.hpp.
| int64_t pineforge::native_driver_v5::NativeCoordinate::last_traded_close_ms = 0 |
Definition at line 76 of file market_driver.hpp.
| int64_t pineforge::native_driver_v5::NativeCoordinate::next_period_open_ms = 0 |
Definition at line 77 of file market_driver.hpp.
| int64_t pineforge::native_driver_v5::NativeCoordinate::next_input_open_ms = 0 |
Definition at line 78 of file market_driver.hpp.
| int64_t pineforge::native_driver_v5::NativeCoordinate::effective_time_ms = 0 |
Definition at line 79 of file market_driver.hpp.
Referenced by pineforge::source::PineExecutionAdapter::carried_long_money_precedes_priced_exit(), and pineforge::source::PineExecutionAdapter::validate_precommit().
| int64_t pineforge::native_driver_v5::NativeCoordinate::source_price_time_ms = 0 |
Definition at line 80 of file market_driver.hpp.
| NativePriceProvenance pineforge::native_driver_v5::NativeCoordinate::provenance = NativePriceProvenance::Confirmed |
Definition at line 81 of file market_driver.hpp.
Referenced by pineforge::source::PineScheduler::coof_recalculation_due(), and pineforge::source::PineExecutionAdapter::resolve_terms().
| NativePathPhase pineforge::native_driver_v5::NativeCoordinate::path_phase = NativePathPhase::None |
Definition at line 82 of file market_driver.hpp.
Referenced by pineforge::source::PineScheduler::coof_recalculation_due(), pineforge::source::PineExecutionAdapter::entry(), pineforge::source::PineExecutionAdapter::on_applied(), pineforge::source::PineStrategyHost::on_native_applied(), pineforge::source::PineScheduler::recalculate(), pineforge::source::PineExecutionAdapter::resolve_terms(), pineforge::source::PineStrategyHost::validate_execution_precommit(), and pineforge::source::PineExecutionAdapter::validate_precommit().
| NativeCompletionKind pineforge::native_driver_v5::NativeCoordinate::completion = NativeCompletionKind::Confirmed |
Definition at line 83 of file market_driver.hpp.