43 const std::string& app_secret,
44 const std::string& access_token);
Definition: config.hpp:16
Config & set_trade_ws_url(const std::string &url)
Set the Trade WebSocket endpoint URL.
Config & set_http_url(const std::string &url)
Set the HTTP endpoint URL.
Config & set_push_candlestick_mode(PushCandlestickMode mode)
Set the push candlestick mode.
Config & set_log_path(const std::string &path)
Set the log file path.
static Config from_apikey_env(Status &status)
static Config from_apikey(const std::string &app_key, const std::string &app_secret, const std::string &access_token)
Config & disable_print_quote_packages()
Disable printing of quote packages on connection.
Config & set_language(Language language)
Set the language identifier.
Config(const Config &)=delete
Config & enable_overnight()
Enable overnight quote.
static Config from_oauth(const OAuth &oauth)
Config & set_quote_ws_url(const std::string &url)
Set the Quote WebSocket endpoint URL.
Config(lb_config_t *config)
Definition: status.hpp:19
struct lb_config_t lb_config_t
Definition: config.hpp:11
Definition: async_result.hpp:8
PushCandlestickMode
Push candlestick mode.
Definition: types.hpp:42
Language
Language identifer.
Definition: types.hpp:31