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

Value result returned by market-data registration calls. More...

Public Member Functions

bool Ok () const noexcept
 

Public Attributes

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

Detailed Description

Value result returned by market-data registration calls.

Member Function Documentation

◆ Ok()

bool openpit::marketdata::RegisterResult::Ok ( ) const
inlinenoexcept

Member Data Documentation

◆ conflictingInstrument

std::optional<model::Instrument> openpit::marketdata::RegisterResult::conflictingInstrument

◆ conflictingInstrumentId

std::optional<InstrumentId> openpit::marketdata::RegisterResult::conflictingInstrumentId

◆ instrumentId

std::optional<InstrumentId> openpit::marketdata::RegisterResult::instrumentId

◆ status

RegisterStatus openpit::marketdata::RegisterResult::status = RegisterStatus::Ok