+
@book.Key
+ @if (book.Value.AskCount >= 3 && book.Value.BidCount >= 3)
{
-
@book.Value.Bids.ElementAt(i).Price - @book.Value.Asks.ElementAt(i).Price
+ for (var i = 0; i < 3; i++)
+ {
+
@book.Value.Bids.ElementAt(i).Price - @book.Value.Asks.ElementAt(i).Price
+ }
}
- }
-