PostPromoter Change vote_value to use market prices by lightproject

View this thread on steempeak.com
· @lightproject ·
$1.58
PostPromoter Change vote_value to use market prices
#### Repository
https://github.com/MattyIce/postpromoter/pull/98

### PostPromoter bug fix
Change vote_value to use market prices. Median prices are only closer estimates of payout for votes sold on post older than 5.25 days (7 day minus half median time).

By calculating vote value based on current steem market price instead of median price, we can correctly apply a fair fill limit and vote calculation.

#### GitHub Account
https://github.com/AusPrinzip
đź‘Ť  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 58 others
properties (23)
post_id67,038,748
authorlightproject
permlinkpostpromoter-change-votevalue-to-use-market-prices
categoryutopian-io
json_metadata{"app":"steemit\/0.1","tags":["utopian-io","bug-hunting"],"format":"markdown","links":["https:\/\/github.com\/MattyIce\/postpromoter\/pull\/98","https:\/\/github.com\/AusPrinzip"]}
created2018-12-05 20:03:15
last_update2018-12-05 20:03:15
depth0
children7
net_rshares2,680,174,482,373
last_payout2018-12-12 20:03:15
cashout_time1969-12-31 23:59:59
total_payout_value1.230 SBD
curator_payout_value0.352 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length458
author_reputation26,777,977,837,039
root_title"PostPromoter Change vote_value to use market prices"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (122)
@inertia ·
For bots that accept both STEEM and SBD, hopefully they are also **not** using the Median price to figure what the STEEM is worth as SBD and SBD worth as STEEM when ranking bid windows internally.
properties (22)
post_id67,049,012
authorinertia
permlinkre-lightproject-postpromoter-change-votevalue-to-use-market-prices-20181206t014345024z
categoryutopian-io
json_metadata{"app":"steemit\/0.1","tags":["utopian-io"]}
created2018-12-06 01:43:45
last_update2018-12-06 01:43:45
depth1
children1
net_rshares0
last_payout2018-12-13 01:43:45
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length196
author_reputation227,335,189,892,062
root_title"PostPromoter Change vote_value to use market prices"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@lightproject ·
Yes exactly. Addressing your concern in regards of 'postpromoter' software I have tackled the issue by enforcing steem market price in the 'Fill Limit' internal function.
properties (22)
post_id67,167,830
authorlightproject
permlinkre-inertia-re-lightproject-postpromoter-change-votevalue-to-use-market-prices-20181208t203859614z
categoryutopian-io
json_metadata{"app":"steemit\/0.1","tags":["utopian-io"]}
created2018-12-08 20:39:00
last_update2018-12-08 20:39:00
depth2
children0
net_rshares0
last_payout2018-12-15 20:39:00
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length170
author_reputation26,777,977,837,039
root_title"PostPromoter Change vote_value to use market prices"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@amosbastian ·
$9.96
Thanks for the contribution, @lightproject! Since you submitted it to the bug hunting category, and it doesn't really follow their [guidelines](https://join.utopian.io/guidelines/) (the project must be included in the Utopian bug hunting whitelist, or must be associated to a bug hunting task request), we've decided to change it to the development category instead.

It's a small change, but a pretty important one. Great work!

---

