Skip to content

Kalshi MarketOutcome label inconsistent. Kalshi UnifiedEvent description inconsistent. #69

@Maxmokat

Description

@Maxmokat
import pmxt
kalshi = pmxt.Kalshi()
kalshi_event_1 = kalshi.fetch_event(slug="kxcabout-26mar")
kalshi_event_2 = kalshi.fetch_event(slug="kxgovca-26")
print(kalshi_event_1)
print(kalshi_event_2)

Two issues for Kalshi, the first is the UnifiedEvent description. For kalshi_event_1 the description is description='If {x}0, 2026, then the market resolves to Yes.' Rather than the correct "If {x} is the first member of the Cabinet of Donald Trump to leave or announce they will leave (such as by quitting, being fired, or being impeached) after Mar 10, 2026, then the market resolves to Yes." I assume this is because the underlying code is looking for a common suffix to the description. However a new option was added to the event with slightly different suffix: "If Markwayne Mullin is the first member of the Cabinet of Donald Trump to leave or announce they will leave (such as by quitting, being fired, or being impeached) after Mar 30, 2026, then the market resolves to Yes."

Second is the label in MarketOutcome. In kalshi_event_1 the label is working as intended, however in kalshi_event_2 the label is label=':: Democratic' or label='Not :: Democratic'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions