You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 15, 2022. It is now read-only.
I read a lot of users are wondering how to connect to different accounts, and also people wondering why there are heavy differences between sim and trade behavior.
There is a @zenbot:conf object that is loaded with either sample-conf.js or conf.js in boot.js, and then requested with the get('conf') method. The problem is that this object doesn't take into account command parameters (including the --conf one), which results in different configurations depending on the modules implementation.
Some only request the global object (exchanges), when others parse command options to update it (trade/sim). In this case there is also the problem of --conf file rewriting other command options, while NOT rewriting the ones in @zenbot:conf, hence NO multiple accounts).
Hello,
I read a lot of users are wondering how to connect to different accounts, and also people wondering why there are heavy differences between sim and trade behavior.
There is a @zenbot:conf object that is loaded with either sample-conf.js or conf.js in boot.js, and then requested with the get('conf') method. The problem is that this object doesn't take into account command parameters (including the --conf one), which results in different configurations depending on the modules implementation.
Some only request the global object (exchanges), when others parse command options to update it (trade/sim). In this case there is also the problem of --conf file rewriting other command options, while NOT rewriting the ones in @zenbot:conf, hence NO multiple accounts).
I think the default behavior should be :
What do you think, if you are interested I can clean up my local patch and submit a PR.
Best,
The text was updated successfully, but these errors were encountered: