Lay runner prior to off and create trigger to back in play if odds drop below X odds.
Hi, I am brand new to BA and would really apreciate being pointed in the right direction in relation to a bot I would like to create.
I would like to lay a horse pre off by a certain duration eg 1 minute.
The horse I would like to lay would be the lowest odds selection between a certain range eg 10 - 20 (if there are multiple selections between this odds range)
I would like to lay the horse for a certain liability eg £100
I would like to set a trigger to place a back bet on this paeticular runner if the odds for this selection drop in play eg 3.0
I would like the back bet to be placed at 2.0 when the trigger is activated to either wait and be filled at 2.0 or I imagine betfair will automatically fill at best odds above 2.0 if available.
I would like the back bet to be 50 % of the original lay bet liability eg £50
The idea is to reduce the potential loss with an automatic 'red up' if and when the back bet is filled.
If it isn't possible to do this via automation - is it possible via Excel?
I don't mind if it isn't possible to originally select the runner automatically between the odds range - I would be happy to manually chose my selections using guardian for each race once I am able create a bot for the remainder.
Any assistance will be greatfuly appreciated.
Best regards
Lay runner prior to off and create trigger to back in play if odds drop below X odds.
Thanks very much for your response Dallas.
Good luck with the days trading. I look forward to your possible reply.
Best regards
If you set the rule up exactly like this it should work
General
Rule type: Place Lay bet
Arm trigger at: 00:01:00
Till: 00:00:30
Applied to: ANY selection
Allow Trigger 1 time
Parameters
Place at: Best Market Price
Stake: By Liability Back/Lay) £100
Condtions
Fixed odds condtion
Selections Lay price
Is greater than 9.8
Fixed odds condtion
Selections Back price
Is less than 21
Click the green plus icon to add another rule type
General
Rule type: Keep Bets
Arm trigger at: 00:00:25
Till: 00:00:00
Applied to: ANY selection
Allow Trigger 2 time
Rearm 5 secs
Click the green plus icon to add another rule type
General
Rule type: Place Back bet
Arm trigger at: 00:00:01 (relevent to in-play time)
Till: 00:00:00
Applied to: ANY selection
Allow Trigger 1 time
Parameters
Place at: 2.0
Stake: By fixed amount £50
Condtions
Number of Place Bet Triggers
On Selection
Is equal to 1
Fixed odds condtion
Selections last traded price
is less than 3.0
That should do it, of course try in practice mode first to see that it works ok for you
General
Rule type: Place Lay bet
Arm trigger at: 00:01:00
Till: 00:00:30
Applied to: ANY selection
Allow Trigger 1 time
Parameters
Place at: Best Market Price
Stake: By Liability Back/Lay) £100
Condtions
Fixed odds condtion
Selections Lay price
Is greater than 9.8
Fixed odds condtion
Selections Back price
Is less than 21
Click the green plus icon to add another rule type
General
Rule type: Keep Bets
Arm trigger at: 00:00:25
Till: 00:00:00
Applied to: ANY selection
Allow Trigger 2 time
Rearm 5 secs
Click the green plus icon to add another rule type
General
Rule type: Place Back bet
Arm trigger at: 00:00:01 (relevent to in-play time)
Till: 00:00:00
Applied to: ANY selection
Allow Trigger 1 time
Parameters
Place at: 2.0
Stake: By fixed amount £50
Condtions
Number of Place Bet Triggers
On Selection
Is equal to 1
Fixed odds condtion
Selections last traded price
is less than 3.0
That should do it, of course try in practice mode first to see that it works ok for you
Thank you Dallas. Very much appreciated. Would never have worked out how to set it up like that.Dallas wrote: ↑Thu Apr 06, 2017 6:08 pmIf you set the rule up exactly like this it should work
General
Rule type: Place Lay bet
Arm trigger at: 00:01:00
Till: 00:00:30
Applied to: ANY selection
Allow Trigger 1 time
Parameters
Place at: Best Market Price
Stake: By Liability Back/Lay) £100
Condtions
Fixed odds condtion
Selections Lay price
Is greater than 9.8
Fixed odds condtion
Selections Back price
Is less than 21
Click the green plus icon to add another rule type
General
Rule type: Keep Bets
Arm trigger at: 00:00:25
Till: 00:00:00
Applied to: ANY selection
Allow Trigger 2 time
Rearm 5 secs
Click the green plus icon to add another rule type
General
Rule type: Place Back bet
Arm trigger at: 00:00:01 (relevent to in-play time)
Till: 00:00:00
Applied to: ANY selection
Allow Trigger 1 time
Parameters
Place at: 2.0
Stake: By fixed amount £50
Condtions
Number of Place Bet Triggers
On Selection
Is equal to 1
Fixed odds condtion
Selections last traded price
is less than 3.0
That should do it, of course try in practice mode first to see that it works ok for you
Once you start creating rules you'll see its far less complicated to do than it forst looks when typed out like above, the majority is self explanitory and is just a case of taking it step by step.
When doing your own rules always start with it written down like you did above then work your way through it line by line crossing out each bit as its done and it'll soon come together