Skip to main content

nautilus_kraken/http/
models.rs

1// -------------------------------------------------------------------------------------------------
2//  Copyright (C) 2015-2026 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, FuturesCachedOrder,
26        FuturesCancelAllOrdersResponse, FuturesCancelAllStatus, FuturesCancelOrderResponse,
27        FuturesCancelStatus, FuturesCandle, FuturesCandlesResponse, FuturesEditOrderResponse,
28        FuturesEditStatus, FuturesFill, FuturesFillsResponse, FuturesInstrument,
29        FuturesInstrumentsResponse, FuturesMarginLevel, FuturesOpenOrder,
30        FuturesOpenOrdersResponse, FuturesOpenPositionsResponse, FuturesOrderEvent,
31        FuturesOrderEventsResponse, FuturesOrderStatusDetails, FuturesOrdersStatusResponse,
32        FuturesPosition, FuturesPublicExecution, FuturesPublicExecutionElement,
33        FuturesPublicExecutionEvent, FuturesPublicExecutionWrapper,
34        FuturesPublicExecutionsResponse, FuturesPublicOrder, FuturesSendOrderResponse,
35        FuturesSendStatus, FuturesTicker, FuturesTickersResponse,
36    },
37    spot::models::{
38        AssetPairInfo, AssetPairsResponse, KrakenResponse, OhlcData, OhlcResponse, OrderBookData,
39        OrderBookLevel, OrderBookResponse, OrderDescription, ServerTime, SpotAddOrderResponse,
40        SpotCancelOrderResponse, SpotClosedOrdersResult, SpotEditOrderResponse,
41        SpotOpenOrdersResult, SpotOrder, SpotTrade, SpotTradesHistoryResult, SystemStatus,
42        TickerInfo, TickerResponse, TradeData, TradesResponse, WebSocketToken,
43    },
44};