mirror of
https://github.com/JKorf/CryptoExchange.Net.git
synced 2026-10-13 22:51:39 +00:00
ae7504c26c
Added V2 Shared API's infrastructure Added request coalescing Added rate limiting admission logic Fixed some rate limiting issues
31 lines
944 B
C#
31 lines
944 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace CryptoExchange.Net.SharedApis
|
|
{
|
|
public static partial class SharedCapabilities
|
|
{
|
|
/// <summary>
|
|
/// Leverage capabilities.
|
|
/// </summary>
|
|
public static class Leverage
|
|
{
|
|
/// <summary>
|
|
/// Get leverage capability.
|
|
/// </summary>
|
|
public static SharedRestCapability<IGetLeverage, IGetLeverageRest> GetLeverage { get; } = new();
|
|
|
|
/// <summary>
|
|
/// Set leverage capability.
|
|
/// </summary>
|
|
public static SharedRestCapability<ISetLeverage, ISetLeverageRest> SetLeverage { get; } = new();
|
|
|
|
/// <summary>
|
|
/// Get leverage tiers capability.
|
|
/// </summary>
|
|
public static SharedRestCapability<IGetLeverageTiers, IGetLeverageTiersRest> GetLeverageTiers { get; } = new();
|
|
}
|
|
}
|
|
}
|