Help with first Automation rules

Advanced automation available in Guardian - Chat with others and share files here.
Post Reply
Sjpiercy
Posts: 6
Joined: Fri Jun 26, 2015 11:38 pm

Hi All,
Complete newbie to Betangel, Trading and Automation!!!

I've reviewed some of the sample files on here and though why not give it a go myself!

AIMS

Scalping Bot
Activates only when there is more than 100k in the market and in the last 10 minutes before the off.
30 seconds prior to in play the bot greens up and exits.

It places Back bet if WOM is less than 45%
It places a lay bet if WOM is more than 55%

Back and Lay bets are offset by one tick.

Can only have one unmatched bet at any one time.

Close trade with greening if green all profit is less than -2.00.

Few issues with it though and I am sure this will be down to user error!!!

Firstly the abort feature will not work. If my green all position go beyond a loss of £2.00 the bot just carries on, what I mean it to do is to green/red up and exit. Whats going wrong?

Also, how do I get the bot to cancel the offset bet if the prices ends up going in the opposite direction? I did try an cancel trade command with an unmatched bet time condition of 10 seconds. But similar to the abort issue If that condition was met the bot simply carries on!!!


Please help.

Many thanks
You do not have the required permissions to view the files attached to this post.
User avatar
Dallas
Posts: 23494
Joined: Sun Aug 09, 2015 10:57 pm

Sjpiercy wrote:
Wed May 03, 2017 8:20 pm
Firstly the abort feature will not work. If my green all position go beyond a loss of £2.00 the bot just carries on, what I mean it to do is to green/red up and exit. Whats going wrong?
This thread will explain what you need to do
http://www.betangel.com/forum/viewtopic ... 47&t=11656

Sjpiercy wrote:
Wed May 03, 2017 8:20 pm
Also, how do I get the bot to cancel the offset bet if the prices ends up going in the opposite direction? I did try an cancel trade command with an unmatched bet time condition of 10 seconds. But similar to the abort issue If that condition was met the bot simply carries on!!!
You have two options here, the first is to add a stop loss (on the parameters tab) and set this to a few ticks, using this if your over all loss build up to -£2 then your loss rule above will still trigger and over ride this.

Second option is to use signals to cancel a unmatched offset after a set amount of time, their is an example rule showing how to set this up
http://www.betangel.com/forum/viewtopic ... 53&t=11953
Post Reply

Return to “Bet Angel - Automation”