/// <summary> /// Get older (non-compressed) trades. /// </summary> /// <param name="api"></param> /// <param name="user"></param> /// <param name="symbol"></param> /// <param name="fromId"></param> /// <param name="limit"></param> /// <param name="token"></param> /// <returns></returns> public static Task <IEnumerable <Trade> > GetTradesFromAsync(this IBinanceApi api, IBinanceApiUser user, string symbol, long fromId, int limit = default, CancellationToken token = default) { Throw.IfNull(api, nameof(api)); Throw.IfNull(user, nameof(user)); return(api.GetTradesFromAsync(user.ApiKey, symbol, fromId, limit, token)); }