[moved this topic to tech discussion]
Interesting idea, right now the strats don't run in a browser so there is no direct communication possible.
I am working on updating the event system (see here), after with at some point even a customStratEvent that your strat can emit. They will all be reachable in the browser (or your own client subscribed to the websocket / zmq / redis pubsub). Would that allow for whatever you are trying to do?
Mean idea being that I want to keep strategies dumb and stateless, if you want your computer to play a song everytime your strat adviced a trade you can simply create a plugin / script that works with every other strategy as well.
Interesting idea, right now the strats don't run in a browser so there is no direct communication possible.
I am working on updating the event system (see here), after with at some point even a customStratEvent that your strat can emit. They will all be reachable in the browser (or your own client subscribed to the websocket / zmq / redis pubsub). Would that allow for whatever you are trying to do?
Mean idea being that I want to keep strategies dumb and stateless, if you want your computer to play a song everytime your strat adviced a trade you can simply create a plugin / script that works with every other strategy as well.