Scalping Problems

Advanced automation available in Guardian - Chat with others and share files here.
Post Reply
User avatar
vladilyich
Posts: 127
Joined: Fri Jan 22, 2016 6:58 pm

I've tried to set up a simple 1 tick scalp as a starting point and go from there. The problem I am finding with scalping with a bot is that the bot will back at the bottom of a selection's trading range and vice versa if trying a lay strategy scalping for 1 tick by laying first. Also having a problem stopping the bot going in play despite creating rules for it not to,or telling it green before or a few seconds after race off time. Any help appreciated.

PS Is it ok if I create 2 greening up rules,one with a positive value and one with a negative value within the same rule?
User avatar
Dallas
Posts: 23495
Joined: Sun Aug 09, 2015 10:57 pm

There is no conditions to look at the traded volume to tell if a price is at the top or bottom of its range so you'll have to look for an alternative to try and minimize it firing around these times.

If you have your green up rule set to trigger a few times before going in play (and you have ensured your back/lay bets have stopped firing) you shouldd nt have a problem with completely greening up and stopping before the race starts.

Yes you can have a profit and loss green up rule in the same file, this thread explains how to set it up
http://www.betangel.com/forum/viewtopic ... 47&t=11488
User avatar
vladilyich
Posts: 127
Joined: Fri Jan 22, 2016 6:58 pm

Thanks for the reply. I have managed to get the bot to now green up and cancel,usually to a red balance but I had a WOM condition and wondered if this may have contributed to the backing at the bottom of the range as it would throw a back bet in a few seconds after a previous bet settling. Is there a way of doing something where say if,eg,say 'If £2000 has been traded(backed) on this selection then the bot should put in a back bet?' and maybe the reverse with a lay bet?
I really have no idea what these 'signals' mean but I am sure they are a good idea for those of you who know what you are doing! :)
User avatar
Dallas
Posts: 23495
Joined: Sun Aug 09, 2015 10:57 pm

vladilyich wrote:
Fri May 19, 2017 2:23 pm
Thanks for the reply. I have managed to get the bot to now green up and cancel,usually to a red balance but I had a WOM condition and wondered if this may have contributed to the backing at the bottom of the range as it would throw a back bet in a few seconds after a previous bet settling. Is there a way of doing something where say if,eg,say 'If £2000 has been traded(backed) on this selection then the bot should put in a back bet?' and maybe the reverse with a lay bet?
I really have no idea what these 'signals' mean but I am sure they are a good idea for those of you who know what you are doing! :)
The WOM can be at any percentage at anytime so cant be used as a indicator as to where in a range a price may be, also their is not a condition that can check the last traded amount

This thread should help you understand signals a bit better, and there is plenty of examples files that use them one way or another so you can see how they work
http://www.betangel.com/forum/viewtopic ... 43&t=11943
User avatar
ShaunWhite
Posts: 10389
Joined: Sat Sep 03, 2016 3:42 am

vladilyich wrote:
Fri May 19, 2017 2:23 pm
,eg,say 'If £2000 has been traded(backed) on this selection then the bot should put in a back bet?' and maybe the reverse with a lay bet?
You are going to have to be very careful with market selection and the time if you are taking this approach. Depending on the race, 2 grand will go through in the blink of an eye or take an age. I also can't really see how it's going to help you spot the top or bottom of the market especially as you're not comparing it to the total vol traded.
Stubbo
Posts: 56
Joined: Fri Dec 02, 2016 8:44 am

One thing you can achieve is to say if the price hasn't changed within a period of time then open your trade.

E.g. say the price now was the price 1 second ago, then have it run for however many times you want (each time is the price not moving for a second) and increment a signal value with each run. Then, use the signal value as a condition to trigger your bet: I.e. place back bet if signal "static_price" = 10 (seconds).

You'd need some checks to make sure was a concurrent 10 seconds, but maybe something like that would work.

Or vote for my suggestion to use odds as a signal so could say:

If current value is +/- 1 tick of the signal value in 1 second ago then set "static price" signal to 1.

Then repeat that rule 10 times, and you could see had stayed within a range for a period of time and that things were relatively stable, and could then open up.
User avatar
vladilyich
Posts: 127
Joined: Fri Jan 22, 2016 6:58 pm

This may sound like I am a dimwit but I still don't have a clue about theses signals. Would it be possible for Peter to make a detailed video using one or two examples? I tend to be a visual learner and learn so much more from seeing something done as opposed to just reading about it.
User avatar
Niko
Posts: 285
Joined: Thu Dec 01, 2016 9:36 am

Join the club, just sorting out WoM has taken me many weeks!! lol
Stubbo
Posts: 56
Joined: Fri Dec 02, 2016 8:44 am

A signal is just a marker/identifier that something has happened so you can do 2 stage rules (or use the fact something happened as a condition of doing some other thing).

You can use signals to identify certain conditions as true, use them to count the number of times something happens (e.g. count the number of back bets placed on a single runner...if it exceeds 3 then do something else), or use them in combination to create sophisticated rule paths, e.g. If THIS HAPPENS then THAT, or IF THIS HAPPENS and THIS HAPPENS then THAT (especially when based on different types of rule).

E.g.

Rule 1 - Place a back bet on Horse A and set "HORSEA" signal to 1;
Rule 2 - Place a lay bet on Horse B and set "HORSEB" signal to 1;
Rule 3 - If HORSEA = 1 AND HORSEB = 1 then...Do some other thing,

Without the signal you couldn't identify that both the back and lay bet rules had triggered or make them a condition of doing something else.
User avatar
vladilyich
Posts: 127
Joined: Fri Jan 22, 2016 6:58 pm

Not sure where to put this as its not really an automation problem but is a scalping problem,my problem is this.

I am doing a 1 tick scalp with tick offset and greening,the problem is that if I put my stake in the back side it automatically puts the lay stake in straight away and allows,if the market turns,for the lay side to be matched first rather than waiting for the back bet to be matched first,as that's where I put the first part of the trade. Other software I've used will not place the lay bet until either the whole,or part of the back bet has been matched. Am I doing something wrong?
User avatar
Dallas
Posts: 23495
Joined: Sun Aug 09, 2015 10:57 pm

vladilyich wrote:
Tue May 30, 2017 3:53 pm
Not sure where to put this as its not really an automation problem but is a scalping problem,my problem is this.

I am doing a 1 tick scalp with tick offset and greening,the problem is that if I put my stake in the back side it automatically puts the lay stake in straight away and allows,if the market turns,for the lay side to be matched first rather than waiting for the back bet to be matched first,as that's where I put the first part of the trade. Other software I've used will not place the lay bet until either the whole,or part of the back bet has been matched. Am I doing something wrong?
Tick the fill/kill if you only want the offset placing after its been filled

http://www.betangel.com/forum/viewtopic ... 47&t=11817
User avatar
vladilyich
Posts: 127
Joined: Fri Jan 22, 2016 6:58 pm

Brilliant Dallas. You really are an Oracle my friend. And I don't mean an old form of Teletext! :D
User avatar
vladilyich
Posts: 127
Joined: Fri Jan 22, 2016 6:58 pm

Just another quick question relating to the scalping.If an automated strategy asked the bot to fire say 5 times and fill or kill was armed,does it mean that after firing 5 times and none of the bets being matched, due to fill or kill being set,then no bets would be matched? Or does it mean 5 matched bets before the bot disarmed?
I guess its the first scenario I mentioned but just wanted to be sure.
User avatar
Dallas
Posts: 23495
Joined: Sun Aug 09, 2015 10:57 pm

vladilyich wrote:
Tue May 30, 2017 4:42 pm
Just another quick question relating to the scalping.If an automated strategy asked the bot to fire say 5 times and fill or kill was armed,does it mean that after firing 5 times and none of the bets being matched, due to fill or kill being set,then no bets would be matched? Or does it mean 5 matched bets before the bot disarmed?
I guess its the first scenario I mentioned but just wanted to be sure.
Yes it would be your first scenario.

You could increase the number of triggers to say 50 times then add the following two conditions (assuming your backing with £10 stakes)

Number of unmatched bets condition on selection is equal to 0
&
Amount of matched bets condition, total amount of back bets matched on selection is less £50

Those will allow only 1 bet at a time to be placed up untill £50 (5 bets) have been matched
User avatar
vladilyich
Posts: 127
Joined: Fri Jan 22, 2016 6:58 pm

Thanks again.
Post Reply

Return to “Bet Angel - Automation”