mirror of
https://github.com/JKorf/CryptoExchange.Net.git
synced 2026-10-15 23:50:54 +00:00
30 lines
1002 B
C#
30 lines
1002 B
C#
using CryptoExchange.Net.SharedApis;
|
|
using System;
|
|
|
|
namespace CryptoExchange.Net.Interfaces.Clients
|
|
{
|
|
/// <summary>
|
|
/// Base api client
|
|
/// </summary>
|
|
public interface IBaseApiClient : IRateLimitAdmissionClient
|
|
{
|
|
/// <summary>
|
|
/// Exchange name
|
|
/// </summary>
|
|
string Exchange { get; }
|
|
/// <summary>
|
|
/// Base address
|
|
/// </summary>
|
|
string BaseAddress { get; }
|
|
|
|
/// <summary>
|
|
/// Format a base and quote asset to an exchange accepted symbol
|
|
/// </summary>
|
|
/// <param name="baseAsset">The base asset</param>
|
|
/// <param name="quoteAsset">The quote asset</param>
|
|
/// <param name="tradingMode">The trading mode</param>
|
|
/// <param name="deliverDate">The deliver date for a delivery futures symbol</param>
|
|
/// <returns></returns>
|
|
string FormatSymbol(string baseAsset, string quoteAsset, TradingMode tradingMode, DateTime? deliverDate = null);
|
|
}
|
|
} |