Dallas wrote: ↑Thu Oct 21, 2021 1:27 pm
mtrehearn wrote: ↑Wed Oct 20, 2021 5:37 pm
Hi Dallas,
Thanks for your bots they are awesome.
Is there a way on this one to green up at £X.XX profit instead of just 15 seconds prior to race time? Didn't know if I could just adapt the existing green up rule to add a condition to green out if profit >= £X.XX and it would tap out so to speak?
Thanks.
Glad your finding them useful
Yes you can just add the profit condition to the green up as you described above, although its probably best to leave this default one in as a back up and add another green up rule with the profit condition
That way if you reach your profit that will trigger, if not the original one will still green up just before the off
Also if you want to stop the rules triggering you'll need to add a green up profit condition to those as detailed here
viewtopic.php?f=47&t=11656
Thanks for getting back to me.
I have added one in and it works perfect. One issue I am having is that the offset bet isn't always being added. I have had it a couple of occasions today (below are a couple of logs).
Log #1
14/11/2021 14:15:03: [G_Auto 1] : £ 2.00 Lay bet placed on Golden Jewel at 6.8. Entirely unmatched when it initially reached the market. Ref: 10434 ( Fill or kill bet with 900 seconds delay. Offsetting by 1 ticks. Stop at 2 ticks. Place stop at 3 ticks )
14/11/2021 14:15:05: [G_Auto 1] : £ 2 unmatched bet (Ref:10434) was killed.
14/11/2021 14:15:18: [G_Auto 1] : £ 2.00 Lay bet placed on Golden Jewel at 6.8. Entirely unmatched when it initially reached the market. Ref: 10436 ( Fill or kill bet with 900 seconds delay. Offsetting by 1 ticks. Stop at 2 ticks. Place stop at 3 ticks )
14/11/2021 14:17:19: [G_Auto 1] : £ 2 of unmatched bet (Ref:10436) was filled before remainder was killed. Position Closed therefore no offset/stop required.
Log #2
14/11/2021 13:45:14: [G_Auto 1] : £ 2.00 Lay bet placed on The Yellow Mini at 8.6. Entirely unmatched when it initially reached the market. Ref: 10368 ( Fill or kill bet with 900 seconds delay. Offsetting by 1 ticks. Stop at 2 ticks. Place stop at 3 ticks )
14/11/2021 13:45:20: [G_Auto 1] : £ 2 unmatched bet (Ref:10368) was killed.
14/11/2021 13:45:25: [G_Auto 1] : £ 2.00 Lay bet placed on The Yellow Mini at 8.8. Entirely unmatched when it initially reached the market. Ref: 10369 ( Fill or kill bet with 900 seconds delay. Offsetting by 1 ticks. Stop at 2 ticks. Place stop at 3 ticks )
14/11/2021 13:45:29: [G_Auto 1] : £ 2 unmatched bet (Ref:10369) was killed.
14/11/2021 13:45:35: [G_Auto 1] : £ 2.00 Lay bet placed on The Yellow Mini at 8.8. Entirely unmatched when it initially reached the market. Ref: 10370 ( Fill or kill bet with 900 seconds delay. Offsetting by 1 ticks. Stop at 2 ticks. Place stop at 3 ticks )
14/11/2021 13:45:53: [G_Auto 1] : £ 2 of unmatched bet (Ref:10370) was filled before remainder was killed. Position Closed therefore no offset/stop required.
Log #3
14/11/2021 14:20:07: [G_Auto 1] : £ 2.00 Lay bet placed on Bleue Away at 5. Entirely unmatched when it initially reached the market. Ref: 10462 ( Fill or kill bet with 900 seconds delay. Offsetting by 1 ticks. Stop at 2 ticks. Place stop at 3 ticks )
14/11/2021 14:21:05: [G_Auto 1] : £ 2 unmatched bet (Ref:10462) was killed.
14/11/2021 14:21:31: [G_Auto 1] : £ 2.00 Lay bet placed on Bleue Away at 5.1. Entirely unmatched when it initially reached the market. Ref: 10463 ( Fill or kill bet with 900 seconds delay. Offsetting by 1 ticks. Stop at 2 ticks. Place stop at 3 ticks )
14/11/2021 14:21:49: [G_Auto 1] : £ 2 of unmatched bet (Ref:10463) was filled before remainder was killed. Position Closed therefore no offset/stop required.
I notice that on each of them it relates to a lay bet being placed and the bot closing the position stating that no offset is required and it doesn't place the back bet to offset.
Any ideas at all please as I can't figure out why it does it sometimes but not others?
Thanks