Page 1 of 1

Creating A Free Bet in Play

Posted: Mon Jan 10, 2022 3:32 pm
by Michael5482
Hi

I want a bot to place a bet in play for the same stake I place with pre-off should the price movement in play move in a positive direction after x amount of time but hedge if not (I can set the hedge if a negative trade no problem)

Example bot places a lay pre-off then in play backs at a higher price with the same stake after x amount of time in play instead of hedging.

Cheers

Re: Creating A Free Bet in Play

Posted: Mon Jan 10, 2022 3:35 pm
by BfBotManager
You can use "After bet rules->Trade out" rule to place second unmatched bet.

You can also use "After bet rules->Hedge" to hedge your position if price goes against you.

Please test it in simulation mode to ensure that it works like you want it to.

Re: Creating A Free Bet in Play

Posted: Mon Jan 10, 2022 3:52 pm
by Michael5482
Thanks but the "After bet rules->Trade out" only lets me place the bet by off-setting by amount of ticks I want it to place the bet for the same stake after x amount of time (seconds) in play not by the amount of ticks

Re: Creating A Free Bet in Play

Posted: Mon Jan 10, 2022 3:56 pm
by BfBotManager
There is no option for time at trade out rule, sorry.

Re: Creating A Free Bet in Play

Posted: Mon Jan 10, 2022 9:10 pm
by Michael5482
Hi I've set up the Trade Out up for 10 ticks and every time the bet lapses not long after the lay bet is placed. I just want it to place a back bet at the same stake I layed with for a x amount of ticks The only other setting I have is to hedge at 0-1 or 1-0 which works fine

Re: Creating A Free Bet in Play

Posted: Mon Jan 10, 2022 9:47 pm
by BfBotManager
If goal is scored then the bet will be lapsed by Betfair if it is unmatched. It is not possible to keep bet unmatched when goal is scored.

Re: Creating A Free Bet in Play

Posted: Mon Jan 10, 2022 10:42 pm
by Michael5482
I'm aware of that but every single bet is lapsing between 1-3 mins after the lay is placed. See attached the Oviedo game as an example. Lay bet placed 1 min before KO at 3.05 and back bet placed at 3.70 (this is more than 10 ticks that's selected) then 3 mins later the back bet lapsed Game was 0-0 when the back bet lapsed

Re: Creating A Free Bet in Play

Posted: Mon Jan 10, 2022 11:02 pm
by BfBotManager
You are using simulation mode and in simulation mode data is delayed anywhere from 1s to 180s and it is not synchronized e.g. in one moment you get data old 1s and in the next one data old 155s. Delay is done by Betfair, so that bots in simulation mode do not use resources of live servers.

This causes bot to receive suspended market data after receiving data that market went in play, so bot lapses simulated bets that are unmatched because of suspended event. By default market gets suspended when it turns in play etc.

You should read following article that explains differences between simulation and real mode:
https://www.bfbotmanager.com/en/help/kn ... ation-mode

And this article about delayed data
https://www.bfbotmanager.com/en/help/kn ... layed-data