主权项 |
1. A computer system comprising:
a server computer, comprising a processor and memory connected to the processor to allow access by the processor to data stored in the memory, and persistent storage connected to the processor to allow access by the processor to data stored in the persistent storage, and a network interface connected to the processor and the memory to allow access by the computer to a computer network and communicate messages over the computer network; computer program instructions stored in at least one of the memory and persistent storage of the computer that, when processed by the processor, instruct the processor to: while each event is active, receive messages over the computer network from user devices, received messages each including data indicative of an event, data indicative of a wager for the event, and data indicative of a participant, wherein the data indicative of the wager includes data indicative of at least an amount and a probability distribution for outcomes for the event; process each message to:
determine if the message includes a valid wager;store the data indicative of the wager, the participant and the event in the persistent storage if the message includes a valid wager; continuously monitor a termination condition for each event to determine whether the event has terminated; upon termination of an event, process the data indicative of valid wagers for the event stored in the persistent storage according to a payoff function for the event and an actual outcome of the event, so as to compute a payoff for each participant having placed a valid wager for the event, wherein to compute the payoff function the processor is instructed to: compute a first score for the participant based on the probability estimate from the wager by the participant and the outcome, compute a second score based on an aggregate of wagers of all other participants, wherein, for each participant, the first score for the participant is no more than the second score for at least one outcome, and compute the payoff of the participant as a function of the first score and the second score. |