|
OpenPit C++ SDK
C++17 SDK for the OpenPit pre-trade risk engine
|
One exact balance adjustment expressed as either a delta or an absolute. More...
Public Member Functions | |
| std::optional< PositionSize > | AsAbsolute () const noexcept |
| std::optional< PositionSize > | AsDelta () const noexcept |
| std::string | ToString () const |
| Formats the adjustment using the native exact-value representation. More... | |
Static Public Member Functions | |
| static AdjustmentAmount | Absolute (PositionSize value) noexcept |
| Creates an absolute replacement value. More... | |
| static AdjustmentAmount | Delta (PositionSize value) noexcept |
| Creates a relative adjustment. More... | |
One exact balance adjustment expressed as either a delta or an absolute.
Factory methods create the valid alternatives.
|
inlinestaticnoexcept |
Creates an absolute replacement value.
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinestaticnoexcept |
Creates a relative adjustment.
|
inline |
Formats the adjustment using the native exact-value representation.