TOLS: filter markets
Posted in Bot programming by mapper
Hi Stefan,
I want to ask you if there is any posibility how to trade only markets with specified conditions. If I want to use place a close position bot for TOLS only for markets which:
1. can be traded in-play
2. only football (and specified leagues or events)
3. only match odds
I want to use TOLS to find all markets for actual day which these conditions. How I can do it? Do I make setup in TOLS or is it better to add some conditions to bot code?
If you have time please add this small example - maybe P&CP bot for laying first selection (home team) in England Barclays premier league.
Thank you in advance.
Regards,
Martin
Wednesday, May 05, 2010
Hi Martin
Click on the Browse markets or Events popup menu and select: Browse selected in-play market type.
The Betfair Browse dialog appears and there you have to select a market type you want to load automatically by Trade opportunity lookup tool.
In your example you want to load all Football Match Odds markets, so you can populate the tree with events for Soccer - Fixtures / Fixtures (day month) and there you have to select whatever football match and for a match the market type you want to load: Match Odds
What is important when loading markets using "Browse selected in-play market type " option is to select a market type (in this case: Match Odds) and parent event what would be Fixtures 05 May, if your would do it today. Those are entry parameters for TOL, so in this case TOL would load all in-play Match Odds markets from the event: Fixtures 05 May.
If you want to load just Match Odds markets for Barclays Premier League and for particular day, then you have to select:
Soccer / English Soccer / Barclays Premier League / Fixtures 05 May
and there select any match and Match Odds Market.
Any bot you can use with Bot Executor, so with TOL as well, uses the parameter: PlaceBetOnRunner If you set this parameter to 1, TOL will execute your bot on the first selection in the Match Odds market, what is the home team.
Do not sort selection, using the Market Criteria, because it is clear that if you would sort selections, the parameter PlaceBetOnRunner set to 1, would mean the favourite, if you would sorted selections by probability to win, or by Last price matched.
Best regards
Stefan
Thursday, May 06, 2010
Is it possible to filter only the runner 1 with the TOFL.
I use to use 3 bot for to markets type for the football:
Match odds and Half Time
I have 3 bot types for each runner (1, 2 and 3) for Match odds Half Time, but i don't want to the bot "special runner 2" works for Half Tim.
I start monitoring only 4.000 second before the market starts because I don't want to exceed the Api counter.
Thanks Stefan.
Friday, May 07, 2010
Hamid, you can run two instances of Bfexplorer PRO executing different bot strategy on different market types.
You have to wisely set the market refresh rate when monitoring more markets not to exceed 20 free request per second.
Friday, May 07, 2010
I know that but the problem is the difficulty to set correctly the refresh rate, one seconde I have 15 request and the following second 30.
Ths only solution is a pooling system to bridle requests....but we spoke about it 5 months ago. (http://bfexplorer.net/Forum.aspx/Show/151)
I tried to set the bot with "market criteria" or "Selection criteria" but i didn't find any solution.
Friday, May 07, 2010
Hamid, I think you will agree that if we talk about the market refresh rate and wisely setting it, we have to know maximal number of markets you want to monitor concurrently.
I believe you know how many markets you want to monitor, then you can calculate the market refresh rate this way:
Let N be number of markets you want to monitor, then R [in seconds] your refresh rate is:
R = (N * 1.5) / 20
So for instance if you want to monitor 20 markets then: R = (20 * 1.5) / 20
R = 1,5 second
So you should set your refresh rate to near bigger value you can set: 2 second. If you would set your refresh rate to 1 second your Bfexploer PRO would exceed 20 free calls per second you have got per user name from betfair.
Friday, May 07, 2010
Hamid, I just wonder about two things. Why are you posting your request to the wrong forum thread because in this thread mapper wanted to discuss about: TOLS: filter markets
When we discussed earlier about setting market refresh rate I think I said all relevant information and that is that bets are monitored as well.
Friday, May 07, 2010
My request was not about refreshing,but about filter runners.
I just wanted to tell you that the solution you suggested to me (to run two instances of Bfexplorer PRO executing different bot strategy on different market types.) didn't work for me. Because I run every day , before to go to work, 200 markets.
Sunday, May 09, 2010
Stefan,
Thank you for your answer. I can to run 2 BFE for the same betfair account? Please confirm or explain if I am wrong.
Secondly last Hamid issue is quite interesting. How can we set TOLS to have maximal number of call <= 20 per second if we have more than 20 opened markets in one moment. I remembered that there were one parameter for TOLS and one in settings in BFE. Is it posible to setup it on this way? At horses there were one or 2 markets open in one moment but in football... ?
Monday, May 10, 2010
I have created new topic for this. we can continue there:
http://www.bfexplorer.net/Forum.aspx/Show/193
Monday, May 10, 2010
You are right. The correct formula is:
R = (N * 1.5) / 20