diff --git a/README.md b/README.md index d35adbf..a641f4e 100644 --- a/README.md +++ b/README.md @@ -213,20 +213,34 @@ Most implementations have an implementation of the `IExchangeClient` interface. The IExchangeClient interface supports the following methods: `string GetSymbolName(string baseAsset, string quoteAsset);` - Based on a base and quote asset return the symbol name for the exchange. + `Task>> GetSymbolsAsync();` - Get a list of supported symbols. + `Task>> GetTickersAsync();` - Get a list of tickers (High/Low/volume data for the last 24 hours) for all symbols. + `Task> GetTickerAsync(string symbol);` - Get a specific ticker. + `Task>> GetKlinesAsync(string symbol, TimeSpan timespan, DateTime? startTime = null, DateTime? endTime = null, int? limit = null);` - Get candlestick data for a symbol. + `Task> GetOrderBookAsync(string symbol);` - Get the order book for a symbol. + `Task>> GetRecentTradesAsync(string symbol);` - Get a list of the most recent trades for a symbol. + `Task> PlaceOrderAsync(string symbol, OrderSide side, OrderType type, decimal quantity, decimal? price = null, string? accountId = null);` - \[Authenticated\] Place an order. + `Task> GetOrderAsync(string orderId, string? symbol = null);` - \[Authenticated\] Get details on an order. + `Task>> GetTradesAsync(string orderId, string? symbol = null);` - \[Authenticated\] Get executed trades for an order. + `Task>> GetOpenOrdersAsync(string? symbol = null);` - \[Authenticated\] Get a list of open orders. + `Task>> GetClosedOrdersAsync(string? symbol = null);` - \[Authenticated\] Get a list of closed orders. + `Task> CancelOrderAsync(string orderId, string? symbol = null);` - \[Authenticated\] Cancel an order. + `Task>> GetBalancesAsync(string? accountId = null);` - \[Authenticated\] Get a list of balances. + Example usage: ````C# static async Task Main(string[] args)