Signal or SV on bet

Advanced automation available in Guardian - Chat with others and share files here.
Post Reply
Roobetter
Posts: 53
Joined: Wed Jun 23, 2021 12:48 pm

Hi all i have 5 automated strategies running on Guardian eg strategy 1 to 5. i want to differentiate which strategy had the bet when its placed via a signal or a stored value. Its possible for multiple strategies to have bets sometimes on same horses. Whats the best way of doing this?
User avatar
ShaunWhite
Posts: 10548
Joined: Sat Sep 03, 2016 3:42 am

You can have multiple strategies, but BA operates at overall account level so they're not independent. That means if you count (un)matched bets or amounts, or check positions, or want to green, then it affects them all. Same with any bets you've placed on the ladder while the automation is active.
Roobetter
Posts: 53
Joined: Wed Jun 23, 2021 12:48 pm

Ok thanks Shaun so there is no way to set off a signal for example when a strategy fires a bet eg valeu 1 for strategy 1 etc?
User avatar
ShaunWhite
Posts: 10548
Joined: Sat Sep 03, 2016 3:42 am

You can do that, but I can't advise how to because I don't use Guardian. I was mentioning that multiple strategies having bets on the same horses is problematic as something else to watch out for.👍
Win
Posts: 28
Joined: Sun Feb 02, 2020 10:16 pm

What I would do is something like this:
Each strategy sets an SV to 0 when the market is first loaded and the rule is applied. The SV's being named Strategy1 to Strategy 5.
When each rule is run it changes the respective SV to 1.
Each rule is then set to run only if the respective SV is still 0.
This may not help if the strategies are placing bets on the same horses though, especially if a part of the strategy is to green all.
If that is the case, another possibility could be to have one SV which starts at 0. When the first rule is triggered, the SV is changed to the applicable strategy number. If the SV isn't 0, then no other strategies can run. You could set that at selection level perhaps.
weemac
Posts: 1448
Joined: Mon Sep 16, 2013 8:16 pm

I'd give each strategy its own signal and store values of these signals, net stakes and P&Ls for each selection, then back and lay using the spawned SVs along with grouped 'either/or' conditions.

Not simple though - would take me many hours to create accurately.
Post Reply

Return to “Bet Angel - Automation”