diff --git a/sdks/typescript/pmxt/client.ts b/sdks/typescript/pmxt/client.ts index 04ddc27f..01e5e043 100644 --- a/sdks/typescript/pmxt/client.ts +++ b/sdks/typescript/pmxt/client.ts @@ -3086,8 +3086,9 @@ export abstract class Exchange { } // ResolutionDate filter - if (criteria.resolutionDate && market.resolutionDate) { + if (criteria.resolutionDate) { const resDate = market.resolutionDate; + if (!resDate) return false; if (criteria.resolutionDate.before && resDate >= criteria.resolutionDate.before) { return false; }