Scalping Bot

Advanced automation available in Guardian - Chat with others and share files here.
Post Reply
Snaff
Posts: 172
Joined: Wed Jan 20, 2021 8:26 pm

Hello. I was wondering is it possible to create a scalping bot that only refreshes orders if the price moves? Say you’re scalping a football match, you don’t want your orders refreshing and stuck at the back of a huge queue.
User avatar
Dallas
Posts: 23597
Joined: Sun Aug 09, 2015 10:57 pm

I'm not quite sure what you mean?
If you refresh/trigger a bet as the price moves you'll be behind all money that was there before the price moves

Maybe give an example and that might be clearer as to what you want/need
Snaff
Posts: 172
Joined: Wed Jan 20, 2021 8:26 pm

Hi Dallas
I’ll try to explain. So if I was manually scalping a football match I’d place a bet at the reverse market price and wait for it to be filled before placing the offset bet. If the price moved down a tick then I would move my position down to the next reverse price. What I don’t want to do is have orders refreshing every 5 minutes moving me to the back of the queue. I only want them to refresh if the price has moved. Hope this makes sense? On automation I can only see offset bet with fill or kill inside a number of seconds.
User avatar
ShaunWhite
Posts: 10562
Joined: Sat Sep 03, 2016 3:42 am

Dallas wrote:
Wed Jul 19, 2023 3:39 pm
If you refresh/trigger a bet as the price moves you'll be behind all money that was there before the price moves
? You only want to refresh if the price moves, otherwise you just keep moving yourself to the back of the same queue. Refresh on change can't get you to the front of the new queue but you'll be amongst the first money.

It's a take on the sort of check that says, if current bet price and current bet stake = proposed bet price and stake then do nothing, else cancel current and place new.
User avatar
Dallas
Posts: 23597
Joined: Sun Aug 09, 2015 10:57 pm

Snaff wrote:
Wed Jul 19, 2023 4:22 pm
Hi Dallas
I’ll try to explain. So if I was manually scalping a football match I’d place a bet at the reverse market price and wait for it to be filled before placing the offset bet. If the price moved down a tick then I would move my position down to the next reverse price. What I don’t want to do is have orders refreshing every 5 minutes moving me to the back of the queue. I only want them to refresh if the price has moved. Hope this makes sense? On automation I can only see offset bet with fill or kill inside a number of seconds.
I think I see what you mean now, so basically only place the bet again IF the price as moved so as to protect your queue position
rather than continually placing/cancelling just in case the price has moved?

If that's right you'd need to use a 'Set/Modify Stored Value' rule and on the stored value tab store the best reverse price
Then use that to place your bet at, cancel and re-submit it etc

I'd need to think through the logic properly to figure out the best way but I'm just about to get some tea so will post back later or in the morning if know one else has responded before then
Snaff
Posts: 172
Joined: Wed Jan 20, 2021 8:26 pm

Yes that’s it Dallas we are on the same page now 😆. I will have a mess around and see if I figure it out. Thanks for the pointers 👍
User avatar
Dallas
Posts: 23597
Joined: Sun Aug 09, 2015 10:57 pm

Snaff wrote:
Wed Jul 19, 2023 6:48 pm
Yes that’s it Dallas we are on the same page now 😆. I will have a mess around and see if I figure it out. Thanks for the pointers 👍
At the time of writing my last message I was thinking I must have made something along these lines as an example before now
So just had a quick search and there is this one which you could probably adapt or at least copy from the basic foundations
viewtopic.php?f=58&t=15466
Snaff
Posts: 172
Joined: Wed Jan 20, 2021 8:26 pm

Thanks Dallas 👍👍
User avatar
Dallas
Posts: 23597
Joined: Sun Aug 09, 2015 10:57 pm

Snaff wrote:
Wed Jul 19, 2023 9:25 pm
Thanks Dallas 👍👍
No probs, if you get stuck anywhere with it just pop a message up with where you've got up to
Post Reply

Return to “Bet Angel - Automation”