20#ifndef ORES_REFDATA_API_MESSAGING_CURRENCY_HISTORY_PROTOCOL_HPP
21#define ORES_REFDATA_API_MESSAGING_CURRENCY_HISTORY_PROTOCOL_HPP
25#include "ores.refdata.api/domain/currency_version.hpp"
27namespace ores::refdata::messaging {
29struct currency_version_history {
30 std::vector<ores::refdata::domain::currency_version> versions;
33struct get_currency_history_request {
34 using response_type =
struct get_currency_history_response;
35 static constexpr std::string_view nats_subject =
"refdata.v1.currencies.history";
39struct get_currency_history_response {
42 currency_version_history history;