OpenPit C++ SDK
C++17 SDK for the OpenPit pre-trade risk engine
openpit::ReferenceBookRegisterResult Struct Reference

Public Member Functions

bool Ok () const noexcept
 

Public Attributes

std::optional< model::InstrumentconflictingInstrument
 
std::optional< InstrumentIdconflictingInstrumentId
 
std::optional< InstrumentIdinstrumentId
 
ReferenceBookRegisterStatus status = ReferenceBookRegisterStatus::Ok
 

Member Function Documentation

◆ Ok()

bool openpit::ReferenceBookRegisterResult::Ok ( ) const
inlinenoexcept

Member Data Documentation

◆ conflictingInstrument

std::optional<model::Instrument> openpit::ReferenceBookRegisterResult::conflictingInstrument

◆ conflictingInstrumentId

std::optional<InstrumentId> openpit::ReferenceBookRegisterResult::conflictingInstrumentId

◆ instrumentId

std::optional<InstrumentId> openpit::ReferenceBookRegisterResult::instrumentId

◆ status

ReferenceBookRegisterStatus openpit::ReferenceBookRegisterResult::status = ReferenceBookRegisterStatus::Ok