mirror of
https://github.com/JKorf/CryptoExchange.Net.git
synced 2026-08-11 08:22:53 +00:00
31 lines
716 B
C#
31 lines
716 B
C#
using System;
|
|
using System.Diagnostics;
|
|
|
|
namespace CryptoExchange.Net.SharedApis
|
|
{
|
|
/// <summary>
|
|
/// Funding rate
|
|
/// </summary>
|
|
[DebuggerDisplay("[{Timestamp}] {FundingRate}")]
|
|
public record SharedFundingRate
|
|
{
|
|
/// <summary>
|
|
/// The funding rate
|
|
/// </summary>
|
|
public decimal FundingRate { get; set; }
|
|
/// <summary>
|
|
/// Timestamp
|
|
/// </summary>
|
|
public DateTime Timestamp { get; set; }
|
|
|
|
/// <summary>
|
|
/// ctor
|
|
/// </summary>
|
|
public SharedFundingRate(decimal fundingRate, DateTime timestamp)
|
|
{
|
|
FundingRate = fundingRate;
|
|
Timestamp = timestamp;
|
|
}
|
|
}
|
|
}
|