using ConsoleClient.Models; using CryptoExchange.Net.Objects; using CryptoExchange.Net.Objects.Sockets; using CryptoExchange.Net.Sockets; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleClient.Exchanges { public interface IExchange { Task GetPrice(string symbol); Task> GetOpenOrders(); Task> GetBalances(); Task CancelOrder(string symbol, string id); Task> PlaceOrder(string symbol, string side, string type, decimal quantity, decimal? price ); Task SubscribePrice(string symbol, Action handler); } }