Need help? Write a ticket on https://support.utopian.io/. 
Chat with us on [Discord](https://discord.gg/uTyJkNm). 
[[utopian-moderator]](https://join.utopian.io/)
đź‘Ť  , , , , , , , , , , , ,
properties (23)
post_id67,155,947
authoramosbastian
permlinkre-lightproject-postpromoter-change-votevalue-to-use-market-prices-20181208t142502618z
categoryutopian-io
json_metadata{"app":"steemit\/0.1","links":["https:\/\/join.utopian.io\/guidelines\/","https:\/\/support.utopian.io\/","https:\/\/discord.gg\/uTyJkNm","https:\/\/join.utopian.io\/"],"tags":["utopian-io"],"users":["lightproject"]}
created2018-12-08 14:25:03
last_update2018-12-08 14:25:03
depth1
children2
net_rshares16,189,658,486,552
last_payout2018-12-15 14:25:03
cashout_time1969-12-31 23:59:59
total_payout_value7.519 SBD
curator_payout_value2.437 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length597
author_reputation174,225,255,912,876
root_title"PostPromoter Change vote_value to use market prices"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (13)
@lightproject ·
Hi , my pleasure, thanks for the kind attention. Have a good one.
properties (22)
post_id67,167,596
authorlightproject
permlinkre-amosbastian-re-lightproject-postpromoter-change-votevalue-to-use-market-prices-20181208t203142565z
categoryutopian-io
json_metadata{"app":"steemit\/0.1","tags":["utopian-io"]}
created2018-12-08 20:31:42
last_update2018-12-08 20:31:42
depth2
children0
net_rshares0
last_payout2018-12-15 20:31:42
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length65
author_reputation26,777,977,837,039
root_title"PostPromoter Change vote_value to use market prices"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@utopian-io ·
Thank you for your review, @amosbastian! Keep up the good work!
properties (22)
post_id67,248,143
authorutopian-io
permlinkre-re-lightproject-postpromoter-change-votevalue-to-use-market-prices-20181208t142502618z-20181210t180643z
categoryutopian-io
json_metadata{"app":"beem\/0.20.9"}
created2018-12-10 18:06:45
last_update2018-12-10 18:06:45
depth2
children0
net_rshares0
last_payout2018-12-17 18:06:45
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length63
author_reputation152,913,012,544,965
root_title"PostPromoter Change vote_value to use market prices"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@utopian-io ·
Hey, @lightproject!

**Thanks for contributing on Utopian**.
We’re already looking forward to your next contribution!

**Get higher incentives and support Utopian.io!**
 Simply set @utopian.pay as a 5% (or higher) payout beneficiary on your contribution post (via [SteemPlus](https://chrome.google.com/webstore/detail/steemplus/mjbkjgcplmaneajhcbegoffkedeankaj?hl=en) or [Steeditor](https://steeditor.app)).

**Want to chat? Join us on Discord https://discord.gg/h52nFrV.**

<a href='https://steemconnect.com/sign/account-witness-vote?witness=utopian-io&approve=1'>Vote for Utopian Witness!</a>
properties (22)
post_id67,164,695
authorutopian-io
permlinkre-postpromoter-change-votevalue-to-use-market-prices-20181208t184407z
categoryutopian-io
json_metadata{"app":"beem\/0.20.9"}
created2018-12-08 18:44:09
last_update2018-12-08 18:44:09
depth1
children0
net_rshares0
last_payout2018-12-15 18:44:09
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length594
author_reputation152,913,012,544,965
root_title"PostPromoter Change vote_value to use market prices"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@partiko ·
Thank you so much for sharing this amazing post with us!

Have you heard about Partiko? It’s a really convenient mobile app for Steem! With Partiko, you can easily see what’s going on in the Steem community, make posts and comments (no beneficiary cut forever!), and always stayed connected with your followers via push notification!

Partiko also rewards you with Partiko Points (3000 Partiko Point bonus when you first use it!), and Partiko Points can be converted into Steem tokens. You can earn Partiko Points easily by making posts and comments using Partiko.

We also noticed that your Steem Power is low. We will be very happy to delegate 15 Steem Power to you once you have made a post using Partiko! With more Steem Power, you can make more posts and comments, and earn more rewards!

If that all sounds interesting, you can: 

- Download Partiko Android at [Google Play](http://bit.ly/2SRFIta)
- Or Download Partiko iOS on the [App Store](https://apple.co/2PcXkSd)

Thank you so much for reading this message!
properties (22)
post_id68,968,832
authorpartiko
permlinkpartiko-re-lightproject-postpromoter-change-votevalue-to-use-market-prices-20190118t112039379z
categoryutopian-io
json_metadata{"app":"partiko"}
created2019-01-18 11:20:39
last_update2019-01-18 11:20:39
depth1
children0
net_rshares0
last_payout2019-01-25 11:20:39
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length1,019
author_reputation39,204,266,552,701
root_title"PostPromoter Change vote_value to use market prices"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000