@Raunak, @Kaveh or anybody,
How to get procentage of return? Cant find in api playground.
Please advise.
Thank you
When you request proposal call you get payout, ask_price. Based on that you can calculate return % using this formula ((payout - ask_price) / ask_price) * 100
payout
ask_price
((payout - ask_price) / ask_price) * 100
As per above screenshot
((10-5.40)/5.40)*100 = 85.18
Thank you very much @Raunak
Comments
When you request proposal call you get
payout
,ask_price
. Based on that you can calculate return % using this formula((payout - ask_price) / ask_price) * 100
As per above screenshot
((10-5.40)/5.40)*100 = 85.18
Thank you very much @Raunak