OpenPit C++ SDK
C++17 SDK for the OpenPit pre-trade risk engine
openpit::accountadjustment::OutcomeAmount Struct Reference

Public Member Functions

 OutcomeAmount (param::PositionSize outcomeDelta, param::PositionSize outcomeAbsolute)
 
OpenPitOutcomeAmount Raw () const noexcept
 

Static Public Member Functions

static OutcomeAmount FromRaw (const OpenPitOutcomeAmount &raw)
 

Public Attributes

param::PositionSize absolute
 
param::PositionSize delta
 

Constructor & Destructor Documentation

◆ OutcomeAmount()

openpit::accountadjustment::OutcomeAmount::OutcomeAmount ( param::PositionSize  outcomeDelta,
param::PositionSize  outcomeAbsolute 
)
inline

Member Function Documentation

◆ FromRaw()

static OutcomeAmount openpit::accountadjustment::OutcomeAmount::FromRaw ( const OpenPitOutcomeAmount &  raw)
inlinestatic

◆ Raw()

OpenPitOutcomeAmount openpit::accountadjustment::OutcomeAmount::Raw ( ) const
inlinenoexcept

Member Data Documentation

◆ absolute

param::PositionSize openpit::accountadjustment::OutcomeAmount::absolute

◆ delta

param::PositionSize openpit::accountadjustment::OutcomeAmount::delta