PineForge v0.13.1-379-g9b50973
Deterministic PineScript v6 backtest runtime — C ABI reference
Loading...
Searching...
No Matches
native_fx_curve.hpp File Reference
#include <cstddef>
#include <cstdint>
#include <vector>
Include dependency graph for native_fx_curve.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_fx_curve_v1::NativeFxCurve
 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. More...
 
struct  pineforge::native_fx_curve_v1::NativeFxCurveValidation
 What validate_native_fx_curve and configure_native_fx_curve report: the error and the index of the element that failed. More...
 

Namespaces

namespace  pineforge
 
namespace  pineforge::native_fx_curve_v1
 

Enumerations

enum class  pineforge::native_fx_curve_v1::NativeFxCurveError : std::uint8_t {
  pineforge::native_fx_curve_v1::None = 0 ,
  pineforge::native_fx_curve_v1::LengthMismatch = 1 ,
  pineforge::native_fx_curve_v1::NotStrictlyIncreasing = 2 ,
  pineforge::native_fx_curve_v1::NotFinitePositive = 3 ,
  pineforge::native_fx_curve_v1::AllocationFailure = 4 ,
  pineforge::native_fx_curve_v1::WrongPhase = 5
}
 Why a curve was refused. More...
 

Functions

NativeFxCurveValidation pineforge::native_fx_curve_v1::validate_native_fx_curve (const NativeFxCurve &curve) noexcept
 
std::uint64_t pineforge::native_fx_curve_v1::native_fx_curve_digest (const NativeFxCurve &curve) noexcept