betfair

Reading xml stream

Sorry to be asking such similar question again, I am trying to read the following XML document: <markets currency="GBP"> <market id="2908368" nextId="2908395"> <status>ACTIVE</status> <commissionRate>2.5</commissionRate> <marketType>ANY_NUMBER_OF_WINNERS</marketType> <selections type="MainBets"> <selection id="65...

How to make a POST request in vb.net

i. I am using visual studio 8 using vb.net. I am trying to make a post request that complies with the following schema, but am failing miserably. <?xml version="1.0" encoding="UTF-8"?> <postBetOrder xmlns="urn:betfair:games:api:v1" marketId="2568540" round="1" currency="GBP"> <betPlace> <bidType>BACK</bidType> <price>2.5</price> <size>...

GZIP-Encoded HTTP Response in adobe air and flash builder 4 data centric web service

Hello, I am using data centric service in flash builder 4 (beta 2) to call betfair web service. I need to set the encoding to gzip when requesting the web service. I have found a nice tutorial at http://blog.dannypatterson.com/?p=133 to use GZIP encoded http response using WebService class in Flex. But I need it in new data centric fo...

back/lays values just like on betfair site

Hi, while working on betfair api getMarketPricesCompressed and getMarketPrices return the real price and real amount of money for each odd in the market but not the virtual values showed by betfair. Have someone written such algorithm in php to calculate virtual values shown on betfair wesite. Betfair did not provided the code or algor...

cron after every 15 sec

I cannot set cron time to less than 1 minute even on my dedicated server. I need it to run every 15 seconds because it calls betfair api and calculations are highly time dependent. Please advise. ...

time difference between my and betfair server

There is about 38-40 seconds difference between my and betfair server time. I don't want to use some dec/inc in my time to manage.i want to be sync with betfair server time. Please Help. ...

Modelling Data with Google App Engine Datastore

I am currently building a web application on Google App Engine in Python to harvest horse racing data of the form. The basic data structure is Course has many Meetings has many Races has many Horses has one Jockey and had one Trainer. So far I have got the following models (reduced number of fields for sake of brevity). class Course(db....