algotradelib 0.0.0.9000
C++ header-only library for algorithmic trading
Loading...
Searching...
No Matches
algotradelib::network::ClientStores Struct Reference

What the clients of a run share, across processes too; each takes those its constructor accepts. More...

#include <algotradelib/src/network/client_stores.hpp>

Public Attributes

std::shared_ptr< TokenStore > tokens_
 Where clients share access tokens, or null for each to keep its own (Toss needs it shared).
std::shared_ptr< CalendarCache > calendars_
 Where clients share a trading calendar, or null; only KIS's client takes one, to save requests.

Detailed Description

What the clients of a run share, across processes too; each takes those its constructor accepts.

Definition at line 15 of file client_stores.hpp.

Member Data Documentation

◆ calendars_

std::shared_ptr<CalendarCache> algotradelib::network::ClientStores::calendars_

Where clients share a trading calendar, or null; only KIS's client takes one, to save requests.

Definition at line 19 of file client_stores.hpp.

Referenced by algotradelib::network::make_client().

◆ tokens_

std::shared_ptr<TokenStore> algotradelib::network::ClientStores::tokens_

Where clients share access tokens, or null for each to keep its own (Toss needs it shared).

Definition at line 17 of file client_stores.hpp.

Referenced by algotradelib::network::make_client().


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