algotradelib 0.0.0.9000
C++ header-only library for algorithmic trading
Loading...
Searching...
No Matches
algotradelib::runner::BrokerRefusal Struct Reference

The broker's own code and message for a refusal, kept for diagnosis. More...

#include <algotradelib/src/runner/execution.hpp>

Collaboration diagram for algotradelib::runner::BrokerRefusal:

Public Attributes

std::string code_
 The broker's error code, if it gave one.
std::string message_
 The broker's message.
InstrumentId instrument_
 The instrument of the refused instruction.
std::string tag_
 The tag of the instruction.

Detailed Description

The broker's own code and message for a refusal, kept for diagnosis.

The runner keeps only the latest one. message_ is the adapter's BrokerError::message_: the broker's own text for a declared refusal, of any length, or the start of the body for an HTTP error.

Definition at line 484 of file execution.hpp.

Member Data Documentation

◆ code_

std::string algotradelib::runner::BrokerRefusal::code_

The broker's error code, if it gave one.

Definition at line 486 of file execution.hpp.

◆ instrument_

InstrumentId algotradelib::runner::BrokerRefusal::instrument_

The instrument of the refused instruction.

Definition at line 490 of file execution.hpp.

◆ message_

std::string algotradelib::runner::BrokerRefusal::message_

The broker's message.

Definition at line 488 of file execution.hpp.

◆ tag_

std::string algotradelib::runner::BrokerRefusal::tag_

The tag of the instruction.

Definition at line 492 of file execution.hpp.


The documentation for this struct was generated from the following file: