Can I run multiple instances of Jesse at the same time?

You can, but the setup is a little tricky. The Redis and Postgres of these sessions have to be isolated from each other. Most importantly, if you're running them on the same machine the ports have to be different. For example, one could be 9000, the other 9001, and so on.

To isolate the Redis and Postgres databases, if you're running via a native setup, you could create new users and databases for each instance and set the values in the .env file. If you're running via docker which is recommended, then you need to make modifications to the docker-compose.yml file.

It is worth mentioning that in the future it will be possible to run multiple live sessions on the same instance just like how it is for backtests or importing candles.

Last updated: 2 years ago