Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Version History

« Previous Version 5 Next »

To update props, there are 4 tab-delimited files which drive the system:

These files are located at https://bannisterlake.com/dl/FanDuel/. We have provided an ftp account for updating the files in the above directory.

leagues.txt

This is the list of leagues. It has the format:

<league name>\t<league code>\t<sport>\t<event id>\t<competition id>

For example:

NFL NFL football 6423 12282733

The event type id and competition ids come from the sportsbook feed. Note that because the feed sometimes has more than one event type id for a league, there might be more than one entry. But they will all be associated with the same league. Example:

NCAA Football CFB football 6423 12499358
NCAA Football More CFB football 6423 12529073

The leagues file drives the leagues tab of the FanDuel Sportsbook Reader:

leagueMarkets.txt

This file is used to define the moneyline/spread/total props. Some sports don’t have all three types and the names of these props can be different depending on the sport.

The format of this file is:

<league code>\t<prop>,<prop>,…<prop>

The prop names must be quoted. For example:

NBA "MATCH_HANDICAP_(2-WAY)","MONEY_LINE","TOTAL_POINTS_(OVER/UNDER)"

The props in this file only get updated if the league is enabled (checked) in the FanDuel Sportsbook Reader.

leagueMarketsOutright.txt

The bulk of all props are defined in this file. It includes props associated with games or with the league. There is no need to distinguish between the two because for each prop, it is associated with a game using the datafeed’s event id or not. If not, the prop is associated with the league.

The format of this file is:

<league code>\t<prop>,<prop>,…<prop>

The prop names must be quoted. For example:

CFB "OUTRIGHT_BETTING","REGULAR_SEASON_WIN_TOTALS"

The props in this file only get updated if the league is enabled (checked) in the FanDuel Sportsbook Reader.

leagueMarketsSpecial.txt

Some leagues have competitions which are not associated with games but are related to the league only. For example, MLB might have several competitions

leagueMarketsSpecial.txt is a way of defining these additional competitions for the league and provide a way of adding props to the league.

The format of the file is:

<league code>\t<event id>\t<competition id>\t<prop>,<prop>,…<prop>

The prop names must be quoted. For example:

MLB 7511 12551860 "CY_YOUNG","REGULAR_SEASON_MVP","ROOKIE_OF_THE_YEAR"

The props in this file only get updated if the league is enabled (checked) in the FanDuel Sportsbook Reader.

  • No labels