OpenPit C++ SDK
C++17 SDK for the OpenPit pre-trade risk engine
Loading...
Searching...
No Matches
openpit::accountadjustment::PnlOutcome Struct Reference

#include <pnl.hpp>

Public Member Functions

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

Static Public Member Functions

static PnlOutcome FromRaw (const OpenPitPnlOutcome &raw)

Public Attributes

PnlOutcomeResult result

Member Function Documentation

◆ FromRaw()

PnlOutcome openpit::accountadjustment::PnlOutcome::FromRaw ( const OpenPitPnlOutcome & raw)
inlinestaticnodiscard

◆ Get()

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

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

◆ Raw()

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

Member Data Documentation

◆ result

PnlOutcomeResult openpit::accountadjustment::PnlOutcome::result