pub async fn agg_trades<S: AsRef<str>>(
            &self,
            symbol: S,
            from_id: Option<u64>,
            start_time: Option<u64>,
            end_time: Option<u64>,
            limit: Option<usize>,
        ) -> BinanceResult<Vec<AggTrade>> {
            self.client
                .get(API_V3_AGG_TRADES)?
                .query_arg("symbol", symbol.as_ref())?
                .try_query_arg("fromId", &from_id)?
                .try_query_arg("startTime", &start_time)?
                .try_query_arg("endTime", &end_time)?
                .try_query_arg("limit", &limit)?
                .send()
                .await
        }
/// Compressed/Aggregate trades list.
///
/// Get compressed, aggregate trades. Trades that fill at the time, from the same order,
/// with the same price will have the quantity aggregated.
///
/// Weight: 1
///
/// Parameters:
/// * `symbol`
/// * `from_id` - id to get aggregate trades from INCLUSIVE.
/// * `start_time` - Timestamp in ms to get aggregate trades from INCLUSIVE.
/// * `end_time` - timestamp in ms to get aggregate trades until INCLUSIVE.
/// * `limit` - default 500; max 1000.
///
///
/// * If both startTime and endTime are sent, time between startTime and endTime
///   must be less than 1 hour.
/// * If fromId, startTime, and endTime are not sent, the most recent aggregate trades
///   will be returned.
///
/// Data Source: Database
Compressed/Aggregate trades list.
Get compressed, aggregate trades. Trades that fill at the time, from the same order,
with the same price will have the quantity aggregated.

1

`symbol`
`from_id` - id to get aggregate trades from INCLUSIVE.
`start_time` - Timestamp in ms to get aggregate trades from INCLUSIVE.
`end_time` - timestamp in ms to get aggregate trades until INCLUSIVE.

If both startTime and endTime are sent, time between startTime and endTime
must be less than 1 hour.
If fromId, startTime, and endTime are not sent, the most recent aggregate trades
will be returned.

Data Source: Database
Compressed / Aggregate trades list . Get compressed aggregate trades . Trades that fill at the time from the same order with the same price will have the quantity aggregated . 1 ` symbol ` ` from_id ` - id to get aggregate trades from INCLUSIVE . ` start_time ` - Timestamp in ms to get aggregate trades from INCLUSIVE . ` end_time ` - timestamp in ms to get aggregate trades until INCLUSIVE . If both startTime and endTime are sent time between startTime and endTime must be less than 1 hour . If fromId startTime and endTime are not sent the most recent aggregate trades will be returned . Data Source : Database
pub async fn agg_trades<S: AsRef<str>>(
            &self,
            symbol: S,
            from_id: Option<u64>,
            start_time: Option<u64>,
            end_time: Option<u64>,
            limit: Option<usize>,
        ) -> BinanceResult<Vec<AggTrade>> {
            self.client
                .get(API_V3_AGG_TRADES)?
                .query_arg("symbol", symbol.as_ref())?
                .try_query_arg("fromId", &from_id)?
                .try_query_arg("startTime", &start_time)?
                .try_query_arg("endTime", &end_time)?
                .try_query_arg("limit", &limit)?
                .send()
                .await
        }
pub async fn agg_trades < S : AsRef < str > > ( & self , symbol : S , from_id : Option < u64 > , start_time : Option < u64 > , end_time : Option < u64 > , limit : Option < usize > , ) -> BinanceResult < Vec < AggTrade > > { self . client . get ( API_V3_AGG_TRADES ) ? . query_arg ( " " , symbol . as_ref ( ) ) ? . try_query_arg ( " " , & from_id ) ? . try_query_arg ( " " , & start_time ) ? . try_query_arg ( " " , & end_time ) ? . try_query_arg ( " " , & limit ) ? . send ( ) . await }
Compressed/Aggregate trades list.
Compressed / Aggregate trades list .
&self
symbol
S
from_id
Option<u64>
start_time
Option<u64>
end_time
Option<u64>
limit
Option<usize>
&self
symbol
S
from_id
Option<u64>
start_time
Option<u64>
end_time
Option<u64>
limit
Option<usize>