Closed james-hummingbot closed 3 years ago
So, look like better use .env files for that.
That's a good point about docker. Something to consider is that we don't want this project to be restricted to just hummingbot client or docker though. Some people are interested in using gateway for other applications because it is a nice way to wrap the JS libraries and access them in non-JS projects. Actually development branch already moved to a yaml file. That being said we can still consider the pros and cons of yaml vs env vars.
I'll be closing this ticket as it has been addressed by https://github.com/CoinAlpha/gateway-api/pull/80
Gateway api currently uses environment variables to store configs. It would be nicer to read from a yaml file. env vars can pollute the shell, especially if someone wants to run multiple gateways with different settings.