Converting decimals to %

Advanced automation available in Guardian - Chat with others and share files here.
Post Reply
Tim_lad
Posts: 4
Joined: Wed May 04, 2022 10:18 am

Hi,

I have created a stored value with LTP, I can't for the life of me convert the decimals to a percentage, can anyone point me in the right direction?

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

Why not just store the last traded price book% of a selection?
Tim_lad
Posts: 4
Joined: Wed May 04, 2022 10:18 am

forgive me on the terminology, I meant Lowest Traded Price, not last traded price
User avatar
Derek27
Posts: 25159
Joined: Wed Aug 30, 2017 11:44 am

To convert prices to book percentages simply divide 100 by the price.

2 becomes 100 / 2 = 50%, 3 becomes 33.33%, 4 becomes 25%, 5 becomes 20%, etc.
jamesg46
Posts: 3772
Joined: Sat Jul 30, 2016 1:05 pm

Create a stored value, with an entered amount, entered amount 1, divide 1 by the lowest traded price.
Tim_lad
Posts: 4
Joined: Wed May 04, 2022 10:18 am

Thanks for the responses, does anyone know how to make the stored value, I have attached 2 images maybe someone can tell me where im going wrong
You do not have the required permissions to view the files attached to this post.
jamesg46
Posts: 3772
Joined: Sat Jul 30, 2016 1:05 pm

Tim_lad wrote:
Mon Jun 06, 2022 10:53 am
Thanks for the responses, does anyone know how to make the stored value, I have attached 2 images maybe someone can tell me where im going wrong
You do not have the required permissions to view the files attached to this post.
Tim_lad
Posts: 4
Joined: Wed May 04, 2022 10:18 am

That's worked great. Thanks for taking the time to help, appreciate it.
Post Reply

Return to “Bet Angel - Automation”