#pragma once #include "lib/domain_model/SecurityKey.h" #include "lib/md/ExchangeSecurityKey.h" #include "lib/md/SecurityCache.h" #include #include namespace bts { namespace api { class Security; } namespace md { class MDClient; class SecurityOracle { SecurityCache &_cache; public: SecurityOracle(SecurityCache &); ~SecurityOracle(); const api::Security *get_security(SecurityKey key) const; const api::Security *get_security(ExchangeSecurityKey key) const; std::vector get_securities() const; }; } // namespace md } // namespace bts