mirror of
https://github.com/JKorf/CryptoExchange.Net.git
synced 2026-10-04 10:21:13 +00:00
ae7504c26c
Added V2 Shared API's infrastructure Added request coalescing Added rate limiting admission logic Fixed some rate limiting issues
29 lines
1.0 KiB
C#
29 lines
1.0 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace CryptoExchange.Net.SharedApis
|
|
{
|
|
public static partial class SharedCapabilities
|
|
{
|
|
/// <summary>
|
|
/// Funding capabilities.
|
|
/// </summary>
|
|
public static class Funding
|
|
{
|
|
/// <summary>
|
|
/// Get current funding information capability.
|
|
/// </summary>
|
|
public static SharedRestCapability<IGetFundingInfo, IGetFundingInfoRest> GetFundingInfo { get; } = new();
|
|
/// <summary>
|
|
/// Get funding rate history capability.
|
|
/// </summary>
|
|
public static SharedRestCapability<IGetFundingRateHistory, IGetFundingRateHistoryRest> GetFundingRateHistory { get; } = new();
|
|
/// <summary>
|
|
/// Get user funding history capability.
|
|
/// </summary>
|
|
public static SharedRestCapability<IGetUserFundingHistory, IGetUserFundingHistoryRest> GetUserFundingHistory { get; } = new();
|
|
}
|
|
}
|
|
}
|