diff --git a/CryptoExchange.Net/CryptoExchange.Net.csproj b/CryptoExchange.Net/CryptoExchange.Net.csproj index cb9033a..e78f491 100644 --- a/CryptoExchange.Net/CryptoExchange.Net.csproj +++ b/CryptoExchange.Net/CryptoExchange.Net.csproj @@ -6,16 +6,16 @@ CryptoExchange.Net JKorf A base package for implementing cryptocurrency exchange API's - 5.0.0-beta2 + 5.0.0-beta3 5.0.0 - 5.0.0-beta2 + 5.0.0-beta3 false git https://github.com/JKorf/CryptoExchange.Net.git https://github.com/JKorf/CryptoExchange.Net en true - 5.0.0-beta2 - Replaced Debug.WriteLine with Trace.WriteLine + 5.0.0-beta3 - Re-added Common- prefixes for Common client enums to avoid Ambiguous references enable 9.0 MIT diff --git a/README.md b/README.md index 66c1901..043eb40 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,9 @@ I develop and maintain this package on my own for free in my spare time. Donatio Alternatively, sponsor me on Github using [Github Sponsors](https://github.com/sponsors/JKorf) ## Release notes +* Version 5.0.0-beta3 - 24 Jan 2022 + * Re-added Common- prefixes for Common client enums to avoid Ambiguous references + * Version 5.0.0-beta2 - 21 Jan 2022 * Replaced Debug.WriteLine with Trace.WriteLine diff --git a/docs/Interfaces.md b/docs/Interfaces.md index c95a22d..56548c4 100644 --- a/docs/Interfaces.md +++ b/docs/Interfaces.md @@ -58,6 +58,9 @@ Task>> GetRecentTradesAsync(string symbol); // Get balances Task>> GetBalancesAsync(string? accountId = null); +// Place an order +Task> PlaceOrderAsync(string symbol, CommonOrderSide side, CommonOrderType type, decimal quantity, decimal? price = null, string? accountId = null); + // Get order by order id Task> GetOrderAsync(string orderId, string? symbol = null); @@ -122,6 +125,9 @@ Task>> GetBalancesAsync(string? accountId = n // Get current open positions Task>> GetPositionsAsync(); +// Place an order +Task> PlaceOrderAsync(string symbol, CommonOrderSide side, CommonOrderType type, decimal quantity, decimal? price = null, int? leverage = null, string? accountId = null); + // Get order by order id Task> GetOrderAsync(string orderId, string? symbol = null); diff --git a/docs/Migration Guide.md b/docs/Migration Guide.md index fd45d04..088581d 100644 --- a/docs/Migration Guide.md +++ b/docs/Migration Guide.md @@ -72,14 +72,14 @@ var spotClients = new [] { *V5* ```csharp var spotClients = new [] { - binanceClient.SpotApi.ComonSpotClient, - bittrexClient.SpotApi.ComonSpotClient, - kucoinClient.SpotApi.ComonSpotClient + binanceClient.SpotApi.CommonSpotClient, + bittrexClient.SpotApi.CommonSpotClient, + kucoinClient.SpotApi.CommonSpotClient }; var futuresClients = new [] { - binanceClient.UsdFuturesApi.ComonFuturesClient, - kucoinClient.FuturesApi.ComonFuturesClient + binanceClient.UsdFuturesApi.CommonFuturesClient, + kucoinClient.FuturesApi.CommonFuturesClient }; ```