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

#include <account_adjustment.hpp>

Public Member Functions

 AccountOutcomeEntry ()=default
OpenPitAccountOutcomeEntry Raw () const noexcept

Static Public Member Functions

static AccountOutcomeEntry FromRaw (const OpenPitAccountOutcomeEntry &raw)

Public Attributes

std::string asset
std::optional< OutcomeAmountbalance
std::optional< OutcomeAmountheld
std::optional< OutcomeAmountincoming

Constructor & Destructor Documentation

◆ AccountOutcomeEntry()

openpit::accountadjustment::AccountOutcomeEntry::AccountOutcomeEntry ( )
default

Member Function Documentation

◆ FromRaw()

AccountOutcomeEntry openpit::accountadjustment::AccountOutcomeEntry::FromRaw ( const OpenPitAccountOutcomeEntry & raw)
inlinestaticnodiscard

◆ Raw()

OpenPitAccountOutcomeEntry openpit::accountadjustment::AccountOutcomeEntry::Raw ( ) const
inlinenodiscardnoexcept

Member Data Documentation

◆ asset

std::string openpit::accountadjustment::AccountOutcomeEntry::asset

◆ balance

std::optional<OutcomeAmount> openpit::accountadjustment::AccountOutcomeEntry::balance

◆ held

std::optional<OutcomeAmount> openpit::accountadjustment::AccountOutcomeEntry::held

◆ incoming

std::optional<OutcomeAmount> openpit::accountadjustment::AccountOutcomeEntry::incoming