I created the following application as a proof of concept. It is by no means production ready but I thought I would make it available as it might be of use to somebody building a bot and looking for a foot up or just some crazy ideas for their interface.
The first person or team to complete this project is welcome to Free full API access for up to 5 accounts, just mail bdp@betfair.com. By complete I mean tested, bet placement functionality added and data request charge counters added. Remember the original copyright holder will continue to be Betfair and this work is released under the GNU General Public License.
If you make improvements to this library please post them here so we can include these into the project.
Also be careful this thing stores the user name & password in the config file (yes I know I should have removed this) and secondly if you configure it wrong you will get hit by the data request charge.
To run the compiled program do the following
1. Extract to your local machine
2. run ..\Lignite 1.0\Lignite.Console\bin\Debug\Lignite.Console.exe
3. Go to Edit -> Main Config File -> Betfair and set your username and password. Close config
4. Click Start
5. Click Stop
6. Go to Edit -> Main Config File -> Betfair and un-set your username and password. Close config
The idea behind this is rather simple separate everything, data view, data collection and make the strategy part a plug-in.
Happy coding
*** The Legal Stuff ***
The library is provided "as is" without warranty of any kind, either expressed or implied, including, without limitation, warranties that the library is free of defects, merchantable, fit for a particular purpose or non-infringing. the entire risk as to the quality and performance of the library is with you. Should any prove defective in any respect, you (not the initial developer or any other contributor) assume the cost of any necessary servicing, repair or correction.
The first person or team to complete this project is welcome to Free full API access for up to 5 accounts, just mail bdp@betfair.com. By complete I mean tested, bet placement functionality added and data request charge counters added. Remember the original copyright holder will continue to be Betfair and this work is released under the GNU General Public License.
If you make improvements to this library please post them here so we can include these into the project.
Also be careful this thing stores the user name & password in the config file (yes I know I should have removed this) and secondly if you configure it wrong you will get hit by the data request charge.
To run the compiled program do the following
1. Extract to your local machine
2. run ..\Lignite 1.0\Lignite.Console\bin\Debug\Lignite.Console.exe
3. Go to Edit -> Main Config File -> Betfair and set your username and password. Close config
4. Click Start
5. Click Stop
6. Go to Edit -> Main Config File -> Betfair and un-set your username and password. Close config
The idea behind this is rather simple separate everything, data view, data collection and make the strategy part a plug-in.
Happy coding
*** The Legal Stuff ***
The library is provided "as is" without warranty of any kind, either expressed or implied, including, without limitation, warranties that the library is free of defects, merchantable, fit for a particular purpose or non-infringing. the entire risk as to the quality and performance of the library is with you. Should any prove defective in any respect, you (not the initial developer or any other contributor) assume the cost of any necessary servicing, repair or correction.



and can be greatly improved by adding a last request timestamp to the prices request that returns null if the cached prices on the server has not changed since your last request.
Comment