algotradelib 0.0.0.9000
C++ header-only library for algorithmic trading
Loading...
Searching...
No Matches
algotradelib::AccountInfo< Client > Struct Template Reference

One account from a broker's account list. More...

#include <algotradelib/src/core/broker_traits.hpp>

Public Attributes

std::string display_number_
 The account number as the broker reports it, for display only. Kiwoom and Toss give the full number: mask it before printing output that may be shared (the examples show the last four).
std::string type_
 The account type as the broker reported it; for display only.
BrokerTraits< Client >::Account selector_
 The value to bind a BrokerSession to this account with; its type is broker-specific.

Detailed Description

template<typename Client>
struct algotradelib::AccountInfo< Client >

One account from a broker's account list.

Template Parameters
ClientThe broker client type.

Definition at line 49 of file broker_traits.hpp.

Member Data Documentation

◆ display_number_

template<typename Client>
std::string algotradelib::AccountInfo< Client >::display_number_

The account number as the broker reports it, for display only. Kiwoom and Toss give the full number: mask it before printing output that may be shared (the examples show the last four).

Definition at line 54 of file broker_traits.hpp.

◆ selector_

template<typename Client>
BrokerTraits<Client>::Account algotradelib::AccountInfo< Client >::selector_

The value to bind a BrokerSession to this account with; its type is broker-specific.

Definition at line 58 of file broker_traits.hpp.

◆ type_

template<typename Client>
std::string algotradelib::AccountInfo< Client >::type_

The account type as the broker reported it; for display only.

Definition at line 56 of file broker_traits.hpp.


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