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
40template <typename Client>
42
48template <typename Client>
54 std::string display_number_;
56 std::string type_;
59};
60
61namespace port_detail {
62
64template <typename T>
65constexpr bool dependent_false = false;
66
67} // namespace port_detail
68
69} // 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.