Skip to content

Commit deec859

Browse files
committed
Closes #119
1 parent 963c64b commit deec859

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/Binance/Market/SymbolStatistics.cs

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,9 @@ public SymbolStatistics(
175175
{
176176
Throw.IfNullOrWhiteSpace(symbol, nameof(symbol));
177177

178-
if (weightedAveragePrice < 0)
179-
throw new ArgumentException($"{nameof(SymbolStatistics)}: price must not be less than 0.", nameof(weightedAveragePrice));
178+
// HACK
179+
//if (weightedAveragePrice < 0)
180+
// throw new ArgumentException($"{nameof(SymbolStatistics)}: price must not be less than 0.", nameof(weightedAveragePrice));
180181
if (previousClosePrice < 0)
181182
throw new ArgumentException($"{nameof(SymbolStatistics)}: price must not be less than 0.", nameof(previousClosePrice));
182183
if (lastPrice < 0)
@@ -200,8 +201,9 @@ public SymbolStatistics(
200201
if (lowPrice > highPrice)
201202
throw new ArgumentException($"{nameof(SymbolStatistics)}: low price must be less than or equal to high price.", nameof(lowPrice));
202203

203-
if (volume < 0)
204-
throw new ArgumentException($"{nameof(SymbolStatistics)}: volume must be greater than or equal to 0.", nameof(volume));
204+
// HACK
205+
//if (volume < 0)
206+
// throw new ArgumentException($"{nameof(SymbolStatistics)}: volume must be greater than or equal to 0.", nameof(volume));
205207
if (quoteVolume < 0)
206208
throw new ArgumentException($"{nameof(SymbolStatistics)}: volume must be greater than or equal to 0.", nameof(quoteVolume));
207209

0 commit comments

Comments
 (0)