nefertiti
nefertiti copied to clipboard
Feat/limit sell orders
This feature could help a user to not lock-up too much capital. Especially, when the market drops. It could be made "notification only", however, I wanted to reduce the amount of new cli arguments. The flag could made a bit complexer like "--max-order=10,notificationonly". Not sure if that is acceptable as it is quite non-conform regarding the remaining flags.
Still no idea what was wrong with the else which was mentioned. However, the reading of the flag was in a wrong location anyhow. It doesn't need to be fetched in every iteration over the market list, just once. Further, now the --top value is adjusted for a market with: limit-opensells < top
Branch needed to a few modifications after rebasing from 196 to 202. Will open a new PR