mod auth;
mod rest;
mod ws;
pub mod futures;
pub mod spot;
pub mod models;
pub(crate) mod endpoints;
pub use auth::Credentials;
pub use rest::client::RestClient;
pub use futures::FuturesClient;
pub use rest::error::AsterDexError;
pub use rest::response::ApiResponse;
pub use ws::client::{UserDataStream, WebSocketClient, WebSocketStream};
pub use futures::models::trading::{
CancelOrderParams, CancelOrderResponse, EmptyResponse, ListenKeyResponse, ModifyOrderParams,
OrderResponse, PlaceOrderParams, PositionResponse,
};
pub use futures::models::market::{
DepthResponse, ExchangeInfoResponse, Kline, KlineInterval, MarkPriceResponse, MarkPriceShape,
PingResponse, ServerTimeResponse, Ticker24hrResponse, Ticker24hrShape,
};
pub use futures::models::account::{Balance, LeverageBracket, SetLeverageResponse};
pub use futures::models::websocket::WebSocketMessage;
pub use futures::models::user_data::UserDataEvent;