Gap type
Core → SDK (missing exposure)
Summary
KalshiFetcher has a public resetCache() method that clears its internal series/event cache. Neither KalshiExchange nor either SDK exposes this, so callers cannot force a cache refresh without re-instantiating the exchange.
Core
core/src/exchanges/kalshi/fetcher.ts:188
resetCache(): void {
this.cachedEvents = null;
this.cachedSeriesMap = null;
this.lastCacheTime = 0;
}
KalshiExchange (core/src/exchanges/kalshi/index.ts) does not delegate this method.
TypeScript SDK
sdks/typescript/pmxt/client.ts — Kalshi class has no resetCache() method.
Python SDK
sdks/python/pmxt/_exchanges.py — Kalshi class has no reset_cache() method.
Impact
The Kalshi fetcher caches events and series to reduce API calls. If stale cache causes incorrect market data, the only workaround is to recreate the exchange instance. Exposing resetCache() through the exchange class and sidecar route would let callers recover without reconnection overhead.
Gap type
Core → SDK (missing exposure)
Summary
KalshiFetcherhas a publicresetCache()method that clears its internal series/event cache. NeitherKalshiExchangenor either SDK exposes this, so callers cannot force a cache refresh without re-instantiating the exchange.Core
core/src/exchanges/kalshi/fetcher.ts:188KalshiExchange(core/src/exchanges/kalshi/index.ts) does not delegate this method.TypeScript SDK
sdks/typescript/pmxt/client.ts—Kalshiclass has noresetCache()method.Python SDK
sdks/python/pmxt/_exchanges.py—Kalshiclass has noreset_cache()method.Impact
The Kalshi fetcher caches events and series to reduce API calls. If stale cache causes incorrect market data, the only workaround is to recreate the exchange instance. Exposing
resetCache()through the exchange class and sidecar route would let callers recover without reconnection overhead.