mirror of
https://github.com/JKorf/CryptoExchange.Net
synced 2025-06-08 00:16:27 +00:00
Updated version
This commit is contained in:
parent
bb1071472f
commit
100a34d1a0
@ -6,16 +6,16 @@
|
|||||||
<PackageId>CryptoExchange.Net</PackageId>
|
<PackageId>CryptoExchange.Net</PackageId>
|
||||||
<Authors>JKorf</Authors>
|
<Authors>JKorf</Authors>
|
||||||
<Description>A base package for implementing cryptocurrency exchange API's</Description>
|
<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>
|
<AssemblyVersion>5.0.0</AssemblyVersion>
|
||||||
<FileVersion>5.0.0-beta2</FileVersion>
|
<FileVersion>5.0.0-beta3</FileVersion>
|
||||||
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
|
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
|
||||||
<RepositoryType>git</RepositoryType>
|
<RepositoryType>git</RepositoryType>
|
||||||
<RepositoryUrl>https://github.com/JKorf/CryptoExchange.Net.git</RepositoryUrl>
|
<RepositoryUrl>https://github.com/JKorf/CryptoExchange.Net.git</RepositoryUrl>
|
||||||
<PackageProjectUrl>https://github.com/JKorf/CryptoExchange.Net</PackageProjectUrl>
|
<PackageProjectUrl>https://github.com/JKorf/CryptoExchange.Net</PackageProjectUrl>
|
||||||
<NeutralLanguage>en</NeutralLanguage>
|
<NeutralLanguage>en</NeutralLanguage>
|
||||||
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
|
<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>
|
<Nullable>enable</Nullable>
|
||||||
<LangVersion>9.0</LangVersion>
|
<LangVersion>9.0</LangVersion>
|
||||||
<PackageLicenseExpression>MIT</PackageLicenseExpression>
|
<PackageLicenseExpression>MIT</PackageLicenseExpression>
|
||||||
|
@ -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)
|
Alternatively, sponsor me on Github using [Github Sponsors](https://github.com/sponsors/JKorf)
|
||||||
|
|
||||||
## Release notes
|
## 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
|
* Version 5.0.0-beta2 - 21 Jan 2022
|
||||||
* Replaced Debug.WriteLine with Trace.WriteLine
|
* Replaced Debug.WriteLine with Trace.WriteLine
|
||||||
|
|
||||||
|
@ -58,6 +58,9 @@ Task<WebCallResult<IEnumerable<Trade>>> GetRecentTradesAsync(string symbol);
|
|||||||
// Get balances
|
// Get balances
|
||||||
Task<WebCallResult<IEnumerable<Balance>>> GetBalancesAsync(string? accountId = null);
|
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
|
// Get order by order id
|
||||||
Task<WebCallResult<Order>> GetOrderAsync(string orderId, string? symbol = null);
|
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
|
// Get current open positions
|
||||||
Task<WebCallResult<IEnumerable<Position>>> GetPositionsAsync();
|
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
|
// Get order by order id
|
||||||
Task<WebCallResult<Order>> GetOrderAsync(string orderId, string? symbol = null);
|
Task<WebCallResult<Order>> GetOrderAsync(string orderId, string? symbol = null);
|
||||||
|
|
||||||
|
@ -72,14 +72,14 @@ var spotClients = new [] {
|
|||||||
*V5*
|
*V5*
|
||||||
```csharp
|
```csharp
|
||||||
var spotClients = new [] {
|
var spotClients = new [] {
|
||||||
binanceClient.SpotApi.ComonSpotClient,
|
binanceClient.SpotApi.CommonSpotClient,
|
||||||
bittrexClient.SpotApi.ComonSpotClient,
|
bittrexClient.SpotApi.CommonSpotClient,
|
||||||
kucoinClient.SpotApi.ComonSpotClient
|
kucoinClient.SpotApi.CommonSpotClient
|
||||||
};
|
};
|
||||||
|
|
||||||
var futuresClients = new [] {
|
var futuresClients = new [] {
|
||||||
binanceClient.UsdFuturesApi.ComonFuturesClient,
|
binanceClient.UsdFuturesApi.CommonFuturesClient,
|
||||||
kucoinClient.FuturesApi.ComonFuturesClient
|
kucoinClient.FuturesApi.CommonFuturesClient
|
||||||
};
|
};
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user