From c8a07f628a0b9f841ad3c19754b281d966431bc3 Mon Sep 17 00:00:00 2001 From: Jkorf Date: Tue, 22 Dec 2020 09:38:51 +0100 Subject: [PATCH] Update README.md --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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)