You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Kraken: speedup symbol lookup in trade stream (#473)
* Kraken: speedup symbol lookup in trade stream
- Kraken uses special symbols (ADA/CAD rather than ADACAD)
- a recent bugfix fa2534e now sets the WS name as an alternate name
- this ExchangeMarket is looked up for each symbol name to pull out the alternate name
- while it attempts to use caching, it is not actually able to use the cache, bc once it hits the await MakeJsonRequestAsync() in OnGetMarketSymbolsMetadataAsync(), the next select statement progresses so OnGetMarketSymbolsMetadataAsync() is called for every symbol
- by priming the cache first, this allows the cache to populate first before the select statement, thus hitting OnGetMarketSymbolsMetadataAsync() once
* change to PopulateLookupTables() for priming
0 commit comments