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

Public Member Functions

std::vector<::openpit::accountadjustment::OutcomeAccountAdjustments () const
 
std::optional<::openpit::accounts::AccountBlockAccountBlock () const
 Returns the winning account block the dry-run would latch. More...
 
 DryRunReport ()=default
 
::openpit::pretrade::PreTradeLock Lock () const
 
 operator bool () const noexcept
 
bool Passed () const
 
std::vector<::openpit::pretrade::RejectRejects () const
 

Constructor & Destructor Documentation

◆ DryRunReport()

openpit::pretrade::DryRunReport::DryRunReport ( )
default

Member Function Documentation

◆ AccountAdjustments()

std::vector<::openpit::accountadjustment::Outcome> openpit::pretrade::DryRunReport::AccountAdjustments ( ) const
inline

◆ AccountBlock()

std::optional<::openpit::accounts::AccountBlock> openpit::pretrade::DryRunReport::AccountBlock ( ) const
inline

Returns the winning account block the dry-run would latch.

Throws Error if the C ABI does not provide the promised detached list.

◆ Lock()

::openpit::pretrade::PreTradeLock openpit::pretrade::DryRunReport::Lock ( ) const
inline

◆ operator bool()

openpit::pretrade::DryRunReport::operator bool ( ) const
inlineexplicitnoexcept

◆ Passed()

bool openpit::pretrade::DryRunReport::Passed ( ) const
inline

◆ Rejects()

std::vector<::openpit::pretrade::Reject> openpit::pretrade::DryRunReport::Rejects ( ) const
inline