Betting Exchange API

Closed Posted Feb 3, 2009 Paid on delivery
Closed Paid on delivery

# What I need in brief

?

I need a programme that does the following and in this sequence

·? ? ? ? ? ? reads the API of Matchbook betting exchange

·? ? ? ? ? ? saves selected data (odds) in a flat table

·? ? ? ? ? ? modify those odds by subtracting a percentage

·? ? ? ? ? ? post the new modified odds to the Matchbook betting exchange

·? ? ? ? ? ? collect information on matched bets

?

?

The programming language used has to be VB.NET client 2008.

The database used has to be MS SQL Server 2008.

?

The source code and the relevant files are needed.

## Deliverables

# What I need in brief

?

I need a programme that does the following and in this sequence

·? ? ? ? ? ? reads the API of Matchbook betting exchange

·? ? ? ? ? ? saves selected data (odds) in a flat table

·? ? ? ? ? ? modify those odds by subtracting a percentage

·? ? ? ? ? ? post the new modified odds to the Matchbook betting exchange

·? ? ? ? ? ? collect information on matched bets

?

?

The programming language used has to be VB.NET client 2008.

The database used has to be MS SQL Server 2008.

?

The source code and the relevant files are needed.

?

?

?

# What I need in detail

?

# Step 1

**Reads the API of Matchbook betting exchange**

?

1. Display a login screen that gains access to Matchbook.

This is necessary because to have access to Matchbook’s API you need a user name and password.

?

?

1. Display all the available fixtures on offer through the API.

‘Fixtures’ are the games that are available for betting, example Liverpool v Real Madrid.

‘Markets’ are the different betting options you can chose. Example you can bet on who will win, or who will score first or what will be the final score in that particular fixture.

?

By using a menu, the user will be able to find a particular fixture in the API and see what markets are on offer.

He then chooses and marks which markets he is interested in and presses the button ‘Retrieve’.

?

It should be possible to select individual markets of a fixture or a general option to choose all markets available for that fixture.?

?

Both the ‘Back’ odds and the ‘Lay’ odds are required.

Please see Matchbook for a definition of back and lay odds.

?

?

1. Using a menu and a ‘Retrieve’ button, the API feed for selected fixtures and their selected markets will be delivered and saved in a flat table.

?

The system must also be able to cater for a game that becomes suspended. In this case it must save an indicator in the table.

?

?

**Step 2**

# Saves selected data (odds) in a flat table

?

The odds of the selected fixtures and markets retrieved are then saved to a flat table.

See end of document for table schema and details.

?

## Note

In case there are no odds available on a selected market, the system should save this as value ‘ZERO’ in the table.

?

# Step 3

# Modify those odds by subtracting a percentage

?

A 10% subtraction is done on the odds retrieved from Matchbook.

?

?

**Step 4**

# Post the new modified odds to the Matchbook betting exchange

?

Bets are now posted (in the respective fixture and market) to the Matchbook betting exchange using the new modified odds obtained after Step3.

The user will have to option to chose the stake (total amount of money bet).

The bets will be placed with an expiry date, that can be adjusted by the user. (default is seven minutes after placing bet)

?

## Note

In case there are no odds available on a selected market, the system should save this as value ‘ZERO’ in the table AND should then post back on Matchbook odds of 1.01.

?

?

# Step5

**Collect information on matched bets**

?

The system should automatically check (every number of seconds) if the bets placed have been matched or not.? A function to adjust this time is required.

In the case of matched bets it should also detail how much of the bet was matched.

?

?

?

# Table Schema

?

tb_bet_info_btf

?

btf_pk? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? serial? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? primary key

btf_fixture_id? ? ? ? ? ? ? ? ? ? ? ? ? ? ? integer? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? fixture ID

btf_market_id? ? ? ? ? ? ? ? ? ? ? ? ? ? ? integer? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? market ID

btf_odd_back? ? ? ? ? ? ? ? ? ? ? ? ? ? ? decimal

btf_odd_lay? ? ? ? ? ? ? ? ? ? ? ? ? ? ? decimal

btf_active_ind? ? ? ? ? ? ? ? ? ? ? ? ? ? ? integer? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? (1 active, 0 not active)

btf_timestamp? ? ? ? ? ? ? ? ? ? ? ? ? ? ? Datetime current year to second

?

?

?

.NET Engineering Microsoft MySQL PHP Project Management Software Architecture Software Testing SQL Visual Basic Windows Desktop

Project ID: #3603648

About the project

5 proposals Remote project Active Mar 9, 2009

5 freelancers are bidding on average $211 for this job

smartprovw

See private message.

$552.5 USD in 14 days
(307 Reviews)
7.7
daccitpvtltd

See private message.

$255 USD in 14 days
(29 Reviews)
5.5
transonweb

See private message.

$79.9 USD in 14 days
(3 Reviews)
1.5
SoftAX

See private message.

$85 USD in 14 days
(7 Reviews)
1.7
heavenon

See private message.

$85 USD in 14 days
(1 Review)
0.0