mirror of
https://github.com/JKorf/CryptoExchange.Net
synced 2026-04-07 02:01:12 +00:00
Removed check for OnlyTrackProvidedSymbols and empty initial tracking list
This commit is contained in:
parent
51c74baa26
commit
6d3e72745a
@ -71,9 +71,6 @@ namespace CryptoExchange.Net.Trackers.UserData
|
|||||||
UserDataTrackerConfig config,
|
UserDataTrackerConfig config,
|
||||||
string? userIdentifier)
|
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;
|
_logger = logger;
|
||||||
|
|
||||||
SymbolTracker = new UserDataSymbolTracker(logger, config);
|
SymbolTracker = new UserDataSymbolTracker(logger, config);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user