Click or drag to resize

Sportradar.SDK.FeedProviders.LiveOdds.Outrights Namespace

Contains elements specific for outright oriented LiveOdds feeds
Classes
  ClassDescription
Public classAliveWithOutrights
Represents an alive message containing both events and outright information
Public classAliveWithOutrightsEventArgs
Event arguments passed with OnAliveWithOutrights.
Public classMatchAndOutrightMetaData
Contains meta information for associated matches and outrights
Public classOutrightBetCancel
Indicates that an odds type for an outright has been cancelled for a reason. All bets accepted on the odds with that id should be cancelled and cashed out with an odd of 1,0 (stakes returned).
Public classOutrightBetCancelEventArgs
Event arguments passed with OnOutrightBetCancel.
Public classOutrightBetClear

Indicates that a situation occurred during the match so that a bet can be decided. Time which is set to (Timestamp - Time) seconds indicates the time at which the event happened. The message also includes the match element indicating the match id and the cleared score with an Odds element indicating the odds type, and this again with each EventOddsField and the status of the outcomes.

Some bettypes, like Asian handicap and Asian total, can also 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 is won or lost.

The id attribute in the Odds element corresponds to the odds elements in the previously sent out odds change messages. Evaluation of bet outcomes is responsibility of the client.

Public classOutrightBetClearEventArgs
Event arguments passed with OnOutrightBetClear.
Public classOutrightBetStart
Indicates that the bets for a particular outright can open again. The message contains s Timestamp and also a Time attribute which tells when the situation occurred in seconds before the Timestamp. If time is 0, bet start is from timestamp, if time > 0, bet start is from (Timestamp - Time).
Public classOutrightBetStartEventArgs
Event arguments passed with OnOutrightBetStart.
Public classOutrightBetStop
Indicates that a betstop situation occurred during a match (e.g. goal, red card or other important event occurred). When the bets can open again, a "betstart" message will be sent. Bet stop message contains Timestamp and also a Time attribute which tells when the situation occurred in seconds before the Timestamp. If time is 0 betstop is from timestamp, if time > 0, betstop is from (Timestamp - Time).
Public classOutrightBetStopEventArgs
Event arguments passed with OnOutrightBetStop.
Public classOutrightHeader
Contains basic information about an outright
Public classOutrightHeaderInfo
Combines a OutrightHeader and OutrightInfo instances
Public classOutrightInfo
Outright information containing the date and time, sport, category and tournament of the outright and what TV-channels this match is broadcasted on.
Public classOutrightOddsChange
When an odds change occurs, all the odds types for that match are sent in a message. Only active odds types contain odds fields, while inactive odds types do not. Each odds type also has an attribute named changed which indicates whether this odds type has been changed or not. An attribute score indicates the current score in the match.
Public classOutrightOddsChangeEventArgs
Event arguments passed with OnOutrightOddsChange.
Public classSingleOutrightEvent
Base class for events associated with (only) one outright
Public classSingleOutrightWithOddsEvent
Represents an event associated with a single outright which carries odds information
Interfaces
  InterfaceDescription
Public interfaceILiveOddsWithOutrights
Interface describing events and methods common for all LiveOdds feeds containing outrights