#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DailyRsiRequest {
#[prost(message, optional, tag="1")]
pub identifier: ::core::option::Option<super::super::super::r#type::shared::v1::Identifier>,
#[prost(message, optional, tag="2")]
pub constraints: ::core::option::Option<super::super::super::r#type::shared::v1::Constraints>,
#[prost(int32, tag="3")]
pub length: i32,
#[prost(bool, tag="4")]
pub adjustment: bool,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DailyRsiResponse {
#[prost(message, repeated, tag="1")]
pub data: ::prost::alloc::vec::Vec<DailyRsiData>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DailyRsiData {
#[prost(message, optional, tag="1")]
pub date: ::core::option::Option<super::super::super::super::super::google::r#type::Date>,
#[prost(double, tag="2")]
pub value: f64,
#[prost(double, tag="3")]
pub rsi: f64,
}
pub mod daily_rsi_service_client {
#![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
use tonic::codegen::*;
#[derive(Debug, Clone)]
pub struct DailyRsiServiceClient<T> {
inner: tonic::client::Grpc<T>,
}
impl DailyRsiServiceClient<tonic::transport::Channel> {
pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
where
D: std::convert::TryInto<tonic::transport::Endpoint>,
D::Error: Into<StdError>,
{
let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
Ok(Self::new(conn))
}
}
impl<T> DailyRsiServiceClient<T>
where
T: tonic::client::GrpcService<tonic::body::BoxBody>,
T::Error: Into<StdError>,
T::ResponseBody: Body<Data = Bytes> + Send + 'static,
<T::ResponseBody as Body>::Error: Into<StdError> + Send,
{
pub fn new(inner: T) -> Self {
let inner = tonic::client::Grpc::new(inner);
Self { inner }
}
pub fn with_interceptor<F>(
inner: T,
interceptor: F,
) -> DailyRsiServiceClient<InterceptedService<T, F>>
where
F: tonic::service::Interceptor,
T::ResponseBody: Default,
T: tonic::codegen::Service<
http::Request<tonic::body::BoxBody>,
Response = http::Response<
<T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
>,
>,
<T as tonic::codegen::Service<
http::Request<tonic::body::BoxBody>,
>>::Error: Into<StdError> + Send + Sync,
{
DailyRsiServiceClient::new(InterceptedService::new(inner, interceptor))
}
#[must_use]
pub fn send_gzip(mut self) -> Self {
self.inner = self.inner.send_gzip();
self
}
#[must_use]
pub fn accept_gzip(mut self) -> Self {
self.inner = self.inner.accept_gzip();
self
}
pub async fn daily_rsi(
&mut self,
request: impl tonic::IntoRequest<super::DailyRsiRequest>,
) -> Result<tonic::Response<super::DailyRsiResponse>, tonic::Status> {
self.inner
.ready()
.await
.map_err(|e| {
tonic::Status::new(
tonic::Code::Unknown,
format!("Service was not ready: {}", e.into()),
)
})?;
let codec = tonic::codec::ProstCodec::default();
let path = http::uri::PathAndQuery::from_static(
"/systemathics.apis.services.daily_analytics.v1.DailyRsiService/DailyRsi",
);
self.inner.unary(request.into_request(), path, codec).await
}
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DailySmaRequest {
#[prost(message, optional, tag="1")]
pub identifier: ::core::option::Option<super::super::super::r#type::shared::v1::Identifier>,
#[prost(message, optional, tag="2")]
pub constraints: ::core::option::Option<super::super::super::r#type::shared::v1::Constraints>,
#[prost(int32, tag="3")]
pub length: i32,
#[prost(bool, tag="4")]
pub adjustment: bool,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DailySmaResponse {
#[prost(message, repeated, tag="1")]
pub data: ::prost::alloc::vec::Vec<DailySmaData>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DailySmaData {
#[prost(message, optional, tag="1")]
pub date: ::core::option::Option<super::super::super::super::super::google::r#type::Date>,
#[prost(double, tag="2")]
pub value: f64,
#[prost(message, optional, tag="3")]
pub average: ::core::option::Option<f64>,
}
pub mod daily_sma_service_client {
#![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
use tonic::codegen::*;
#[derive(Debug, Clone)]
pub struct DailySmaServiceClient<T> {
inner: tonic::client::Grpc<T>,
}
impl DailySmaServiceClient<tonic::transport::Channel> {
pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
where
D: std::convert::TryInto<tonic::transport::Endpoint>,
D::Error: Into<StdError>,
{
let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
Ok(Self::new(conn))
}
}
impl<T> DailySmaServiceClient<T>
where
T: tonic::client::GrpcService<tonic::body::BoxBody>,
T::Error: Into<StdError>,
T::ResponseBody: Body<Data = Bytes> + Send + 'static,
<T::ResponseBody as Body>::Error: Into<StdError> + Send,
{
pub fn new(inner: T) -> Self {
let inner = tonic::client::Grpc::new(inner);
Self { inner }
}
pub fn with_interceptor<F>(
inner: T,
interceptor: F,
) -> DailySmaServiceClient<InterceptedService<T, F>>
where
F: tonic::service::Interceptor,
T::ResponseBody: Default,
T: tonic::codegen::Service<
http::Request<tonic::body::BoxBody>,
Response = http::Response<
<T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
>,
>,
<T as tonic::codegen::Service<
http::Request<tonic::body::BoxBody>,
>>::Error: Into<StdError> + Send + Sync,
{
DailySmaServiceClient::new(InterceptedService::new(inner, interceptor))
}
#[must_use]
pub fn send_gzip(mut self) -> Self {
self.inner = self.inner.send_gzip();
self
}
#[must_use]
pub fn accept_gzip(mut self) -> Self {
self.inner = self.inner.accept_gzip();
self
}
pub async fn daily_sma(
&mut self,
request: impl tonic::IntoRequest<super::DailySmaRequest>,
) -> Result<tonic::Response<super::DailySmaResponse>, tonic::Status> {
self.inner
.ready()
.await
.map_err(|e| {
tonic::Status::new(
tonic::Code::Unknown,
format!("Service was not ready: {}", e.into()),
)
})?;
let codec = tonic::codec::ProstCodec::default();
let path = http::uri::PathAndQuery::from_static(
"/systemathics.apis.services.daily_analytics.v1.DailySmaService/DailySma",
);
self.inner.unary(request.into_request(), path, codec).await
}
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DailyCmaRequest {
#[prost(message, optional, tag="1")]
pub identifier: ::core::option::Option<super::super::super::r#type::shared::v1::Identifier>,
#[prost(message, optional, tag="2")]
pub constraints: ::core::option::Option<super::super::super::r#type::shared::v1::Constraints>,
#[prost(bool, tag="3")]
pub adjustment: bool,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DailyCmaResponse {
#[prost(message, repeated, tag="1")]
pub data: ::prost::alloc::vec::Vec<DailyCmaData>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DailyCmaData {
#[prost(message, optional, tag="1")]
pub date: ::core::option::Option<super::super::super::super::super::google::r#type::Date>,
#[prost(double, tag="2")]
pub value: f64,
#[prost(double, tag="3")]
pub average: f64,
}
pub mod daily_cma_service_client {
#![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
use tonic::codegen::*;
#[derive(Debug, Clone)]
pub struct DailyCmaServiceClient<T> {
inner: tonic::client::Grpc<T>,
}
impl DailyCmaServiceClient<tonic::transport::Channel> {
pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
where
D: std::convert::TryInto<tonic::transport::Endpoint>,
D::Error: Into<StdError>,
{
let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
Ok(Self::new(conn))
}
}
impl<T> DailyCmaServiceClient<T>
where
T: tonic::client::GrpcService<tonic::body::BoxBody>,
T::Error: Into<StdError>,
T::ResponseBody: Body<Data = Bytes> + Send + 'static,
<T::ResponseBody as Body>::Error: Into<StdError> + Send,
{
pub fn new(inner: T) -> Self {
let inner = tonic::client::Grpc::new(inner);
Self { inner }
}
pub fn with_interceptor<F>(
inner: T,
interceptor: F,
) -> DailyCmaServiceClient<InterceptedService<T, F>>
where
F: tonic::service::Interceptor,
T::ResponseBody: Default,
T: tonic::codegen::Service<
http::Request<tonic::body::BoxBody>,
Response = http::Response<
<T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
>,
>,
<T as tonic::codegen::Service<
http::Request<tonic::body::BoxBody>,
>>::Error: Into<StdError> + Send + Sync,
{
DailyCmaServiceClient::new(InterceptedService::new(inner, interceptor))
}
#[must_use]
pub fn send_gzip(mut self) -> Self {
self.inner = self.inner.send_gzip();
self
}
#[must_use]
pub fn accept_gzip(mut self) -> Self {
self.inner = self.inner.accept_gzip();
self
}
pub async fn daily_cma(
&mut self,
request: impl tonic::IntoRequest<super::DailyCmaRequest>,
) -> Result<tonic::Response<super::DailyCmaResponse>, tonic::Status> {
self.inner
.ready()
.await
.map_err(|e| {
tonic::Status::new(
tonic::Code::Unknown,
format!("Service was not ready: {}", e.into()),
)
})?;
let codec = tonic::codec::ProstCodec::default();
let path = http::uri::PathAndQuery::from_static(
"/systemathics.apis.services.daily_analytics.v1.DailyCmaService/DailyCma",
);
self.inner.unary(request.into_request(), path, codec).await
}
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DailyMacdRequest {
#[prost(message, optional, tag="1")]
pub identifier: ::core::option::Option<super::super::super::r#type::shared::v1::Identifier>,
#[prost(message, optional, tag="2")]
pub constraints: ::core::option::Option<super::super::super::r#type::shared::v1::Constraints>,
#[prost(int32, tag="3")]
pub long: i32,
#[prost(int32, tag="4")]
pub short: i32,
#[prost(bool, tag="5")]
pub adjustment: bool,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DailyMacdResponse {
#[prost(message, repeated, tag="1")]
pub data: ::prost::alloc::vec::Vec<DailyMacdData>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DailyMacdData {
#[prost(message, optional, tag="1")]
pub date: ::core::option::Option<super::super::super::super::super::google::r#type::Date>,
#[prost(double, tag="2")]
pub value: f64,
#[prost(double, tag="3")]
pub macd: f64,
#[prost(double, tag="4")]
pub short: f64,
#[prost(double, tag="5")]
pub long: f64,
}
pub mod daily_macd_service_client {
#![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
use tonic::codegen::*;
#[derive(Debug, Clone)]
pub struct DailyMacdServiceClient<T> {
inner: tonic::client::Grpc<T>,
}
impl DailyMacdServiceClient<tonic::transport::Channel> {
pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
where
D: std::convert::TryInto<tonic::transport::Endpoint>,
D::Error: Into<StdError>,
{
let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
Ok(Self::new(conn))
}
}
impl<T> DailyMacdServiceClient<T>
where
T: tonic::client::GrpcService<tonic::body::BoxBody>,
T::Error: Into<StdError>,
T::ResponseBody: Body<Data = Bytes> + Send + 'static,
<T::ResponseBody as Body>::Error: Into<StdError> + Send,
{
pub fn new(inner: T) -> Self {
let inner = tonic::client::Grpc::new(inner);
Self { inner }
}
pub fn with_interceptor<F>(
inner: T,
interceptor: F,
) -> DailyMacdServiceClient<InterceptedService<T, F>>
where
F: tonic::service::Interceptor,
T::ResponseBody: Default,
T: tonic::codegen::Service<
http::Request<tonic::body::BoxBody>,
Response = http::Response<
<T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
>,
>,
<T as tonic::codegen::Service<
http::Request<tonic::body::BoxBody>,
>>::Error: Into<StdError> + Send + Sync,
{
DailyMacdServiceClient::new(InterceptedService::new(inner, interceptor))
}
#[must_use]
pub fn send_gzip(mut self) -> Self {
self.inner = self.inner.send_gzip();
self
}
#[must_use]
pub fn accept_gzip(mut self) -> Self {
self.inner = self.inner.accept_gzip();
self
}
pub async fn daily_macd(
&mut self,
request: impl tonic::IntoRequest<super::DailyMacdRequest>,
) -> Result<tonic::Response<super::DailyMacdResponse>, tonic::Status> {
self.inner
.ready()
.await
.map_err(|e| {
tonic::Status::new(
tonic::Code::Unknown,
format!("Service was not ready: {}", e.into()),
)
})?;
let codec = tonic::codec::ProstCodec::default();
let path = http::uri::PathAndQuery::from_static(
"/systemathics.apis.services.daily_analytics.v1.DailyMacdService/DailyMacd",
);
self.inner.unary(request.into_request(), path, codec).await
}
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DailyVolatilityRequest {
#[prost(message, optional, tag="1")]
pub identifier: ::core::option::Option<super::super::super::r#type::shared::v1::Identifier>,
#[prost(message, optional, tag="2")]
pub constraints: ::core::option::Option<super::super::super::r#type::shared::v1::Constraints>,
#[prost(bool, tag="3")]
pub adjustment: bool,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DailyVolatilityResponse {
#[prost(double, tag="1")]
pub value: f64,
}
pub mod daily_volatility_service_client {
#![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
use tonic::codegen::*;
#[derive(Debug, Clone)]
pub struct DailyVolatilityServiceClient<T> {
inner: tonic::client::Grpc<T>,
}
impl DailyVolatilityServiceClient<tonic::transport::Channel> {
pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
where
D: std::convert::TryInto<tonic::transport::Endpoint>,
D::Error: Into<StdError>,
{
let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
Ok(Self::new(conn))
}
}
impl<T> DailyVolatilityServiceClient<T>
where
T: tonic::client::GrpcService<tonic::body::BoxBody>,
T::Error: Into<StdError>,
T::ResponseBody: Body<Data = Bytes> + Send + 'static,
<T::ResponseBody as Body>::Error: Into<StdError> + Send,
{
pub fn new(inner: T) -> Self {
let inner = tonic::client::Grpc::new(inner);
Self { inner }
}
pub fn with_interceptor<F>(
inner: T,
interceptor: F,
) -> DailyVolatilityServiceClient<InterceptedService<T, F>>
where
F: tonic::service::Interceptor,
T::ResponseBody: Default,
T: tonic::codegen::Service<
http::Request<tonic::body::BoxBody>,
Response = http::Response<
<T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
>,
>,
<T as tonic::codegen::Service<
http::Request<tonic::body::BoxBody>,
>>::Error: Into<StdError> + Send + Sync,
{
DailyVolatilityServiceClient::new(
InterceptedService::new(inner, interceptor),
)
}
#[must_use]
pub fn send_gzip(mut self) -> Self {
self.inner = self.inner.send_gzip();
self
}
#[must_use]
pub fn accept_gzip(mut self) -> Self {
self.inner = self.inner.accept_gzip();
self
}
pub async fn daily_volatility(
&mut self,
request: impl tonic::IntoRequest<super::DailyVolatilityRequest>,
) -> Result<tonic::Response<super::DailyVolatilityResponse>, tonic::Status> {
self.inner
.ready()
.await
.map_err(|e| {
tonic::Status::new(
tonic::Code::Unknown,
format!("Service was not ready: {}", e.into()),
)
})?;
let codec = tonic::codec::ProstCodec::default();
let path = http::uri::PathAndQuery::from_static(
"/systemathics.apis.services.daily_analytics.v1.DailyVolatilityService/DailyVolatility",
);
self.inner.unary(request.into_request(), path, codec).await
}
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DailyBollingerRequest {
#[prost(message, optional, tag="1")]
pub identifier: ::core::option::Option<super::super::super::r#type::shared::v1::Identifier>,
#[prost(message, optional, tag="2")]
pub constraints: ::core::option::Option<super::super::super::r#type::shared::v1::Constraints>,
#[prost(int32, tag="3")]
pub length: i32,
#[prost(double, tag="4")]
pub deviation: f64,
#[prost(bool, tag="5")]
pub adjustment: bool,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DailyBollingerResponse {
#[prost(message, repeated, tag="1")]
pub data: ::prost::alloc::vec::Vec<DailyBollingerData>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DailyBollingerData {
#[prost(message, optional, tag="1")]
pub date: ::core::option::Option<super::super::super::super::super::google::r#type::Date>,
#[prost(double, tag="2")]
pub value: f64,
#[prost(message, optional, tag="3")]
pub lower: ::core::option::Option<f64>,
#[prost(message, optional, tag="4")]
pub upper: ::core::option::Option<f64>,
#[prost(message, optional, tag="5")]
pub middle: ::core::option::Option<f64>,
}
pub mod daily_bollinger_service_client {
#![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
use tonic::codegen::*;
#[derive(Debug, Clone)]
pub struct DailyBollingerServiceClient<T> {
inner: tonic::client::Grpc<T>,
}
impl DailyBollingerServiceClient<tonic::transport::Channel> {
pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
where
D: std::convert::TryInto<tonic::transport::Endpoint>,
D::Error: Into<StdError>,
{
let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
Ok(Self::new(conn))
}
}
impl<T> DailyBollingerServiceClient<T>
where
T: tonic::client::GrpcService<tonic::body::BoxBody>,
T::Error: Into<StdError>,
T::ResponseBody: Body<Data = Bytes> + Send + 'static,
<T::ResponseBody as Body>::Error: Into<StdError> + Send,
{
pub fn new(inner: T) -> Self {
let inner = tonic::client::Grpc::new(inner);
Self { inner }
}
pub fn with_interceptor<F>(
inner: T,
interceptor: F,
) -> DailyBollingerServiceClient<InterceptedService<T, F>>
where
F: tonic::service::Interceptor,
T::ResponseBody: Default,
T: tonic::codegen::Service<
http::Request<tonic::body::BoxBody>,
Response = http::Response<
<T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
>,
>,
<T as tonic::codegen::Service<
http::Request<tonic::body::BoxBody>,
>>::Error: Into<StdError> + Send + Sync,
{
DailyBollingerServiceClient::new(InterceptedService::new(inner, interceptor))
}
#[must_use]
pub fn send_gzip(mut self) -> Self {
self.inner = self.inner.send_gzip();
self
}
#[must_use]
pub fn accept_gzip(mut self) -> Self {
self.inner = self.inner.accept_gzip();
self
}
pub async fn daily_bollinger(
&mut self,
request: impl tonic::IntoRequest<super::DailyBollingerRequest>,
) -> Result<tonic::Response<super::DailyBollingerResponse>, tonic::Status> {
self.inner
.ready()
.await
.map_err(|e| {
tonic::Status::new(
tonic::Code::Unknown,
format!("Service was not ready: {}", e.into()),
)
})?;
let codec = tonic::codec::ProstCodec::default();
let path = http::uri::PathAndQuery::from_static(
"/systemathics.apis.services.daily_analytics.v1.DailyBollingerService/DailyBollinger",
);
self.inner.unary(request.into_request(), path, codec).await
}
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DailyEmaRequest {
#[prost(message, optional, tag="1")]
pub identifier: ::core::option::Option<super::super::super::r#type::shared::v1::Identifier>,
#[prost(message, optional, tag="2")]
pub constraints: ::core::option::Option<super::super::super::r#type::shared::v1::Constraints>,
#[prost(int32, tag="3")]
pub length: i32,
#[prost(bool, tag="4")]
pub adjustment: bool,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DailyEmaResponse {
#[prost(message, repeated, tag="1")]
pub data: ::prost::alloc::vec::Vec<DailyEmaData>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DailyEmaData {
#[prost(message, optional, tag="1")]
pub date: ::core::option::Option<super::super::super::super::super::google::r#type::Date>,
#[prost(double, tag="2")]
pub value: f64,
#[prost(double, tag="3")]
pub average: f64,
}
pub mod daily_ema_service_client {
#![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
use tonic::codegen::*;
#[derive(Debug, Clone)]
pub struct DailyEmaServiceClient<T> {
inner: tonic::client::Grpc<T>,
}
impl DailyEmaServiceClient<tonic::transport::Channel> {
pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
where
D: std::convert::TryInto<tonic::transport::Endpoint>,
D::Error: Into<StdError>,
{
let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
Ok(Self::new(conn))
}
}
impl<T> DailyEmaServiceClient<T>
where
T: tonic::client::GrpcService<tonic::body::BoxBody>,
T::Error: Into<StdError>,
T::ResponseBody: Body<Data = Bytes> + Send + 'static,
<T::ResponseBody as Body>::Error: Into<StdError> + Send,
{
pub fn new(inner: T) -> Self {
let inner = tonic::client::Grpc::new(inner);
Self { inner }
}
pub fn with_interceptor<F>(
inner: T,
interceptor: F,
) -> DailyEmaServiceClient<InterceptedService<T, F>>
where
F: tonic::service::Interceptor,
T::ResponseBody: Default,
T: tonic::codegen::Service<
http::Request<tonic::body::BoxBody>,
Response = http::Response<
<T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
>,
>,
<T as tonic::codegen::Service<
http::Request<tonic::body::BoxBody>,
>>::Error: Into<StdError> + Send + Sync,
{
DailyEmaServiceClient::new(InterceptedService::new(inner, interceptor))
}
#[must_use]
pub fn send_gzip(mut self) -> Self {
self.inner = self.inner.send_gzip();
self
}
#[must_use]
pub fn accept_gzip(mut self) -> Self {
self.inner = self.inner.accept_gzip();
self
}
pub async fn daily_ema(
&mut self,
request: impl tonic::IntoRequest<super::DailyEmaRequest>,
) -> Result<tonic::Response<super::DailyEmaResponse>, tonic::Status> {
self.inner
.ready()
.await
.map_err(|e| {
tonic::Status::new(
tonic::Code::Unknown,
format!("Service was not ready: {}", e.into()),
)
})?;
let codec = tonic::codec::ProstCodec::default();
let path = http::uri::PathAndQuery::from_static(
"/systemathics.apis.services.daily_analytics.v1.DailyEmaService/DailyEma",
);
self.inner.unary(request.into_request(), path, codec).await
}
}
}