Article

Criteria Timing

Hi Stefan,

After failing to get a bet placed using a Block staking, I carried out the checks you stated


1. Checked the single bet on a match within the criteria - success!
2. I changed the odds to 1.01-1000 and ran the bot, it worked with a few bets.

I don't know why it would not work for my odds, so I made a new Accumulator bot from the Block Staking... just to be sure.
I also decided to "move" the criteria (more than $100 matched) from the selection of games to the bot.
Thereby it would effectively 'wait' until 5 minutes before the game to check criteria, rather than my selection hours before.

This increased the chance of the football match being selected.

Thanks, Stu

Comments ( 19 )


  • Stu42
    10.4.2016 11:21:29

    OK, when I need to check the bot to see if has actioned correctly, I can only do that by seeing the odds for the U0.5. But I cannot see them unless I go to Event Browser or Open Market. So to check which matches quickly, a simple column in Order/Bot Exectutor tab with the "back/lay"  for the market would be easier to check it (I said bid/offer - sorry)

    ___

    Also, on Entry Criteria, it has "TotalMatched" but this is only for the U0.5 (the action)

    Any chance I could have TotalMatched for the Underlying Head to Head Match Odds? That way it would select the higher £$E events.

    __

    To ensure that Back & Lay are not far apart, I assume I need to add "MaximumOddsDifference"?

    What is that measured in? Is it a spread of the Betfair difference? i.e. 0.2 under 10.0 and 1.0 over 10.0? So if I used 10 as Maximum, would that work?

    Thanks

  • Betfair Bot
    10.4.2016 13:00:46

    You can use Entry Criteria for both bots in your bot solution, if that makes sense. I think what you need is to set Entry Criteria only for your staking plan bot. If you do so then set correctly ExecuteOnSelection parameter, because that parameter will define which selection values you can and to Entry Criteria.

    When you select any bot parameter, a description is displayed as well, for the parameter: MaximumOddsDifference, you can read the following description: The minimum odds difference to place your bet.

    How can be calculated odds difference?

  • Mir.
    10.4.2016 13:40:40

    Bot Executor - my focus is only for full automated trading and Bot Extecutor is really powerfull tool!

    Bot Executor

    (my today's screen from testing greyhound strategy, with custom conditional formatting of the Profit Balance column)

     

    In full automation is a Bot Executor great, but as Stu said, there is big problem with any controlling running strategies, bots behave etc. in TESTING MODE. For example: If I open the market from Bot Executor in a Bet Event Trader (to see how a strategy works) market disappeared from its list...

    I want to run all "trading strategies" from Bot Executor.

    The same "trading strategy" generates different results (I failed to do it the same; compared: Bot Executor vs. Bet Event Trader vs. the second Bfe vs. the third Bfe at the same time...)

    Yes I understand it!! (update period etc.)
    and that's why I'd like to see if there were some "viewer" from markets in Bot Executor.

  • Stu42
    10.4.2016 14:33:49

     I have to agree with MIR... the event disappears when you click on it.

    Also, some have got 'matched' ticked but zero profit/loss. So what happened to it? I have no idea whether it made the bet, and profited or lost. Some ARE coming up with the losses showing -$0.50

    As for the MaximumOddsDifference - yes I know there are descriptions, but it does not describe how these odds difference are measured, as I said. Is it 1.0 spread or 0.1? For example, if I typed 10, will that be 10.0x1.0=10 odds or 10x0.1=1.0 or 10x0.2=2.0 i.e depending on the actual event odds. I mean, are they 'pips/ticks' or actual odds values? (hopefully I make sense!)

    MIR - I would love to know what you are doing for entry & exit on greyhounds and trailing, I'd like to test a few myself for trailing on greyhounds and horses. If it's private, I understand...

     

  • Betfair Bot
    10.4.2016 15:04:47

    I will change the parameter MaximumOddsDifference description to:

    “The maximum odds difference (between best offer lay odds and best offered back odds, in ticks) to place your bet.”

    There are more services for market data monitoring: “Open Markets” service, “Bot Executor” service, and “Bot Executor for Selections” service.

    For security reasons it is not possible to monitor the same market in different services, only in one of them. Therefore double-clicking on a market in the “Bot Executor” view, will remove the market from the monitoring queue of the “Bot Executor” service, and the market is reopened in the “Open Markets” service.

    If there is set Monitored flag set, then “Bot Executor” started the market monitoring, and similar if flags “Matched Bets” or “Unmatched Bets” is set, you can be sure that bot placed bets. “Profit Balance” is recalculated if there are matched bets on the market, in some cases bot can place a bet, and as the following refresh by default occurs in 1 second, the market can be suspended, so profit is not recalculated. In the Profit column you will see a number after a market is closed, and your strategy uses some kind of staking plan bot.

    I have got scripts, you can run to recalculate Profit for closed markets from “Open Markets” service.

    “Bot Executor” executor monitors markets only when bot/s is/are running on the market. Immediately after bot ends its execution and StopMarketMonitoring parameter is set, the market is reopen to “Open Markets” service.

    Frankly to say all that could be learnt just watching how “Bot Executor” works. I already mentioned the importance of bot testing in the practice mode, and with manual execution. This way you can test any bot parameter behavior.

  • Mir.
    10.4.2016 16:49:12

    Now I try to set StopMarketMonitoring parameter (reopen to “Open Markets” service)...

    ------------------

    There is very strange screenshot:
    One market, the same strategy, Close Market Bet Position: Profit = 3 euro, Loss = 4 euro...
    Bot Executor vs. Bet Event Trader...

     

    This is one of the reasons why I want some tool preview to see what happened.
    For example save data for analysis!

    Not from ideal data, I need to have data from real behavior of bots.
    (odds movement, update period, matched price, etc. - all on what bots react)

    This screen is really strange, but happened

    ------------------

    BTW: The guys (the developers) made from storing data/graphs good business. See http://bfcharts.co.uk/
  • Mir.
    10.4.2016 20:18:04

    Stu42, there is screenshot from Bot Executor Horse Racing.

    At first glance there are some inconsistent results. There are some problems...

    I am not programmer I only use some features of Bfe.
    I really dont know if my entry to the market is good or not. If is wrong (SelectionBalance is low) the next layer of bets can be placed on Selection.
    I used Place Bet or sometimes Place Bet and Close Selection Bet position bots.

    When I have some relevant data captured from trading, let me show you what I mean...
    Principles are the same: take advantage of motions of the Odds.

  • Stu42
    11.4.2016 2:38:16

    Stefan,

    So how do I monitor the following?

    • Stake
    • Profit or Loss

    I can only see the stake and odds on "Output"

    What is the best way? Do I UNTICK "StopMarketMonitoring"?

    Also, I can see some wins but no 'rollover' stakes when betting

     

  • Betfair Bot
    11.4.2016 18:47:39

    The best way to test any staking plan bot is to execute your strategy on greyhounds markets. A new race is started every 20 minutes or so.

    If you want to see bets placed by bot in Bot Executor, just double clicking on the market will open it to Bet Event view, so you can see your bets, and at what market state your bot finished on the market, if you had set StopMarketMonitoring parameter, the market will be set to Inactive so prices will not be updated.