using System;
namespace CryptoExchange.Net.SharedApis
{
///
/// Request to retrieve user funding fee payment history
///
public record GetUserFundingHistoryRequest : SharedRequest
{
///
/// Filter be symbol
///
public SharedSymbol? Symbol { get; set; }
///
/// 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 request funding history
/// Filter by start time
/// Filter by end time
/// Max number of results
/// Data direction
/// Exchange specific parameters
public GetUserFundingHistoryRequest(
SharedSymbol? symbol = null,
DateTime? startTime = null,
DateTime? endTime = null,
int? limit = null,
DataDirection? direction = null,
ExchangeParameters? exchangeParameters = null)
: base(null, exchangeParameters)
{
Symbol = symbol;
StartTime = startTime;
EndTime = endTime;
Limit = limit;
Direction = direction;
}
}
}