-
Notifications
You must be signed in to change notification settings - Fork 131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Single account multiple workers #441
Single account multiple workers #441
Conversation
56ec150
to
d1913cd
Compare
To test this properly on GUI as well, you need to remove validation from |
Add method for caclulating operational percent Method for caclulating operational percent of asset balance available to the worker when trading same assets on different markets on single account. Add configuration settings for operational balances.
Small refactor to get unified names for properties and methods and to be able use methods instead of properties when `refresh=False` kwarg is needed.
This commit brings support for handling multiple workers on single account with assets intersections into Staggered Orders strategy. See Codaone#434 for discussion.
d1913cd
to
98af834
Compare
@PermieBTS requesting additional end-users to test single-account-multiple workers to ensure no-err on funds. |
I'm looking into ways that our DEXBot community users can help us test. So easy ways to run multiple DEXBot instances are needed. On Linux, if one creates two users, then you can run DEXBot silently in the back ground and the other can run DEXBot too.
su otheruser changes to other user To reattach and control the other bot again: ==================== |
You may ask cryptobridge team as this feature was implemented by their request and they are active users of it. |
When using single account for multiple workers, add/remove of a worker must not touch other workers orders.
|
Cryptokong is recieving training on how to test this strategy and recruit end-users to test this strategy |
@joelvai can you describe in more details of how you got error |
@bitfag sorry for delayed answer.
|
Merging of this feature is delayed until unit tested |
When removing a worker which uses account being in use by another worker too, we must not remove account subscription. This is a fix for the following condition discovered by @JoelvA: 1. Create two workers that have same account 2. Start both workers 3. Remove worker 1 4. Remove worker 2
To be consistent with param names, input field should be named as `param_name_input`.
When creating or editing worker, param values should be saved to / taken from config.
To obtain win executable for testing, go to "continuous-integration/appveyor/pr" Details -> Artifacts -> download DEXBot-gui-win64.zip |
Handle multiple workers on same account with Staggered Orders. The feature was funded by Cryptobridge.