Help to place a bet based on volume on selection

Servants, just tap your bell to call them.
Post Reply
frederiklindbo
Posts: 7
Joined: Sat Feb 13, 2021 10:50 am

Hello,

Can someone assist me with a (what should be) simple command in a servant.
I want it to place a lay bet in this instance but ONLY when the unmatched lay volume(highlighted in yellow in the image) is below 25000.-
Simple as that :-)
However when I activate my servant it places a lay bet even though the unmatched volume is above 25000.-

What am I doing wrong here?
Thank you in advance for your assitance :)
You do not have the required permissions to view the files attached to this post.
User avatar
jimibt
Posts: 3641
Joined: Mon Nov 30, 2015 6:42 pm
Location: Narnia

to do this, you'll need to store the volume of the selection, for the price, in a stored value and base the context selection value against that.

You are currently basing it on the Unmatched Bets Amount (which would relate to your own unmatched bets on the selection - i.e. as a number).
User avatar
Dallas
Posts: 22673
Joined: Sun Aug 09, 2015 10:57 pm
Location: Working From Home

frederiklindbo
Posts: 7
Joined: Sat Feb 13, 2021 10:50 am

Thanks so much! :)
Post Reply

Return to “Bet Angel - Servants”