Closed gosuto-inzasheru closed 6 years ago
Hi, thanks for this commit. Makes a lot of sense.... I'm still a bit hesitant to merge this. I feel we should at least support percentages, otherwise it could be a bit confusing... We should also add at least an entry in the readme and in the settings.example.json.
I think we can potentially address this with the Strategy class that I mentioned earlier... ;)
In a way percentages is supported. If you fill in 66.66
and 33.33
it will do the trick (actually rebalance to 66.67
and 33.33
). It's just that with this factor calculating it is just as easy to fill in 2
and 1
or 6
and 3
. No errors can be made either, allocation will never go above 100% for example. Whatever is filled in manually, the allocation sum will always be 100%. I think this is therefore a more fool proof way of handeling manual data...
I will check out the conflict in README.md
.
Should be good now, following ca7929f.
Looks good now. Thx
Quick solution to #40. Note that this does not allow you to set percentages directly, merely give each coin 'points' which are calculated to percentages based on the total points given to all coins that are held.