Slick Trader 0.11.0
Multi-broker algorithmic trading engine with plugin strategies and a live web dashboard
Loading...
Searching...
No Matches
environment.hpp File Reference
#include <nlohmann/json.hpp>
#include <algorithm>
#include <cctype>
#include <cstdint>
#include <string>
#include <string_view>
Include dependency graph for environment.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  slick::trader::SimControlConfig

Namespaces

namespace  slick
namespace  slick::trader

Functions

bool slick::trader::environment_is (std::string_view env, std::string_view word) noexcept
bool slick::trader::is_production_environment (std::string_view env) noexcept
bool slick::trader::is_sim_environment (std::string_view env) noexcept
bool slick::trader::read_environment (const nlohmann::json &config, std::string &env)
bool slick::trader::read_sim_control (const nlohmann::json &config, SimControlConfig &sim, std::string &error)

Variables

constexpr std::string_view slick::trader::PRODUCTION_ENVIRONMENT = "Production"
constexpr std::string_view slick::trader::LIVE_SIM_ENVIRONMENT = "Live Sim"
constexpr std::string_view slick::trader::HISTORICAL_SIM_ENVIRONMENT = "Historical Sim"