Need a script that compares 2 bookmakers quotes (2 tables)

Discussion in 'Programming' started by blumatica, Jul 10, 2008.

  1. #1
    I need a script that compares quotes for the same market events (e.g. a tennis match) on two different bookmakers (unibet and betfair).

    The script must extract all the data from the table in this page: https://www.unibet.com/betting/bet_offers_in|8_hours.odds
    each row contains a market name and 2 or 3 values. e.g.:
    Montanes,A-Gasquet,R; 3.00; 1.37

    each market name(with the relative 2 or 3 values) must be found in another table created using the free betfair API (http://bdp.betfair.com/index.php?option=com_content&task=view&id=33&Itemid=44). e.g.:
    Montanes v Gasquet; 3.3; 1.44

    the result must be reported in excel or in a text file like this:
    Montanes,A-Gasquet,R; 3.00; 1.37; Montanes v Gasquet; 3.3; 1.44

    note: the matching need to be done based on market name that is slightly different in the two tables. so you need to use a kind of "string distance" function and not a simple compare.

    I need to know price and time required in advance.
     
    blumatica, Jul 10, 2008 IP