mirror of
https://github.com/JKorf/CryptoExchange.Net
synced 2026-04-12 16:13:12 +00:00
Compare commits
3 Commits
297eee0e1f
...
6d3e72745a
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6d3e72745a | ||
|
|
51c74baa26 | ||
|
|
419e01d009 |
@ -6,9 +6,9 @@
|
||||
<PackageId>CryptoExchange.Net</PackageId>
|
||||
<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>
|
||||
<PackageVersion>10.6.1</PackageVersion>
|
||||
<AssemblyVersion>10.6.1</AssemblyVersion>
|
||||
<FileVersion>10.6.1</FileVersion>
|
||||
<PackageVersion>10.6.2</PackageVersion>
|
||||
<AssemblyVersion>10.6.2</AssemblyVersion>
|
||||
<FileVersion>10.6.2</FileVersion>
|
||||
<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>
|
||||
<RepositoryType>git</RepositoryType>
|
||||
|
||||
@ -170,6 +170,6 @@ namespace CryptoExchange.Net.Objects.Sockets
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
public override string ToString() => base.ToString().TrimEnd('-') + Data?.ToString();
|
||||
public override string ToString() => base.ToString().TrimEnd(' ', '-') + " - " + Data?.ToString();
|
||||
}
|
||||
}
|
||||
|
||||
@ -1137,7 +1137,7 @@ namespace CryptoExchange.Net.Sockets.Default
|
||||
return CallResult.SuccessResult;
|
||||
}
|
||||
|
||||
subQuery.OnComplete = () =>
|
||||
var subCompleteHandler = () =>
|
||||
{
|
||||
subscription.Status = subQuery.Result!.Success ? SubscriptionStatus.Subscribed : SubscriptionStatus.Pending;
|
||||
subscription.HandleSubQueryResponse(this, subQuery.Response);
|
||||
@ -1150,6 +1150,7 @@ namespace CryptoExchange.Net.Sockets.Default
|
||||
}, false);
|
||||
}
|
||||
};
|
||||
subQuery.OnComplete = subCompleteHandler;
|
||||
|
||||
var subQueryResult = await SendAndWaitQueryAsync(subQuery).ConfigureAwait(false);
|
||||
if (!subQueryResult)
|
||||
@ -1161,6 +1162,9 @@ namespace CryptoExchange.Net.Sockets.Default
|
||||
return new CallResult<UpdateSubscription>(subQueryResult.Error!);
|
||||
}
|
||||
|
||||
if (!subQuery.ExpectsResponse)
|
||||
subCompleteHandler();
|
||||
|
||||
return subQueryResult;
|
||||
}
|
||||
|
||||
|
||||
@ -71,9 +71,6 @@ namespace CryptoExchange.Net.Trackers.UserData
|
||||
UserDataTrackerConfig config,
|
||||
string? userIdentifier)
|
||||
{
|
||||
if (config.OnlyTrackProvidedSymbols && !config.TrackedSymbols.Any())
|
||||
throw new ArgumentException(nameof(config.TrackedSymbols), "Conflicting options; `OnlyTrackProvidedSymbols` but no symbols specific in `TrackedSymbols`");
|
||||
|
||||
_logger = logger;
|
||||
|
||||
SymbolTracker = new UserDataSymbolTracker(logger, config);
|
||||
|
||||
@ -67,6 +67,9 @@ 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).
|
||||
|
||||
## 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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user