Click or drag to resize

ILiveOddsCommonBaseOnBetClear Event

Signals that situation occurred during the match so that a bet can be decided. Timestamp - time indicates the time at which the bet clear event happened. The event also contains the cleared score with an Odds element indicating the odds type, and this again with each EventOddsField, and the status of the outcomes (true/false).

Id in the Odds element corresponds to the Odds elements in one of the previous OnOddsChange events. Evaluation of the bet outcomes is the responsibility of the client system.


Namespace: Sportradar.SDK.FeedProviders.LiveOdds.Common
Assembly: LiveOddsFeedProvider (in LiveOddsFeedProvider.dll) Version: 2.28.0.0
Syntax
C#
event EventHandler<BetClearEventArgs> OnBetClear

Value

EventHandlerBetClearEventArgs
Remarks

Some bettypes, like asian handicap and asian total, can include void factor for each EventOddsField element. Void factor can either be 1 or 0.5 indicating that the whole or half the bet is voided and should be refunded to the customer. When the void factor is set to 0.5 the outcome attribute will indicate if the other half has won or lost.

These are all possible combinations of outcome and void factors:

  1. outcome="0" and no voidfactor: Lose entire bet
  2. outcome="1" and no voidfactor: Win entire bet
  3. outcome="0" and voidfactor="1": Refund entire bet
  4. outcome="1" and voidfactor="0.5": Refund half bet and win other half
  5. outcome="0" and voidfactor="0.5": Refund half bet and lose other half

See Also