It's probably not easy to block the bt
internal loop and wait for an input. You will have to fetch the parameter from outside the strategy.
sockets
are too low level. If you generate the parameters in another python script and want to serve it, zeromq
is a better alternative.
If you update the parameters manually, just read from a file
, or, maybe fancier, redis
.