nautilus_kraken/http/
models.rs

1// -------------------------------------------------------------------------------------------------
2//  Copyright (C) 2015-2025 Nautech Systems Pty Ltd. All rights reserved.
3//  https://nautechsystems.io
4//
5//  Licensed under the GNU Lesser General Public License Version 3.0 (the "License");
6//  You may not use this file except in compliance with the License.
7//  You may obtain a copy of the License at https://www.gnu.org/licenses/lgpl-3.0.en.html
8//
9//  Unless required by applicable law or agreed to in writing, software
10//  distributed under the License is distributed on an "AS IS" BASIS,
11//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12//  See the License for the specific language governing permissions and
13//  limitations under the License.
14// -------------------------------------------------------------------------------------------------
15
16//! Re-exports of HTTP API models for backwards compatibility.
17//!
18//! Models are now organized by product type:
19//! - Spot models: [`super::spot::models`]
20//! - Futures models: [`super::futures::models`]
21
22// Re-exports
23pub use super::{
24    futures::models::{
25        CancelledOrder, FuturesBatchOrderResponse, FuturesCancelAllOrdersResponse,
26        FuturesCancelAllStatus, FuturesCancelOrderResponse, FuturesCancelStatus, FuturesCandle,
27        FuturesCandlesResponse, FuturesEditOrderResponse, FuturesEditStatus, FuturesFill,
28        FuturesFillsResponse, FuturesInstrument, FuturesInstrumentsResponse, FuturesMarginLevel,
29        FuturesOpenOrder, FuturesOpenOrdersResponse, FuturesOpenPositionsResponse,
30        FuturesOrderEvent, FuturesOrderEventsResponse, FuturesPosition, FuturesPublicExecution,
31        FuturesPublicExecutionElement, FuturesPublicExecutionEvent, FuturesPublicExecutionWrapper,
32        FuturesPublicExecutionsResponse, FuturesPublicOrder, FuturesSendOrderResponse,
33        FuturesSendStatus, FuturesTicker, FuturesTickersResponse,
34    },
35    spot::models::{
36        AssetPairInfo, AssetPairsResponse, KrakenResponse, OhlcData, OhlcResponse, OrderBookData,
37        OrderBookLevel, OrderBookResponse, OrderDescription, ServerTime, SpotAddOrderResponse,
38        SpotCancelOrderResponse, SpotClosedOrdersResult, SpotEditOrderResponse,
39        SpotOpenOrdersResult, SpotOrder, SpotTrade, SpotTradesHistoryResult, SystemStatus,
40        TickerInfo, TickerResponse, TradeData, TradesResponse, WebSocketToken,
41    },
42};