I find it very good.
The website front end is http://autotesting.livecd.org/ test the responsiveness for yourself :)
Quick and dirty speed test:-
http://pastebin.ca/1182585
Hope this helps,
Brendan
I find it very good.
The website front end is http://autotesting.livecd.org/ test the responsiveness for yourself :)
Quick and dirty speed test:-
http://pastebin.ca/1182585
Hope this helps,
Brendan
I use these http://cheapvps.co.uk/ for a non-betfair application. £5ish per month.
Get a random real page every 15mins ?
E.g. http://sports.betfair.com/Index.do?mi=21094686&ex=1&origin=MRL
Or simulate a button press of refresh.
If I were betfair I would be trying to do the same thing. The profit betfair must make from me - no way pays for the bandwidth I must chew up on their servers. If Betfair can do the same trick I do at the server end, it stop me eating up there bandwidth. I do not think there care about the odd profit from over-rounding. IMHO it all aimed at reducing bandwidth costs, just like the data charges.
Apologies to fred77, but if they eat a over-round/under-round market before it appears on the API or website, then all the bots hammering the bandwidth to try and grab this will go away. Betfair as a business reduce what must be there only significant cost - bandwidth, whilst maintaining the profit from the 5% commission.
I know I this may be a bit controversial but I think there are trying to get the balance right - keeping the liquidity that me and my bots provide but driving me away from burning up bandwidth. Anyway that the direction I will be taking my bots in. Designing low-bandwidth bots which betfair should leave alone.
My 2p worth,
Brendan
"The C#, Ruby and Python examples I'd made available on Google Code. I've undeleted them; they are here":http://code.google.com/p/betfairclient/
As fred mentioned - Stafanbelo's website is:-
http://bfexplorer.net/
Cool. Now I have learnt another term as well :)
http://en.wikipedia.org/wiki/Duck_typing
I am finding it very useful. It is my 2nd python project, I struggle with C, but python appears to fit very well in to my style.
BMS
Hi Nadat,
Did you write the python code originally at :-
http://code.google.com/p/betfairpythonclient/
I updated it, (only a little)
http://code.google.com/p/pythonbetfairlibrary/wiki/Introduction
Related topic:-
http://diybetfairbots.lefora.com/2008/05/20/api-access-python
I using it lots. Once again thanks for the code.
Brendan
Blackmagic. Each betId can have one or more transactionId. Therefore the £4 @ 6.5 would give you :-
betId: 12345678 transactionId:98765431 matched Odds 6.5 stake £2
betId: 12345678 transactionId:98765432 matched Odds 6.6 stake £2
If you call with out the details, the amount matched would change. It is worth getting the transactionID to see the detail.
Hope this helps,
Brendan
I have the same system as austinpodhorzer. Each betId has a nickname for the bot that placed it - in within the database table. The fun comes when a canceled bet comes back to life. So I decided to on run one bot per matchId.
eskei - What fun! I find the bot logic is easy. I have a large framework around the API which tries to capture the pitfalls. The bots are abstracted away from this framework. The pitfalls eat in to my profit the most. Thanks for the tip another possible bullet to dodge.
BMS
So how was Euro 2008 ?
Me - up and down.
Small profit but mainly ran in a few bots. There are more ways a bot can go wrong than I originally had planned. Not always consistent results via the API. I appear to have canceled bets that come back to life a few call later.
Fun fun fun.
Brendan
The old fred77.co.uk did not have much structure and was very quick to parse the latest posts with any reading lots of topics. The downside was the topics were hard to track..
In a nutshell - I'm not planning to change I believe the balance is right between structure and free-flow. However I am open to persuasion and requests.
On the other hand, I tried to add some more structure. For example:-
http://diybetfairbots.lefora.com/2008/05/10/code-examples/
Quote "Please post code example or links to code examples. To keep this topic as a clean list of examples, please do not discuss the examples in this thread - use the General Forum." And guess what? people still use the topic for discussion, so if a bit more structure is required posters have to try and respect the structure.
Regards,
Brendan aka bmsleight
I play poker online and offline. I have yet to try the betfair poker. I'd imagine it it full of poker bots already. I did have a long think about making a poker for a normal online poker-sites, but after the Americans really clamped down on visa payment to poker site the whole liquidity dropped out of the market.
I apologize in advance, but this it what I found. The American casual player, pre-clamp down, where of a far lower standard than European online players. Once the Americans when away the liquidity was down and standard went up. To such a extent that I can scrap a small profit, but time is better invested into my betfair bots. Then again - some day by bots.....
I have a friends (offline) poker match on Friday.
Anyway rambling reply over. What ideas ?
Yep scientific notation. 1.450023758 E7 -> shift the . by E number of places e.g.:-
1.450023758
14.50023758 1
145.0023758 2
1450.023758 3
14500.23758 4
145002.3758 5
1450023.758 6
14500237.58 7
14.500,237.58
BMS
A space for uploading code snippets.
Topic should reflect the snippet thyme. Then either attach a file or link to the code. For example:-
http://code.google.com/p/pythonbetfairlibrary/source/browse/trunk/exchange.py
Line 509+
Perhaps we could have another forum/topic for code snippets
My only advice would be to play around on a spreadsheet first. That way the logic can be understood first, then the coding second.
Hope this helps,
Brendan
I have only just started to learn Python. Got to love it is so well,
nice
.
Python if it helps:-
http://code.google.com/p/pythonbetfairlibrary/source/browse/trunk/exchange.py
Line 509+
Nope. I'm using the free-throttles API.
What offer ? not seen it.
Just in time for Euro 2008 - I finished my latest bot. The bot includes a master-frame work so I can slot other bot in the without having to worry about throttling and equal shares of the throttled requests.
Any one else running running bots on Euro 2008 ?
Amazon EC2 - "you may not operate a site or service that constitutes, promotes, facilitates, or permits gambling."
http://www.gandi.net/hosting/proposal/price/£5.00 per month sounds good.
http://www.gandi.net/whowe/
"Note: You can install anything on your server, as long as it is legal in France."
My home DSL has a better uptime than betfair. I use my 3G mobile as a back up. (I am surprised how good the betfair uptime is, considering the amount of traffic, the peaks in traffic and the potential for DoS attacks.)
I use a debian/ubuntu python/ZSL setup. I already have a number of machine running at home, (mythtv, webserver, software-automatic-testing-box). So I might as well make the best use of my terrible electricity bill. The aim is one day to migrate some of the mess I run at home to amazon EC2 (http://aws.amazon.com/ec2).
My 2p worth,
Brendan
Thanks for the feedback.
The API code was not mine. It was originally posted by a member of fred's forum. (I think it was nadat). I only tweaked one function.
I am a python newbie, I wanted to learn python, a betfair bot is a fun way to learn.
Quiet interesting feedback on the higher-level code. I think you are right the higher layer code, (throttling, db interaction, etc) does have an impact on the bot. I can just strip out the logic and expect the rest of the bot to be generic.
However, I have a strong open-source background. I can't help it.
