mirror of
https://github.com/JKorf/CryptoExchange.Net.git
synced 2026-10-15 23:50:54 +00:00
37 lines
1.2 KiB
C#
37 lines
1.2 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace CryptoExchange.Net.SharedApis
|
|
{
|
|
public static partial class SharedCapabilities
|
|
{
|
|
/// <summary>
|
|
/// Kline capabilities.
|
|
/// </summary>
|
|
public static class Klines
|
|
{
|
|
/// <summary>
|
|
/// Get klines capability.
|
|
/// </summary>
|
|
public static SharedRestCapability<IGetKlines, IGetKlinesRest> GetKlines { get; } = new();
|
|
|
|
/// <summary>
|
|
/// Get mark price klines capability.
|
|
/// </summary>
|
|
public static SharedRestCapability<IGetMarkPriceKlines, IGetMarkPriceKlinesRest> GetMarkPriceKlines { get; } = new();
|
|
|
|
/// <summary>
|
|
/// Get index price klines capability.
|
|
/// </summary>
|
|
public static SharedRestCapability<IGetIndexPriceKlines, IGetIndexPriceKlinesRest> GetIndexPriceKlines { get; } = new();
|
|
|
|
/// <summary>
|
|
/// Subscribe to kline updates capability.
|
|
/// </summary>
|
|
public static SharedCapabilityReference<ISubscribeKlinesSocket> SubscribeKlines { get; } = new();
|
|
}
|
|
|
|
}
|
|
}
|