2 2rosy Dec 25, 2012 #21 Quote from nonlinear5: Code: private final LinkedList<MarketDepthItem> bids, asks; More... why a list instead of a tree?
Quote from nonlinear5: Code: private final LinkedList<MarketDepthItem> bids, asks; More... why a list instead of a tree?
N nonlinear5 Dec 25, 2012 #22 Quote from 2rosy: why a list instead of a tree? More... Do you mean a sorted Map, like TreeMap in Java? My implementation is suited for Interactive Brokers API, so sorted map would not work because the API wants to update a specific level in the DOM.
Quote from 2rosy: why a list instead of a tree? More... Do you mean a sorted Map, like TreeMap in Java? My implementation is suited for Interactive Brokers API, so sorted map would not work because the API wants to update a specific level in the DOM.