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

Public Member Functions

const PnlOutcomeAmountAmount () const noexcept
 
std::optional< PnlHaltReasonHaltReason () const noexcept
 
 PnlOutcome (PnlHaltReason reason)
 
 PnlOutcome (PnlOutcomeAmount outcomeAmount)
 

Constructor & Destructor Documentation

◆ PnlOutcome() [1/2]

openpit::accountadjustment::PnlOutcome::PnlOutcome ( PnlOutcomeAmount  outcomeAmount)
inlineexplicit

◆ PnlOutcome() [2/2]

openpit::accountadjustment::PnlOutcome::PnlOutcome ( PnlHaltReason  reason)
inlineexplicit

Member Function Documentation

◆ Amount()

const PnlOutcomeAmount* openpit::accountadjustment::PnlOutcome::Amount ( ) const
inlinenoexcept

◆ HaltReason()

std::optional<PnlHaltReason> openpit::accountadjustment::PnlOutcome::HaltReason ( ) const
inlinenoexcept