1
0
mirror of https://github.com/JKorf/CryptoExchange.Net synced 2025-06-07 16:06:15 +00:00

Updated version

This commit is contained in:
Jkorf 2022-01-24 14:37:15 +01:00
parent bb1071472f
commit 100a34d1a0
4 changed files with 17 additions and 8 deletions

View File

@ -6,16 +6,16 @@
<PackageId>CryptoExchange.Net</PackageId>
<Authors>JKorf</Authors>
<Description>A base package for implementing cryptocurrency exchange API's</Description>
<PackageVersion>5.0.0-beta2</PackageVersion>
<PackageVersion>5.0.0-beta3</PackageVersion>
<AssemblyVersion>5.0.0</AssemblyVersion>
<FileVersion>5.0.0-beta2</FileVersion>
<FileVersion>5.0.0-beta3</FileVersion>
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
<RepositoryType>git</RepositoryType>
<RepositoryUrl>https://github.com/JKorf/CryptoExchange.Net.git</RepositoryUrl>
<PackageProjectUrl>https://github.com/JKorf/CryptoExchange.Net</PackageProjectUrl>
<NeutralLanguage>en</NeutralLanguage>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PackageReleaseNotes>5.0.0-beta2 - Replaced Debug.WriteLine with Trace.WriteLine</PackageReleaseNotes>
<PackageReleaseNotes>5.0.0-beta3 - Re-added Common- prefixes for Common client enums to avoid Ambiguous references</PackageReleaseNotes>
<Nullable>enable</Nullable>
<LangVersion>9.0</LangVersion>
<PackageLicenseExpression>MIT</PackageLicenseExpression>

View File

@ -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

View File

@ -58,6 +58,9 @@ Task<WebCallResult<IEnumerable<Trade>>> GetRecentTradesAsync(string symbol);
// Get balances
Task<WebCallResult<IEnumerable<Balance>>> GetBalancesAsync(string? accountId = null);
// Place an order
Task<WebCallResult<OrderId>> PlaceOrderAsync(string symbol, CommonOrderSide side, CommonOrderType type, decimal quantity, decimal? price = null, string? accountId = null);
// Get order by order id
Task<WebCallResult<Order>> GetOrderAsync(string orderId, string? symbol = null);
@ -122,6 +125,9 @@ Task<WebCallResult<IEnumerable<Balance>>> GetBalancesAsync(string? accountId = n
// Get current open positions
Task<WebCallResult<IEnumerable<Position>>> GetPositionsAsync();
// Place an order
Task<WebCallResult<OrderId>> PlaceOrderAsync(string symbol, CommonOrderSide side, CommonOrderType type, decimal quantity, decimal? price = null, int? leverage = null, string? accountId = null);
// Get order by order id
Task<WebCallResult<Order>> GetOrderAsync(string orderId, string? symbol = null);

View File

@ -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
};
```