algotradelib
0.0.0.9000
C++ header-only library for algorithmic trading
Toggle main menu visibility
Loading...
Searching...
No Matches
broker_traits.hpp
1
#pragma once
2
3
#include <string>
4
5
namespace
algotradelib
{
6
42
template
<
typename
Client>
43
struct
BrokerTraits
;
44
50
template
<
typename
Client>
51
struct
AccountInfo
{
58
std::string
display_number_
;
60
std::string
type_
;
62
typename
BrokerTraits<Client>::Account
selector_
;
63
};
64
65
namespace
port_detail {
66
68
template
<
typename
T>
69
constexpr
bool
dependent_false =
false
;
70
71
}
// namespace port_detail
72
73
}
// namespace algotradelib
algotradelib
The library: broker-neutral types (core), and the modules below.
Definition
conversion.hpp:13
algotradelib::AccountInfo
One account from a broker's account list.
Definition
broker_traits.hpp:51
algotradelib::AccountInfo::selector_
BrokerTraits< Client >::Account selector_
The value to bind a BrokerSession to this account with; its type is broker-specific.
Definition
broker_traits.hpp:62
algotradelib::AccountInfo::display_number_
std::string display_number_
The account number as the broker reports it, for display only. Kiwoom and Toss give the full number: ...
Definition
broker_traits.hpp:58
algotradelib::AccountInfo::type_
std::string type_
The account type as the broker reported it; for display only.
Definition
broker_traits.hpp:60
algotradelib::BrokerTraits
Describes one broker client to the library: its types, capabilities, call thunks and normalizers.
Definition
broker_traits.hpp:43
algotradelib
src
core
broker_traits.hpp
Generated by
1.18.0