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
40
template
<
typename
Client>
41
struct
BrokerTraits
;
42
48
template
<
typename
Client>
49
struct
AccountInfo
{
54
std::string
display_number_
;
56
std::string
type_
;
58
typename
BrokerTraits<Client>::Account
selector_
;
59
};
60
61
namespace
port_detail {
62
64
template
<
typename
T>
65
constexpr
bool
dependent_false =
false
;
66
67
}
// namespace port_detail
68
69
}
// 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:49
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:58
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:54
algotradelib::AccountInfo::type_
std::string type_
The account type as the broker reported it; for display only.
Definition
broker_traits.hpp:56
algotradelib::BrokerTraits
Describes one broker client to the library: its types, capabilities, call thunks and normalizers.
Definition
broker_traits.hpp:41
algotradelib
src
core
broker_traits.hpp
Generated by
1.18.0