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

#include <account_adjustment.hpp>

Public Member Functions

 AccountAdjustment ()=default
OpenPitAccountAdjustment Raw () const noexcept

Static Public Member Functions

static AccountAdjustment FromRaw (const OpenPitAccountAdjustment &raw)

Public Attributes

std::optional< Amountamount
std::optional< Boundsbounds
std::optional< Operationoperation
std::uintptr_t userData = 0

Constructor & Destructor Documentation

◆ AccountAdjustment()

openpit::accountadjustment::AccountAdjustment::AccountAdjustment ( )
default

Member Function Documentation

◆ FromRaw()

AccountAdjustment openpit::accountadjustment::AccountAdjustment::FromRaw ( const OpenPitAccountAdjustment & raw)
inlinestaticnodiscard

◆ Raw()

OpenPitAccountAdjustment openpit::accountadjustment::AccountAdjustment::Raw ( ) const
inlinenodiscardnoexcept

Member Data Documentation

◆ amount

std::optional<Amount> openpit::accountadjustment::AccountAdjustment::amount

◆ bounds

std::optional<Bounds> openpit::accountadjustment::AccountAdjustment::bounds

◆ operation

std::optional<Operation> openpit::accountadjustment::AccountAdjustment::operation

◆ userData

std::uintptr_t openpit::accountadjustment::AccountAdjustment::userData = 0