Forum

FAQs and other general questions are answered here
By Michael5482
#26067
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
User avatar
By BfBotManager
#26068
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.
By Michael5482
#26069
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
By Michael5482
#26071
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
Attachments
Screenshot 2022-01-10 at 20.07.16.png
Screenshot 2022-01-10 at 20.07.16.png (316.98 KiB) Viewed 3611 times
Screenshot 2022-01-10 at 20.06.45.png
Screenshot 2022-01-10 at 20.06.45.png (244.6 KiB) Viewed 3611 times
By Michael5482
#26073
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
Attachments
Screenshot 2022-01-10 at 21.31.16.png
Screenshot 2022-01-10 at 21.31.16.png (323.66 KiB) Viewed 3609 times
User avatar
By BfBotManager
#26074
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