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.
Automation laying issue
You can try: the number of place bet triggers condition on selection = 0BillyWalters wrote: ↑Sat Dec 05, 2020 4:30 pmHi 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.
-
- 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).
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).
-
- Posts: 21
- Joined: Wed Jan 06, 2016 11:19 pm
Assuming add this condition to every rule file? Will this consider rulefile1 if rulefile2 goes to place a bet?Jukebox wrote: ↑Sat Dec 05, 2020 4:34 pmYou can try: the number of place bet triggers condition on selection = 0BillyWalters wrote: ↑Sat Dec 05, 2020 4:30 pmHi 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.
Im actually enjoying this brain boggler lol.
-
- Posts: 21
- Joined: Wed Jan 06, 2016 11:19 pm
Thanks, I'm not great with the signals etc, I have a busy Saturday night ahead then to learn lol.sionascaig wrote: ↑Sat Dec 05, 2020 4:39 pmFrom 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).
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 wrote: ↑Sat Dec 05, 2020 4:43 pmAssuming add this condition to every rule file? Will this consider rulefile1 if rulefile2 goes to place a bet?Jukebox wrote: ↑Sat Dec 05, 2020 4:34 pmYou can try: the number of place bet triggers condition on selection = 0BillyWalters wrote: ↑Sat Dec 05, 2020 4:30 pmHi 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.
Im actually enjoying this brain boggler lol.
-
- 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.