|
Slick Trader 0.11.0
Multi-broker algorithmic trading engine with plugin strategies and a live web dashboard
|
#include <slick-trader/web/workspace_store.hpp>
Classes | |
| struct | Result |
Public Member Functions | |
| void | load (std::string path) |
| const nlohmann::json & | doc () const |
| Result | save (std::string_view name, const nlohmann::json &windows) |
| Result | remove (std::string_view name) |
| Result | use (std::string_view name) |
Static Public Attributes | |
| static constexpr std::string_view | DEFAULT = "Default" |
Definition at line 13 of file workspace_store.hpp.
|
inline |
Definition at line 28 of file workspace_store.hpp.
| void slick::trader::WorkspaceStore::load | ( | std::string | path | ) |
Definition at line 106 of file workspace_store.cpp.
| WorkspaceStore::Result slick::trader::WorkspaceStore::remove | ( | std::string_view | name | ) |
Definition at line 161 of file workspace_store.cpp.
References DEFAULT.
| WorkspaceStore::Result slick::trader::WorkspaceStore::save | ( | std::string_view | name, |
| const nlohmann::json & | windows ) |
Definition at line 144 of file workspace_store.cpp.
| WorkspaceStore::Result slick::trader::WorkspaceStore::use | ( | std::string_view | name | ) |
Definition at line 178 of file workspace_store.cpp.
|
staticconstexpr |
Definition at line 15 of file workspace_store.hpp.
Referenced by remove().