Automation laying issue

Advanced automation available in Guardian - Chat with others and share files here.
Post Reply
BillyWalters
Posts: 21
Joined: Wed Jan 06, 2016 11:19 pm

Hi guys,

I have a problem within my Automation file. Dont want to go too deep into the strategy so will try explain as best I can.

I have multiple rule files that places lay bets for set liability for horses within set odds range;
Lay 1.01-1.40
Lay 1.41-1.45
etc

I have set all rules files up as the same, except for odds difference. I want to lay all horses that fall into these odds ranges, including laying 2x horses that fall into the same category, one bet each. A problem I'm having a lot is if the odds move at the second I place the bet (Horse lay price goes from 1.41 to 1.40) the bot will place 2 bets on one horse. I only need the horse to be layed once. If any more it will disrupt the whole market. I basically want a way of the rules files to talk to each other, IF horse1 has a bet in PriceCategory1, then not to be bet in PriceCategory2. Basically matched bets on the current selection < 1..... but over 2 rules files.

tl:dr - I want to lay all horses ONCE in a race that fall into set price categories.
Jukebox
Posts: 1576
Joined: Thu Sep 06, 2012 8:07 pm

BillyWalters wrote:
Sat Dec 05, 2020 4:30 pm
Hi guys,

I have a problem within my Automation file. Dont want to go too deep into the strategy so will try explain as best I can.

I have multiple rule files that places lay bets for set liability for horses within set odds range;
Lay 1.01-1.40
Lay 1.41-1.45
etc

I have set all rules files up as the same, except for odds difference. I want to lay all horses that fall into these odds ranges, including laying 2x horses that fall into the same category, one bet each. A problem I'm having a lot is if the odds move at the second I place the bet (Horse lay price goes from 1.41 to 1.40) the bot will place 2 bets on one horse. I only need the horse to be layed once. If any more it will disrupt the whole market. I basically want a way of the rules files to talk to each other, IF horse1 has a bet in PriceCategory1, then not to be bet in PriceCategory2. Basically matched bets on the current selection < 1..... but over 2 rules files.

tl:dr - I want to lay all horses ONCE in a race that fall into set price categories.
You can try: the number of place bet triggers condition on selection = 0
sionascaig
Posts: 1687
Joined: Fri Nov 20, 2015 9:38 am

From a brief read it looks like you could use signals...

Set a signal (for the selection), on your lay bet, say signal Lay1 =1, and add a "condition" within the same Lay bet saying "Lay1" signal "not set with value".

==> that will ensure lay bet only fires once for that selection (when the signal is not set).
BillyWalters
Posts: 21
Joined: Wed Jan 06, 2016 11:19 pm

Jukebox wrote:
Sat Dec 05, 2020 4:34 pm
BillyWalters wrote:
Sat Dec 05, 2020 4:30 pm
Hi guys,

I have a problem within my Automation file. Dont want to go too deep into the strategy so will try explain as best I can.

I have multiple rule files that places lay bets for set liability for horses within set odds range;
Lay 1.01-1.40
Lay 1.41-1.45
etc

I have set all rules files up as the same, except for odds difference. I want to lay all horses that fall into these odds ranges, including laying 2x horses that fall into the same category, one bet each. A problem I'm having a lot is if the odds move at the second I place the bet (Horse lay price goes from 1.41 to 1.40) the bot will place 2 bets on one horse. I only need the horse to be layed once. If any more it will disrupt the whole market. I basically want a way of the rules files to talk to each other, IF horse1 has a bet in PriceCategory1, then not to be bet in PriceCategory2. Basically matched bets on the current selection < 1..... but over 2 rules files.

tl:dr - I want to lay all horses ONCE in a race that fall into set price categories.
You can try: the number of place bet triggers condition on selection = 0
Assuming add this condition to every rule file? Will this consider rulefile1 if rulefile2 goes to place a bet?

Im actually enjoying this brain boggler lol.
BillyWalters
Posts: 21
Joined: Wed Jan 06, 2016 11:19 pm

sionascaig wrote:
Sat Dec 05, 2020 4:39 pm
From a brief read it looks like you could use signals...

Set a signal (for the selection), on your lay bet, say signal Lay1 =1, and add a "condition" within the same Lay bet saying "Lay1" signal "not set with value".

==> that will ensure lay bet only fires once for that selection (when the signal is not set).
Thanks, I'm not great with the signals etc, I have a busy Saturday night ahead then to learn lol.
Jukebox
Posts: 1576
Joined: Thu Sep 06, 2012 8:07 pm

BillyWalters wrote:
Sat Dec 05, 2020 4:43 pm
Jukebox wrote:
Sat Dec 05, 2020 4:34 pm
BillyWalters wrote:
Sat Dec 05, 2020 4:30 pm
Hi guys,

I have a problem within my Automation file. Dont want to go too deep into the strategy so will try explain as best I can.

I have multiple rule files that places lay bets for set liability for horses within set odds range;
Lay 1.01-1.40
Lay 1.41-1.45
etc

I have set all rules files up as the same, except for odds difference. I want to lay all horses that fall into these odds ranges, including laying 2x horses that fall into the same category, one bet each. A problem I'm having a lot is if the odds move at the second I place the bet (Horse lay price goes from 1.41 to 1.40) the bot will place 2 bets on one horse. I only need the horse to be layed once. If any more it will disrupt the whole market. I basically want a way of the rules files to talk to each other, IF horse1 has a bet in PriceCategory1, then not to be bet in PriceCategory2. Basically matched bets on the current selection < 1..... but over 2 rules files.

tl:dr - I want to lay all horses ONCE in a race that fall into set price categories.
You can try: the number of place bet triggers condition on selection = 0
Assuming add this condition to every rule file? Will this consider rulefile1 if rulefile2 goes to place a bet?

Im actually enjoying this brain boggler lol.
If you use the number of place bet triggers on selection=0 then once the file has triggered a bet on that selection it won't fire another on that selection.
BillyWalters
Posts: 21
Joined: Wed Jan 06, 2016 11:19 pm

Thanks Jukebox much appreciated. I've implemented said rule so hopefully no more errors. Thanks again.
Post Reply

Return to “Bet Angel - Automation”