decred / dcrticketbuyer

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

max min target refinement #78

Closed raedah closed 7 years ago

raedah commented 7 years ago

Currently the max and min target options work based on estimate price, even though estimatestakediff shows the min and max ticket price for the next window. Min target should be watching the min price for the next window and buy based on that instead of the estimate price. That way the users ticket buyer will not contribute to raising the price beyond the min target that was specified, and same for max. For this to all go down well, it will also need to use a dynamic # of tickets to buy per window, so that if the number of blocks remaining in the window is small, then the buyer will be able to buy as many tickets as needed to get the the specified target price. Also of note here, is that target price should take a static price setting in addition how it is currently done using a percentage.

raedah commented 7 years ago

wont do because price scale targeting is deprecated