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

Public Member Functions

const PnlOutcomeResultGet () const noexcept
 Returns the PnL amount or the reason why it is unavailable. More...
 
OpenPitPnlOutcome Raw () const noexcept
 

Static Public Member Functions

static PnlOutcome FromRaw (const OpenPitPnlOutcome &raw)
 

Public Attributes

PnlOutcomeResult result
 

Member Function Documentation

◆ FromRaw()

static PnlOutcome openpit::accountadjustment::PnlOutcome::FromRaw ( const OpenPitPnlOutcome &  raw)
inlinestatic

◆ Get()

const PnlOutcomeResult& openpit::accountadjustment::PnlOutcome::Get ( ) const
inlinenoexcept

Returns the PnL amount or the reason why it is unavailable.

◆ Raw()

OpenPitPnlOutcome openpit::accountadjustment::PnlOutcome::Raw ( ) const
inlinenoexcept

Member Data Documentation

◆ result

PnlOutcomeResult openpit::accountadjustment::PnlOutcome::result