ax-exchange-sdk 1.0.2

ArchitectX SDK
Documentation
use chrono::{DateTime, Utc};
use serde::{Deserialize, Serialize};

pub mod api_gateway;
pub mod candle_server;
pub mod common;
pub mod marketdata_publisher;
pub mod order_gateway;
pub mod settlement_engine;
pub mod ws;

/// Standard error response format
#[derive(Debug, Clone, Serialize, Deserialize)]
#[cfg_attr(feature = "utoipa", derive(utoipa::ToSchema))]
pub struct ErrorResponse {
    pub error: String,
}

/// Service health response
#[derive(Debug, Clone, Serialize, Deserialize)]
#[cfg_attr(feature = "utoipa", derive(utoipa::ToSchema))]
pub struct HealthResponse {
    pub status: String,
    pub timestamp: DateTime<Utc>,
}