using System; namespace CryptoExchange.Net.SharedApis { /// /// Request to retrieve the public trade history /// public record GetTradeHistoryRequest : SharedSymbolRequest { /// /// Filter by start time /// public DateTime StartTime { get; set; } /// /// Filter by end time /// public DateTime? EndTime { get; set; } /// /// Max number of results /// public int? Limit { get; set; } /// /// Data direction /// public DataDirection? Direction { get; set; } /// /// ctor /// /// Symbol to retrieve trades for /// Filter by start time /// Filter by end time /// Max number of results /// Data direction /// Exchange specific parameters public GetTradeHistoryRequest(SharedSymbol symbol, DateTime startTime, DateTime? endTime = null, int? limit = null, DataDirection? direction = null, ExchangeParameters? exchangeParameters = null) : base(symbol, exchangeParameters) { StartTime = startTime; EndTime = endTime; Limit = limit; Direction = direction; } } }