OZmium Sports Betting and Horse Racing Forums

OZmium Sports Betting and Horse Racing Forums (http://forums.ozmium.com.au/index.php)
-   General Topics (http://forums.ozmium.com.au/forumdisplay.php?f=59)
-   -   Building a Betfair Bot (http://forums.ozmium.com.au/showthread.php?t=29522)

Michal 31st December 2014 08:46 PM

Hi

Having written 3 bots myself (using the old platform), one based on Gruss excel and 2 on VB.net I think I have some experiance to impart here. I know it will be a long while before I tackle a revamp using the new one platform recently introduced. Purely due to the work involved.

Each of my builds took me somewhere between 3-4 months of full time work and each time it involved more complex programing and language as I was learning. Looking back at it now I could do it better but then I was learning and a great amount of my time was spent on research rather then coding.

Anyone can do it, and those that have the aptitude to overcome the struggle to learn the skills necessary will eventually create a working bot.

Having said that please be under no illusion that you'll throw together some code samples in excel and have an actually functional betting machine. There is a huge .... gigantic void between being able to fire of a bet using some skeleton program and actually having a useful bot. The latter needs to deal with errors , price changes, partially matched bets, lays, multiple horse betting or laying, green outs tracking of your bets and much much more and that is before you even try to marry up your selections with the betfair track and horse name protocols. Race time changes. What about a actually testing it .... how much money do you invest in firing of testing bets ? Deal with loops that bet the same horse many times, or the wrong amount or not at all due to a logic error on your part. What will happen when you start pumping hundreds through it will it stand up and will you trust it? The list of things that you'll encounter along the way is endless.

Finally you build a bot that has worked painlessly for 5 years and then they change the codes ....... yea that is my story and its not plesent having to face that again.

So my recommendation is to pay the fees for someone to take care of the "how to" and you concentrate on the "what" to bet. You can use Gruss and use excel knowledge to program triggers for the bets. Its how I started and its far easier heaving to deal with just your betting logic and Gruss dealing with betfair. Starting with that Your betting will eventually tell you if its time to move on to a more complex personal platform or if what you have is more then sufficient.

Having said that if you are determined to do it, all the best to you! It is a highly rewarding experience.

With my last post for 2014 I wish you all HAPPY NEW YEAR 2015 !

UselessBettor 31st December 2014 11:45 PM

Quote:
Originally Posted by The Ocho
LOL, I'm stuck at the first instruction: Clone the repository at... What does that even mean?

And then it says: Open the Excel workbook. Obtain an app key and session token (from where?) and enter them into sheet Example cells B3 and B4 respectively.

Oh well, I thought it was worth asking.


That's just using github. Just go there and download the file. If you had a git account then you could just clone it.

You just want to click on SampleCode.xlsm and then Raw File and then save it to your PC. Thats the first step done. A whole 2 mins.


Next go to

https://api.developer.betfair.com/s...pplication+Keys

Go down to the section "how to create an application key". Follow the instructions (and links). There is a link there that tells you how to get your session key but just in case here it is :

https://api.developer.betfair.com/s...NG+-+Visualiser

To me this is fairly easy stuff and I forget others aren't use to following these types of instructions. I could knock up a fairly simple bot in about 20 mins.

The new API-NG is much better than the old API and its really useful if you learn it. It will take time to learn but its worth playing with.

Puntz 1st January 2015 03:35 AM

LG asked:
Quote:
Puntz just a quicky .. are you still off the death sticks mate?

Cheers LG


Yes

Lord Greystoke 1st January 2015 06:34 AM

Quote:
Originally Posted by Puntz
LG asked:

Yes


CHAMPION. Really good to hear that.. have a good one mate

Cheers LG

The Ocho 1st January 2015 08:12 AM

Thanks everyone for your help. Unfortunately what comes easy to you UB is just plain gobilty gook to me. It sounds like a lot of hassle as explained by Michal and I wouldn't know what to do with excel to use Gruss (even though that is a cheaper monthly option than the one I would use).

Happy New Year everyone!

Puntz 1st January 2015 10:01 AM

Thanks LG.
( there was a sense of "power" at our NY feast of not having to get up to walk outside of the man-cave for a smoke.)

All the Best for 2015

Shaun 1st January 2015 02:10 PM

Well you all know i have been using Gruss and excel for many years and have uploaded full working bots on here, all the code is there to use just have to make the changes to suit what you need.

In the past i have spent a lot of time helping others but find it time consuming these days to get to involved but am always willing to answer questions or point you in the right direction on what to use and how to use it.

There is not many things i have not written in excel that is used in punting, i started with adapting sheets that already worked and added what i needed to get them to do what i wanted.

beton 1st January 2015 04:46 PM

Quote:
Originally Posted by Shaun
Well you all know i have been using Gruss and excel for many years and have uploaded full working bots on here, all the code is there to use just have to make the changes to suit what you need.

In the past i have spent a lot of time helping others but find it time consuming these days to get to involved but am always willing to answer questions or point you in the right direction on what to use and how to use it.

There is not many things i have not written in excel that is used in punting, i started with adapting sheets that already worked and added what i needed to get them to do what i wanted.


Hello
Shaun.
How do we access the current uploaded bots? Mooee once said to activate our own signature but that does not seem to work.

Shaun 2nd January 2015 02:35 AM

Mine are spread through out the forum, you could search my name and see what you find.


All times are GMT +10. The time now is 01:16 PM.

Powered by: vBulletin Version 3.0.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.