Created
July 17, 2019 23:17
-
-
Save Onaiplee/ee447f69647a4f456364a5c565396fa9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void AddOrUpdateQuote(IQuote quote) | |
{ | |
if(quote?.Id != null && quoteMap.containsKey(quote.Id) && !quote.equals(quoteMap[quote.Id])) | |
{ | |
existingquote = quoteMap[quote.Id]; | |
existingquote.Price = quote.Price; | |
existingquote.AvailableVolume = quote.AvailableVolume; | |
... | |
this.BookLookupTable[quote.Symbol].sort() | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment