Skip to content

Instantly share code, notes, and snippets.

@maracuja
Created May 6, 2020 07:24
Show Gist options
  • Save maracuja/d40e569fa6c77dd3dfeea4e32f68cab8 to your computer and use it in GitHub Desktop.
Save maracuja/d40e569fa6c77dd3dfeea4e32f68cab8 to your computer and use it in GitHub Desktop.
Odds Provider

Odds Provider Message Details

For a typical match we will receive messages in the following order; a new_fixture message, then a series of price updates. when the match starts and ends we will receive messages telling us so.

new_fixture
{
    timestamp: 2020-05-01 12:00:00.001,
    game: [lol|csgo],
    match_id: 1,
    home_team: Fnatic,
    away_team: SK T1,
}

price_update
{
    timestamp: 2020-05-01 12:00:00.020,   
    match_id: 1,
    home_team_odds: 1.21,
    away_team_odds: 5.20,
}

match_status
{
    timestamp: 2020-05-01 13:30:00.312,   
    match_id: 1,
    status: [start|end]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment