Manually trading several markets of same event, Green Up all markets with Short Cut key press

Share your automation file with other users.
Post Reply
RobberBaron
Posts: 11
Joined: Wed Dec 02, 2020 10:14 pm

Hello there,

I thought I'd share my Automation Files, which allows manual traders who trade several markets of the same time.

The idea of these 2 scripts is that you manually open trades on your chosen markets, watch the action and if you think the action is/maybe going against you. You can Green Up all the markets for a profit or a small loss depending how quick you are.

How It Works

When manually trading, have a window open of the market you are manually trading. As long as your mouse pointer is over ANY selection, click the Keyboard Short Cut key, the associated Servant rules file will do the following:

a) All stop all Previous Servants that have run on this market. Just for safety.
b) Increments, Stored value in "GreenUp" by 1. This value change is what triggers the Greening Up of the markets that have the Other rule file running.

It doesn't matter if the mouse is over the Home or Away or Draw selection in Match Odds, also doesn't matter which selection in Over/Under markets. Same with any other market.


In Guardian, the rule file does the following

a) It outputs default logging
b) Displays the current Value of Stored Value "GreenUP" at the very beginning it's value is "0". Every keypress of the short cut key will increment this value by "1"
c) It cancels any unmatched bets for safety. It does this once, every time the rule file is run.
d) It then attempts, to Green Up all open positions for that market. It tries to do this 4 times, every 15 seconds. It will only Green Up markets with Matched bets.

Once the attempts to green up, manually check the markets that it has done so for safety. Re-evaluate your trading positions, then when suitable re-open trades.
Rinse and repeat.

Example of Usage

The Guardian log files for Huddersfield v Watford, 19th Dec 2020.

Markets used for demonstration output of log files, Match Odds and Over/Under 2.5 Goals market.

Scenario: Huddersfield has gone 2 goals up in First Half. I added the scripts to these markets near the end of First Half or during Half Time.
I only placed bets on the Huddersfield selection, in the Match Odds Market. I have Greened Up twice


Match Odds Market: Several bets placed on Huddersfield, only.

Notice the servant context:
1) ( Selection context: Huddersfield. )
2) ( Selection context: Watford. )

19/12/2020 15:51:21: Guardian has detected that the market is in-play
19/12/2020 15:51:21: Guardian has detected that the market is suspended
19/12/2020 15:51:21: Guardian has detected that the market is now unsuspended
19/12/2020 15:51:32: [G_Auto] : Alert: Begin logging............. [ Huddersfield ]
19/12/2020 15:51:32: [G_Auto] : Store Value (Shared) for event: GreenUp = 0
19/12/2020 15:52:39: £ 2.00 Lay bet placed on Huddersfield at 1.17. Entirely unmatched when it initially reached the market. Ref: 10000
19/12/2020 15:53:26: Cancelling bets 10000
19/12/2020 15:53:33: £ 2.00 Back bet placed on Huddersfield at 1.17. Fully matched at 1.17. Ref: 10001
19/12/2020 15:54:25: [AS 5] : Automation Servant ( Servant - Green Up Manual Bets In Multiple Markets ) Started ( Selection context: Huddersfield. )
19/12/2020 15:54:25: [AS 5] : Alert: Begin logging,,,,,,,,,,,, [ Huddersfield ]
19/12/2020 15:54:25: [AS 5] : Store Value (Shared) for event: GreenUp = 1 + 0
19/12/2020 15:54:25: [AS 5] : Automation Servant ( Servant - Green Up Manual Bets In Multiple Markets ) Stopped.
19/12/2020 15:54:36: [G_Auto] : Greened up Huddersfield by Laying 1.98 at 1.18
19/12/2020 15:54:51: £ 2.00 Back bet placed on Huddersfield at 1.17. Fully matched at 1.17. Ref: 10004
19/12/2020 15:55:03: £ 2.00 Lay bet placed on Huddersfield at 1.15. Entirely unmatched when it initially reached the market. Ref: 10005
19/12/2020 15:55:29: [AS 6] : Automation Servant ( Servant - Green Up Manual Bets In Multiple Markets ) Started ( Selection context: Watford. )
19/12/2020 15:55:29: [AS 6] : Alert: Begin logging,,,,,,,,,,,, [ Huddersfield ]
19/12/2020 15:55:29: [AS 6] : Store Value (Shared) for event: GreenUp = 1 + 1 = 2
19/12/2020 15:55:29: [G_Auto] : Cancelling bets 10005
19/12/2020 15:55:29: [AS 6] : Automation Servant ( Servant - Green Up Manual Bets In Multiple Markets ) Stopped.
19/12/2020 15:55:39: [G_Auto] : Greened up Huddersfield by Laying 1.99 at 1.18


Over/Under 2.5 Goals Market: No bets placed at all. Just showing that it will only green up markets will Matched bets.

19/12/2020 15:51:21: Guardian has detected that the market is in-play
19/12/2020 15:51:21: Guardian has detected that the market is suspended
19/12/2020 15:51:21: Guardian has detected that the market is now unsuspended
19/12/2020 15:51:35: [G_Auto] : Alert: Begin logging............. [ Under 2.5 Goals ]
19/12/2020 15:51:35: [G_Auto] : Store Value (Shared) for event: GreenUp = 0



Notice: As always test these rule files carefully in Practice Mode to check that they work as you want them to.


Apply the Rules Files:

1) This Rules file is to be added as a Servant with a Short Cut Keyboard of your choosing.
Servant - Green Up Manual Bets In Multiple Markets.baf
2) This rules file is to be added in Guardian for the Event's Markets you'll be manually trading. Eg. Match Odds, Correct Score, Over/Under 0.5, etc.
Guardian - Green Up Manual Bets In All Markets For Event.baf
You do not have the required permissions to view the files attached to this post.
Post Reply

Return to “Bet Angel Automation - Shared files”