Skip to main content

bybit/models/
move_history_result.rs

1use crate::prelude::*;
2
3/// Summarizes position move history data.
4///
5/// Part of the `MoveHistoryResponse`, this struct organizes transfer history by pagination cursor and a list of transfer records. Bots use this to process and audit position transfers.
6#[derive(Serialize, Deserialize, Clone, Debug)]
7#[serde(rename_all = "camelCase")]
8pub struct MoveHistoryResult {
9    /// A list of position move records.
10    ///
11    /// Contains detailed transfer data, such as symbol, price, and status. Bots use this to audit transfers and verify portfolio changes.
12    pub list: Vec<MoveHistoryEntry>,
13
14    /// The cursor for pagination.
15    ///
16    /// Indicates the next page of results for large datasets. Bots should use this for paginated requests to fetch additional transfer history.
17    #[serde(rename = "nextPageCursor")]
18    pub next_page_cursor: String,
19}