-
Notifications
You must be signed in to change notification settings - Fork 127
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
#596 Properties fix #623
#596 Properties fix #623
Conversation
@bitProfessor just fyi i change structure slightly so that base doesn't override properties. Please adjust in Unit Test. thx. |
saw an error with balances property. working to fix this now. |
@bitProfessor some odd going on with the balances property in base and bitshares order engine. If removed from base, it creates infinite order place and cancel loop. I think possibly due to methods that depend on balances in inherited class. Have not had a look yet, but issue still needs to be resolved. |
What can I do?
On 06/22/2019 04:17, octomatic wrote:
@bitProfessor some odd going on with the balances property in base and bitshares order engine. If removed from base, it creates infinite order place and cancel loop. I think possibly due to methods that depend on balances in inherited class. Have not had a look yet, but issue still needs to be resolved.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
@PermieBTS i'm thinking about it! |
I think for the BaseStrategy - it needs to be modified so that we import the BitsharesOrderEngine and create an instance instead of inheriting it. its not really decoupled properly. For BitsharesPriceFeed, it can imported or inherited, the code split is ok |
OK, let me study it.
| |
Professor
|
|
bitprofessor@163.com
|
签名由网易邮箱大师定制
On 07/17/2019 04:44,octomatic<notifications@github.com> wrote:
What can I do? On 06/22/2019 04:17, octomatic wrote: @bitProfessor some odd going on with the balances property in base and bitshares order engine. If removed from base, it creates infinite order place and cancel loop. I think possibly due to methods that depend on balances in inherited class. Have not had a look yet, but issue still needs to be resolved. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
I think for the BaseStrategy - it needs to be modified so that we import the BitsharesOrderEngine and create an instance instead of inheriting it. its not really decoupled properly. For BitsharesPriceFeed, it can imported or inherited, the code split is ok
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
hi @thehapax,I found that the devel branch is not up to date, should I fork your branch? |
I think its followed by |
FYI - i updated the branch @bitProfessor . You also have access to modify the branch now |
okay |
I tried to reproduce the error. Can you tell me which function is called specifically when I get the error?(I have run test_base.py, test_bitshares_engine.py) |
If you remove the balances method from the base.py, i get the error.
|
1、i remove the balances method from the base.py: |
Does it work ok for SO as well? |
#596