pikers / piker

(e2e) foss trading for non-tinas
GNU Affero General Public License v3.0
103 stars 17 forks source link

FSP high level UX: parameters generated by func defs, easy hack and reload, #279

Open goodboy opened 2 years ago

goodboy commented 2 years ago

This is a follow up to #268 and obviously will tie in heavily with #270.

Our new (very very wip) @fsp api allows annotating processors both with a decorator and via introspection of the func signature. As an example, the period for a mean can be specified as a default named argument period: int = 16 and this value and annotation is loaded and a field generated in the sidepane for the fsp chart in the UI. We too add more complete support for these parameters, their side effects when changed by the user and further how to recompute history and/or copy the produced output history if needed.


ToDo: