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