Incorrect processing of order result?

Advanced automation available in Guardian - Chat with others and share files here.
Post Reply
dm1900
Posts: 71
Joined: Sun Jan 15, 2017 10:02 pm

Log:
22/06/2019 16:21:51: [G_Auto] : £ 2.00 Back bet placed on Blue Point at 1.51. Entirely unmatched when it initially reached the market. Ref: 169055935518 ( Fill or kill bet with 0.001 seconds delay. Offsetting by 14 ticks with greening. )
22/06/2019 16:22:01: [G_Auto] : £ 2 unmatched bet (Ref:169055935518) was killed.

BUT order 169055935518 was indeed matched, and at 16:21:51. As a result, my offset bet was not fired despite being in a good position to do so.

Also, how come fill or kill with 0 delay is still not supported? I have to use some silly number like 0.001 which obviously is not ideal.
User avatar
Dallas
Posts: 22674
Joined: Sun Aug 09, 2015 10:57 pm
Location: Working From Home

The recommended minimum time for fill/kill is 0.5 seconds, that is to allow time for the bet to reach Betfair, get processed and have its status correctly returned.

When Bet Angel makes a cancellation request it'll give Betfair ten seconds to respond and then tries to determine whether the bet was actually killed or not based on the information it is given.
dm1900
Posts: 71
Joined: Sun Jan 15, 2017 10:02 pm

I see, ok. The docs here need updating then as it is misleading: https://www.betangel.com/user-guide/fil ... tting.html (it says you can set it to 0, but the UI does not even permit you to use 0, let alone use 0 and face the negative consequences).

Would be nicer if Betangel would expose more aspects of the API when it comes to fill or kill, so one could use the true FILL_OR_KILL order type where one sets the minimum filled quantity, and expect the order to actually behave as FOK and allow it to be auto rejected if min filled qty is not satisfied. And therefore BA does not have to perform any cancellation, but rather just listen to the first response from BF to get all the info. https://docs.developer.betfair.com/disp ... orKillbets

Otherwise I am sure you would agree that the current implementation is relatively suboptimal for this.
User avatar
Dallas
Posts: 22674
Joined: Sun Aug 09, 2015 10:57 pm
Location: Working From Home

doovd wrote:
Sat Jun 22, 2019 4:46 pm
I see, ok. The docs here need updating then as it is misleading: https://www.betangel.com/user-guide/fil ... tting.html (it says you can set it to 0, but the UI does not even permit you to use 0, let alone use 0 and face the negative consequences).
You must have that page cached on your PC somehow, if you look in the bottom left corner it still showing 2017.
The user guide has been updated several times since then (including a few weeks ago after the latest release) so should now be showing 2019

Regarding that particular fill or kill page that was also updated some time ago and hasn't been changed since, I'd guess it was at the time the 'Fill or Kill and Offsetting' were split into their own pages or when streaming was added and it become possible to refresh faster than 200ms.
The up to date pages are
https://www.betangel.com/user-guide/fill_or_kill_.html
https://www.betangel.com/user-guide/off ... tages.html
Post Reply

Return to “Bet Angel - Automation”