File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments