Knocks/BackEnd/Knoks.Core/Logic/Interfaces/IExchange.cs

18 lines
599 B
C#

using Knoks.Core.Entities;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace Knoks.Core.Logic.Interfaces
{
public interface IExchange
{
Task<IEnumerable<Ticker>> GetMarkets();
Task<TickerData> GetTickerData(TickerInfo ticker, DateTime start, DateTime end);
//void GetTickerLive(IEnumerable<Ticker> tickers, IWebSocketClient client , Action<TickerData> action);
//void AddTicker(Ticker tickers, IWebSocketClient client);
//void RemoveTicker(Ticker tickers, IWebSocketClient client);
}
}