20#ifndef ORES_TRADING_SERVICE_APP_APPLICATION_HPP
21#define ORES_TRADING_SERVICE_APP_APPLICATION_HPP
23#include <boost/asio/awaitable.hpp>
24#include "ores.logging/make_logger.hpp"
25#include "ores.database/domain/context.hpp"
26#include "ores.database/domain/database_options.hpp"
27#include "ores.trading.service/config/options.hpp"
29namespace ores::trading::service::app {
36 inline static std::string_view logger_name =
"ores.trading.service.app.application";
40 static auto instance = make_logger(logger_name);
54 boost::asio::awaitable<void> run(boost::asio::io_context& io_ctx,
Implements logging infrastructure for ORE Studio.
Definition boost_severity.hpp:28
Context for the operations on a postgres database.
Definition context.hpp:47
Configuration for database connection.
Definition database_options.hpp:33
Entry point for the ores.trading.service service.
Definition application.hpp:34
All of the configuration options required by the service.
Definition options.hpp:34