pub struct MoveHistoryEntry {Show 16 fields
pub block_trade_id: String,
pub category: String,
pub order_id: String,
pub user_id: u64,
pub symbol: String,
pub side: String,
pub price: f64,
pub qty: f64,
pub exec_fee: f64,
pub status: String,
pub exec_id: String,
pub result_code: i16,
pub result_message: String,
pub created_at: u64,
pub updated_at: u64,
pub reject_party: String,
}Expand description
Represents a single position move history record.
Details a specific position transfer between accounts, including trade parameters and status. Bots use this to audit individual transfers and diagnose issues.
Fields§
§block_trade_id: StringThe block trade ID for the transfer.
A unique identifier for the position move, treated as a block trade. Bots use this to track specific transfer events.
category: StringThe product category (e.g., “linear”).
Indicates the instrument type of the transferred position. Bots should verify this matches the requested category.
order_id: StringThe unique order ID.
Identifies the order associated with the transfer. Bots use this to correlate transfers with specific orders.
user_id: u64The user ID of the account involved.
Indicates the account (source or destination) associated with the transfer. Bots use this to verify the correct accounts were involved.
symbol: StringThe trading pair symbol (e.g., “BTCUSDT”).
Identifies the perpetual futures contract for the transferred position. Bots should confirm this matches the requested symbol.
side: StringThe trade side (“Buy” or “Sell”).
Indicates whether the transferred position was long (Buy) or short (Sell). Bots use this to verify position direction.
price: f64The transfer price.
The price at which the position was transferred, used for valuation. Bots use this to verify the fairness of the transfer price.
qty: f64The quantity of the transferred position.
The amount of the base asset transferred. Bots use this to verify the correct position size was moved.
exec_fee: f64The execution fee for the transfer.
The fee charged for the transfer, in the settlement currency. Bots use this to calculate the net cost of the transfer.
status: StringThe status of the transfer (e.g., “Filled”, “Rejected”).
Indicates whether the transfer was successful or encountered issues. Bots should check this to confirm transfer completion.
exec_id: StringThe unique execution ID.
A unique identifier for the transfer execution on Bybit’s exchange. Bots use this to track specific transfer events and avoid duplicates.
result_code: i16The result code for the transfer.
A code indicating the outcome of the transfer (e.g., 0 for success). Bots should check this to identify issues with specific transfers.
result_message: StringA message describing the transfer result.
Provides details about the transfer’s status, such as success or error reasons. Bots should log this for debugging and error handling.
created_at: u64The timestamp when the transfer was created.
Indicates when the transfer request was initiated. Bots use this to align transfer data with other time-series data.
updated_at: u64The timestamp when the transfer was last updated.
Indicates when the transfer status was last modified (e.g., completed or rejected). Bots use this to track transfer progress.
reject_party: StringThe party that rejected the transfer, if applicable.
Identifies the account (source or destination) that caused a rejection. Bots use this to diagnose transfer failures.
Trait Implementations§
Source§impl Clone for MoveHistoryEntry
impl Clone for MoveHistoryEntry
Source§fn clone(&self) -> MoveHistoryEntry
fn clone(&self) -> MoveHistoryEntry
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more