decred / dcrticketbuyer

An automated smart ticket purchaser.
0 stars 7 forks source link

Consider available funds to tune buying aggressiveness #54

Closed raedah closed 8 years ago

raedah commented 8 years ago

This is an enhancement. Currently dcrticketbuyer applies a penalty to the number of tickets to purchase based on how high the current stake price is above the average price. This penalty could also consider the amount of funds available for purchasing tickets. A ratio of the users funds which are available but not locked can be found from 'getbalance' / 'getbalance * 0 all'. For example, I would reduce the penalty by half for every tenth of the users total funds that are available for ticket purchasing. (a tenth is 2.8 days worth based on a 28 day maturity time).

raedah commented 8 years ago

I am closing this because I consider the current penalty system less then ideal. It should probably be re-thought rather then built on top of. I do think at would make sense to consider a users available funds at some point to tune buying aggressiveness so that all available funds are utilized. I am going to think about this more and probably put as a new issue.