26#ifndef quantlib_prices_hpp
27#define quantlib_prices_hpp
91 const std::vector<Date>&
d,
92 const std::vector<Real>&
open,
93 const std::vector<Real>&
close,
94 const std::vector<Real>&
high,
95 const std::vector<Real>&
low);
107 #ifdef QL_NULL_AS_FUNCTIONS
static TimeSeries< Real > extractComponent(const TimeSeries< IntervalPrice > &, IntervalPrice::Type)
void setValue(Real value, IntervalPrice::Type)
static std::vector< Real > extractValues(const TimeSeries< IntervalPrice > &, IntervalPrice::Type)
void setValues(Real open, Real close, Real high, Real low)
Real value(IntervalPrice::Type) const
static TimeSeries< IntervalPrice > makeSeries(const std::vector< Date > &d, const std::vector< Real > &open, const std::vector< Real > &close, const std::vector< Real > &high, const std::vector< Real > &low)
template class providing a null value for a given type.
Container for historical data.
Real midSafe(const Real bid, const Real ask)
Real midEquivalent(const Real bid, const Real ask, const Real last, const Real close)
bool close(const Quantity &m1, const Quantity &m2, Size n)
Container for historical data.