Open 486dx33 opened 8 years ago
com.sumzerotrading.marketdata.QuoteEngine stores listeners in Lists. When subscribing to Level1 and Level2 quotes and reusing the same listener, it could be added more than once to the List, and would receive the same quote multiple times.
Using a Set would solve this problem.
com.sumzerotrading.marketdata.QuoteEngine stores listeners in Lists. When subscribing to Level1 and Level2 quotes and reusing the same listener, it could be added more than once to the List, and would receive the same quote multiple times.
Using a Set would solve this problem.