Struct binance_spot_connector_rust::market::agg_trades::AggTrades
source · pub struct AggTrades { /* private fields */ }
Expand description
GET /api/v3/aggTrades
Get compressed, aggregate trades. Trades that fill at the time, from the same order, with the same price will have the quantity aggregated.
- If
startTime
andendTime
are sent, time between startTime and endTime must be less than 1 hour. - If
fromId
,startTime
, andendTime
are not sent, the most recent aggregate trades will be returned.
Weight(IP): 1
Example
use binance_spot_connector_rust::market;
let request = market::agg_trades("BNBUSDT").from_id(123).start_time(1640995200000).end_time(1640995200000).limit(500);
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for AggTrades
impl Send for AggTrades
impl Sync for AggTrades
impl Unpin for AggTrades
impl UnwindSafe for AggTrades
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more