Why must prediction markets have a predefined end date?

Without it, capital would be trapped indefinitely.

Well, so? Then the prediction market would also price expected resolution time.

This is not necessarily true, you could have contracts rather than money down

[flagged]

How would it work otherwise...?

Anybody can exit their contract by selling their contract to an interested party