I would like to green up when I've made a profit of say 10% on my initial bet when in play.
I tried offsetting with greening but this didn't green up on over 10 markets and I ended up going from a winning to losing position on most of them.
How can I put this into an automation rule. 10% will vary depending on the bet size and I don't want to have to work out what it would be and change it every time I implement the rule.
Greening up
Two possibilities. You could use a percentage offset, 10% if backing, 11.1% if laying.Tiger wrote: ↑Sun Dec 17, 2023 4:13 pmI would like to green up when I've made a profit of say 10% on my initial bet when in play.
I tried offsetting with greening but this didn't green up on over 10 markets and I ended up going from a winning to losing position on most of them.
How can I put this into an automation rule. 10% will vary depending on the bet size and I don't want to have to work out what it would be and change it every time I implement the rule.
Or you could have a separate green-up rule that greens a selection when your green profit is greater than 10% of your stake.
Two possibilities. You could use a percentage offset, 10% if backing, 11.1% if laying.
Or you could have a separate green-up rule that greens a selection when your green profit is greater than 10% of your stake.
[/quote]
How does the bot know what 10% of my stake is? Do I have to use stored values, if so how do I do that?
Or you could have a separate green-up rule that greens a selection when your green profit is greater than 10% of your stake.
[/quote]
How does the bot know what 10% of my stake is? Do I have to use stored values, if so how do I do that?
How does the bot know what 10% of my stake is? Do I have to use stored values, if so how do I do that?
[/quote]
https://www.betangel.com/user-guide/clo ... rofit.html
Add a condition to your green up rule to green up when an amount is hit
How does the bot know what 10% of my stake is? Do I have to use stored values, if so how do I do that?
[/quote]
If you use a 10% offset, if you place a back bet at 5.5, the offset should be at 5. If you use a greening offset then it will automatically lay for 110% of your stake, netting a 10% profit if matched.
If you use a rule to green, you can calculate your stake by taking the PL of a selection you haven't traded and multiply by -1, assuming your trade was a back bet.
There's an example here in the form of a Servant, but you can easily use it as or copy it into an automation file
viewtopic.php?f=58&t=20089
viewtopic.php?f=58&t=20089