
I'm using the Kalshi API from Python and ran into something I don't fully understand.
When I call `get_historical_trades` with the following ticker:
KXMLBKS-26MAY011910HOUBOS-HOUMBURROWS50-6
the API returns an empty list.
However, when I query the same ticker using `get_market`, I can see that `volume_24h_fp` and `volume_fp` are both greater than 0, which suggests that trades have occurred.
So I'm confused why `get_historical_trades` returns no results.
My understanding is that `get_historical_trades` should return past trades for the specified ticker. Is this assumption incorrect? Are there any conditions (e.g., trade visibility, filtering, pagination, or API limitations) where trades exist but are not returned?
refs:
- https://docs.kalshi.com/api-reference/market/get-market
- https://docs.kalshi.com/api-reference/historical/get-historical-trades
If anyone has experience with this API or has run into similar behavior, I’d really appreciate your insight.