mirror of
https://github.com/JKorf/CryptoExchange.Net.git
synced 2026-08-14 18:02:58 +00:00
Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 51c74baa26 | |||
| 419e01d009 | |||
| 297eee0e1f | |||
| 6a9231b1e3 |
@@ -6,9 +6,9 @@
|
|||||||
<PackageId>CryptoExchange.Net</PackageId>
|
<PackageId>CryptoExchange.Net</PackageId>
|
||||||
<Authors>JKorf</Authors>
|
<Authors>JKorf</Authors>
|
||||||
<Description>CryptoExchange.Net is a base library which is used to implement different cryptocurrency (exchange) API's. It provides a standardized way of implementing different API's, which results in a very similar experience for users of the API implementations.</Description>
|
<Description>CryptoExchange.Net is a base library which is used to implement different cryptocurrency (exchange) API's. It provides a standardized way of implementing different API's, which results in a very similar experience for users of the API implementations.</Description>
|
||||||
<PackageVersion>10.6.0</PackageVersion>
|
<PackageVersion>10.6.2</PackageVersion>
|
||||||
<AssemblyVersion>10.6.0</AssemblyVersion>
|
<AssemblyVersion>10.6.2</AssemblyVersion>
|
||||||
<FileVersion>10.6.0</FileVersion>
|
<FileVersion>10.6.2</FileVersion>
|
||||||
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
|
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
|
||||||
<PackageTags>OKX;OKX.Net;Mexc;Mexc.Net;Kucoin;Kucoin.Net;Kraken;Kraken.Net;Huobi;Huobi.Net;CoinEx;CoinEx.Net;Bybit;Bybit.Net;Bitget;Bitget.Net;Bitfinex;Bitfinex.Net;Binance;Binance.Net;CryptoCurrency;CryptoCurrency Exchange;CryptoExchange.Net</PackageTags>
|
<PackageTags>OKX;OKX.Net;Mexc;Mexc.Net;Kucoin;Kucoin.Net;Kraken;Kraken.Net;Huobi;Huobi.Net;CoinEx;CoinEx.Net;Bybit;Bybit.Net;Bitget;Bitget.Net;Bitfinex;Bitfinex.Net;Binance;Binance.Net;CryptoCurrency;CryptoCurrency Exchange;CryptoExchange.Net</PackageTags>
|
||||||
<RepositoryType>git</RepositoryType>
|
<RepositoryType>git</RepositoryType>
|
||||||
|
|||||||
@@ -170,6 +170,6 @@ namespace CryptoExchange.Net.Objects.Sockets
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public override string ToString() => base.ToString().TrimEnd('-') + Data?.ToString();
|
public override string ToString() => base.ToString().TrimEnd(' ', '-') + " - " + Data?.ToString();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -332,7 +332,6 @@ namespace CryptoExchange.Net.OrderBook
|
|||||||
public async Task StopAsync()
|
public async Task StopAsync()
|
||||||
{
|
{
|
||||||
_logger.OrderBookStopping(Api, Symbol);
|
_logger.OrderBookStopping(Api, Symbol);
|
||||||
Status = OrderBookStatus.Disconnected;
|
|
||||||
_cts?.Cancel();
|
_cts?.Cancel();
|
||||||
_queueEvent.Set();
|
_queueEvent.Set();
|
||||||
if (_processTask != null)
|
if (_processTask != null)
|
||||||
@@ -345,6 +344,7 @@ namespace CryptoExchange.Net.OrderBook
|
|||||||
_subscription.ConnectionRestored -= HandleConnectionRestored;
|
_subscription.ConnectionRestored -= HandleConnectionRestored;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Status = OrderBookStatus.Disconnected;
|
||||||
_logger.OrderBookStopped(Api, Symbol);
|
_logger.OrderBookStopped(Api, Symbol);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1137,7 +1137,7 @@ namespace CryptoExchange.Net.Sockets.Default
|
|||||||
return CallResult.SuccessResult;
|
return CallResult.SuccessResult;
|
||||||
}
|
}
|
||||||
|
|
||||||
subQuery.OnComplete = () =>
|
var subCompleteHandler = () =>
|
||||||
{
|
{
|
||||||
subscription.Status = subQuery.Result!.Success ? SubscriptionStatus.Subscribed : SubscriptionStatus.Pending;
|
subscription.Status = subQuery.Result!.Success ? SubscriptionStatus.Subscribed : SubscriptionStatus.Pending;
|
||||||
subscription.HandleSubQueryResponse(this, subQuery.Response);
|
subscription.HandleSubQueryResponse(this, subQuery.Response);
|
||||||
@@ -1150,6 +1150,7 @@ namespace CryptoExchange.Net.Sockets.Default
|
|||||||
}, false);
|
}, false);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
subQuery.OnComplete = subCompleteHandler;
|
||||||
|
|
||||||
var subQueryResult = await SendAndWaitQueryAsync(subQuery).ConfigureAwait(false);
|
var subQueryResult = await SendAndWaitQueryAsync(subQuery).ConfigureAwait(false);
|
||||||
if (!subQueryResult)
|
if (!subQueryResult)
|
||||||
@@ -1161,6 +1162,9 @@ namespace CryptoExchange.Net.Sockets.Default
|
|||||||
return new CallResult<UpdateSubscription>(subQueryResult.Error!);
|
return new CallResult<UpdateSubscription>(subQueryResult.Error!);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!subQuery.ExpectsResponse)
|
||||||
|
subCompleteHandler();
|
||||||
|
|
||||||
return subQueryResult;
|
return subQueryResult;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -67,6 +67,12 @@ Make a one time donation in a crypto currency of your choice. If you prefer to d
|
|||||||
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 10.6.2 - 17 Feb 2026
|
||||||
|
* Fix for websocket queries which don't expects response getting stuck in subscribing state
|
||||||
|
|
||||||
|
* Version 10.6.1 - 16 Feb 2026
|
||||||
|
* Fixed exception when stopping SymbolOrderBook instance when update is received while closing
|
||||||
|
|
||||||
* Version 10.6.0 - 16 Feb 2026
|
* Version 10.6.0 - 16 Feb 2026
|
||||||
* Updated symbol tracking logic on UserDataTracker, now is per UserDataTracker instead of per topic
|
* Updated symbol tracking logic on UserDataTracker, now is per UserDataTracker instead of per topic
|
||||||
* Added check for startTime filter for polling being to close to current time which can cause issues if time isn't in sync with server
|
* Added check for startTime filter for polling being to close to current time which can cause issues if time isn't in sync with server
|
||||||
|
|||||||
Reference in New Issue
Block a user