C# The beginnings of a bot
Collapse
This topic is closed.
X
X
-
Vossie, any further updates on Lignite, looks brilliant, doesn't seem to take AUS country code for australian markets though?
-
add reference
I'm new to use C#. If I want to add a reference target price & get an alart once the back/lay reach the target. Can I modify the program to do so ? And how can I do it ?
Leave a comment:
-
Hi Vossie,
First of all, thank you for sharing your work. I was working on a similar framework for a while, but due to lake of time, i never finished my work.
I tried to run your app (firstly converted into VS2010 beta), and i had some exception regarding controls accessed by the wrong thread.
After a few investigation, I noticed that somtimes you use
and sometimesCode:if (InvokeRequired) { BeginInvoke(...); // or Invoke(...); } else { // Controls updating }
In the second situation, Control updating is performed twice, and once on a wrong thread!!Code:if (InvokeRequired) { BeginInvoke(...); // or Invoke(...); } // Controls updating
In such a case, my prefered construction is
modifying this way MarketView.cs and MarketViewContainer.cs solved my exceptions issue.Code:if (InvokeRequired) { BeginInvoke(...); // or Invoke(...); return; } // Controls updating
Hope this can help someone else.
n0n0
Leave a comment:
-
I have developed about 6-7 customised small BF apps in last several months all with short timeframe and for one client. But looking at this code i was delighted... it's organised in a way my project should be one day... its really beautifull. I will enjoy learning from this. regarding helping in further development and testing... I would love to participate and will look at all the links... i hope i will have some spare time and my work goes in line with betfair.
Cheers!
Leave a comment:
-
All these projects would have benefit and numerous other I suspectOriginally posted by vossie View PostI am looking at reigniting this project in the new year and cleaning up all the quirks and getting it in a source control site. In other words refactor the whole thing to be more genric and capable.
The application would have been ideal for this guy http://fad.betfair.com/listing/73-Re...velopment.html with minimal coding.
Anybody that would join in developing/testing/using such a framework should vote here https://forum.bdp.betfair.com/showthread.php?t=653
http://fad.betfair.com/listing/72-is...ed-for-me.html
http://fad.betfair.com/listing/64-Au...cking-bot.html
http://fad.betfair.com/listing/73-Re...velopment.html
and more...
Leave a comment:
-
I am looking at reigniting this project in the new year and cleaning up all the quirks and getting it in a source control site. In other words refactor the whole thing to be more genric and capable.
The application would have been ideal for this guy http://fad.betfair.com/listing/73-Re...velopment.html with minimal coding.
Anybody that would join in developing/testing/using such a framework should vote here https://forum.bdp.betfair.com/showthread.php?t=653Last edited by vossie; 17-12-2009, 10:25 AM.
Leave a comment:
-
Of-course !
Hey Vossie, has then been any updates to this engine ?
I have started to invest some time in analysing it's architecture. This is a great POC & I am guessing this is how BF would like us to interact with the service ?
I would like to get an idea of the tolerances of the Betfair system, I understand the data-costs etc, but I want to make sure I do not put any unnecessary load on the system. Whom could I contact ?
Best
Clive
Leave a comment:
-
Hi vossie
Region => Spain
At 21.00 hours we have three markets:
\GB\Wolv 27 Nov\ To Be Placed 09-11-27 21:20
\GB\Wolv 27 Nov\ To Be Placed 09-11-27 21:50
\GB\Wolv 27 Nov\ To Be Placed 09-11-27 22:20
And continues to show only the odds of one market, is it normal?
Best Regards
Leave a comment:
-
What region is your computer set as?
"Start > Settings > Control Panel > regional and Language Options"
Try changing it to English (United Kingdom)
I suspect it is a problem with locales. Also note that the market view user control rounds to the nearest whole number like the site does, it does not mean the data is wrong in the backend.
Leave a comment:
-
Thank you very much
I waited for several minutes and this was the result.
Markets appear to show you in the picture. Odds are charged only in two markets, the rest is left empty.
The reason is because the free API can not load it?
the second image belongs to the market odds 09-11-27 19:20
Odds displays no decimal places instead of 2.4 € shows 24€. Do I have to configure anything for the show with decimals?
In the third image shows no odds and and I waited for several minutes
Best Regards
Leave a comment:
-
Originally posted by Monairda View PostThank you very much,
As you can see the odds are empty. And I get the error GetMarketPricesCompressed:HEADER_ERROR_EXCEEDED_TH ROTTLE:BODY_ERROR=API_ERROR
I guess it will exceed the refresh for free api. Where can modify that?
Also object of obtaining the message:
AutoMarketLoader:Going to sleep until 07/12/2009 8:13:49
Greetings
Hi Monairda,
If you wait for a while it will create all the markets even with a free API subscription it just takes a while because you have to wait for the "throttle" to reset. Just wait for it to load.
The auto market loader is the library that looks for new markets at set intervals based on the "Strategy Load Patern" you configure. To add/edit/modify the query go to
Edit > Main Configuration > Strategy Load Paterns
Leave a comment:
-
Thank you very much,
As you can see the odds are empty. And I get the error GetMarketPricesCompressed:HEADER_ERROR_EXCEEDED_TH ROTTLE:BODY_ERROR=API_ERROR
I guess it will exceed the refresh for free api. Where can modify that?
Also object of obtaining the message:
AutoMarketLoader:Going to sleep until 07/12/2009 8:13:49
GreetingsLast edited by Monairda; 26-11-2009, 10:18 PM.
Leave a comment:
-
Good morning
I downloaded the application, but do not get any market or price.
I follow the first post but I do not get information like the sample image samples. We have to make a step further?
Sorry for the English,
Thank you very muchLast edited by Monairda; 26-11-2009, 10:17 PM.
Leave a comment:
-
A timestamp would come from the data source so they would be accurate and of more relevance to the end user i.e. us. On a F.I.X. system int would probably make sense because you can ask for retransmits but on a sports exchange it has little value.Originally posted by Macberrypro View PostDon't use date/time stamps. Moreover use an increasing integer based stamp. For enterprise solutions, this will scale both horizontally and vertically
I really don't see how knowing the number of changes you missed help and what happens if you have a market that is on the site for a year? Any thoughts.
Unix timestamp: 125852735
Rolling int after 24 hours+/-: 432000
Rolling int after 300 days +/-:129600000
Not really enough of a difference to affect performanceLast edited by vossie; 17-11-2009, 09:59 PM.
Leave a comment:


Leave a comment: