Closed triceo closed 4 years ago
Ok, I'll start working on the update over the next few days.
@triceo I'd like your opinion / preferences regarding the biggest change: splitting of "Výše investice", that was formerly shared by both marketplaces into "Výše investice" (primary) / "Výše nákupu" (secondary). Please either ack or suggest alternative for each point.
Good questions! This took some thinking.
Thanks, you answered most of my questions except you may have misunderstood two of them:
6. I understand that minimum of 1 for secondary marketplace is hardcoded in the robot. The tool should only allow setting upper bound of the interval X. I was asking about minimum settable value of this upper bound X. Given that we agreed on 200 as step size, I can easily allow either {0,200,400,...} or {200,400,600,...} But if you want me to allow values like {1,200,400...}, that would require small hack. The hardcoded 1 should probably not be mentioned anywhere in the tool (to remain consistent with "Robot má nakupovat participace nejvýše za X" which also doesn't mention the hardcoded 1) 9. So far the tool allowed setting ranges (X to Y) where both X and Y could only come from {0, 200, 400 ..} So if user has range 2000 - 4000 in the legacy strategy, should I completely discard 2000 and go for 4000 as single value for both primary and secondary marketplace?
Ah.
Wrt. 6 - if you want to hide the 1, I'm fine with that. (The reason for why the 1 is even there is Zonky - sometimes, you get 0.01 Kč participations on the marketplace, and I simply want the robot to ignore those.) So, whether the slider starts with 0 or 200, that's hard to decide. The phrase "Investovat po 0 Kč." makes no sense, so I guess we have to start with 200.
Wrt. 9 - yeah, I think 2000-4000 should simply become 4000. Possibly with a notification.
@triceo I'm almost done with the implementation, but have one question and 2 issues that are blocking further progress:
Example strategy that fails to parse: https://gist.github.com/jhrcek/244775e4045cfadcbe3440df0cad0c85
I removed the legacy expressions locally and made "Výše nákupu" optional to work around this
Can you please modify the parser so it works?
Sample strategy that fails to parse because of that: https://gist.github.com/jhrcek/0123c84a54836edc6df9736db4db991d
Can you please check if you can parse (e.g. add that to some of your testing strategies)?
I'll check on 1 and 2, thanks for reporting. As to 3, I think it could also be "HIstorie splácení" or something like that. But if we're going with "Zdraví", at least I think it should say "Zdraví půjčky" - otherwise it could be confused with the actual health of the client.
I have fixed the two problems mentioned. I have also unified some terminology in the strategy. Please see latest updates.
When you're done with the tool, let me know - I'll release Beta 2, so that people can test both the robot and the tool together.
And of course, let me know if there's any other parser issues. Your strategy generator is a miracle. :-)
Awesome, thank you! I'll finish it today or tomorrow at the latest and let you know.
@triceo it's ready for testing on https://janhrcek.cz/natural-strategy-setup/ Please test and let me know if you find any issue. I'll open PR for RoboZonky after addressing problems you find (should there be any).
Here's bunch of pictures describing all the visible changes: 1.
2.
3.
4.
5.
6.
7.
@jhrcek I'll be releasing Beta 2 tomorrow, and I'll announce the testing version of this tool as well. Let's see what people find, if anything.
@triceo so should I do PR to robozonky.github.io? It would be awkward if people had to change the base URL / copy just the hash part to restore their strategies.. I'll just open the PR and let you decide how to release it.
Thanks. I won'ŧ be merging just yet, I want existing users to be able to use the existing tool. It's a beta, a little inconvenience is expected, I think - the current URL will be fine.
Closing this as the PR https://github.com/RoboZonky/robozonky.github.io/pull/19 was merged
Zonky has a new secondary marketplace, which allows to sell problematic loans with a discount, and to purchase these loans from other investors. This unfortunately required strategy format changes in several places.
These changes are described here (in Czech): https://github.com/RoboZonky/robozonky/wiki/RoboZonky-5.7.0:-Zm%C4%9Bny-ve-strategii
Feel free to edit if you find inconsistencies. For a specific list of changes, I suggest checking strategy source code.
As far as timing is concerned, we are in no hurry. I will probably release a beta soon. Final will be released whenever the web tool has been updated to match.