pub struct FuturesInstrumentsInfo {
pub category: String,
pub list: Vec<FuturesInstrument>,
pub next_page_cursor: String,
}Expand description
Contains instrument information for futures contracts.
Part of the InstrumentInfo enum, this struct provides details for futures, including perpetual futures. It’s critical for bots trading perpetuals to understand leverage, price, and lot size constraints.
Fields§
§category: StringThe product category (e.g., “linear”, “inverse”).
Confirms the type of futures contract. For perpetuals, this is linear (USDT-margined) or inverse (coin-margined). Bots should verify this matches their trading strategy.
list: Vec<FuturesInstrument>A list of futures instrument details.
Contains the actual instrument data for each futures contract. Bots iterate over this list to extract parameters like leverage and funding intervals for perpetual futures.
next_page_cursor: StringThe cursor for pagination.
Indicates the next page of results for large datasets. Bots should use this for paginated requests to fetch all instruments when limit is reached.
Trait Implementations§
Source§impl Clone for FuturesInstrumentsInfo
impl Clone for FuturesInstrumentsInfo
Source§fn clone(&self) -> FuturesInstrumentsInfo
fn clone(&self) -> FuturesInstrumentsInfo
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more