xo-unit: + 365-day volatility factory
This commit is contained in:
parent
5a443b287f
commit
ae479775b8
1 changed files with 3 additions and 1 deletions
|
|
@ -530,7 +530,9 @@ namespace xo {
|
||||||
inline constexpr auto volatility_250d(Repr x) { return quantity<nu::volatility_250d, Repr>(x); }
|
inline constexpr auto volatility_250d(Repr x) { return quantity<nu::volatility_250d, Repr>(x); }
|
||||||
template <typename Repr>
|
template <typename Repr>
|
||||||
inline constexpr auto volatility_360d(Repr x) { return quantity<nu::volatility_360d, Repr>(x); }
|
inline constexpr auto volatility_360d(Repr x) { return quantity<nu::volatility_360d, Repr>(x); }
|
||||||
}
|
template <typename Repr>
|
||||||
|
inline constexpr auto volatility_365d(Repr x) { return quantity<nu::volatility_360d, Repr>(x); }
|
||||||
|
} /*namespace qty*/
|
||||||
|
|
||||||
/* reminder: see [quantity_ops.hpp] for operator* etc */
|
/* reminder: see [quantity_ops.hpp] for operator* etc */
|
||||||
} /*namespace qty*/
|
} /*namespace qty*/
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue