Skip to main content

bybit/models/
batched_order_list.rs

1use crate::prelude::*;
2
3/// Summarizes the list of batched orders.
4///
5/// Part of the `BatchPlaceResponse`, this struct contains the details of all orders placed in the batch request. Bots use this to confirm order creation and update their state.
6#[derive(Serialize, Deserialize, Clone, Debug)]
7#[serde(rename_all = "camelCase")]
8pub struct BatchedOrderList {
9    /// A list of placed orders.
10    ///
11    /// Contains details like order IDs and symbols for each successfully placed order. Bots should iterate through this to update their internal order book.
12    pub list: Vec<BatchedOrder>,
13}