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
Galaxyscore.py with paperaccount - error: Fetching 3Commas account failed #49
Comments
tried with release 0.7.9 it worked. but not with main branch. I close this issue |
Why close an issue which isn't fixed? I think you need to read the documentation and add AccountRead rights to your 3Commas API key |
Ok will check, thanks |
Hi, this piece of code seems to cause the issue (line 299): I commented it and it worked Did a quick check and it's also present in the code of the following scripts:
Repoduced the issue on |
But without it real mode doesn't work correctly when you put the webinterface in paper mode I think (it was an issue a while ago) |
Maybe they (3Commas) changed this behavior to work with all modes now, since it was strange behavior anyway. |
Hi, Scenario tested with galaxyscore.py (commented the line
From the official documentation of 3commas API: (speculation) It's probably true and matters for other actions through this api, but in our case, because we specify botids, it looks like it doesn't matter to be in real or paper account in webinterface. Ids are unique |
@mthad I know about that text. To recap: I would expect I can read both ids (from paper and real botid) with mode is 'real' but this fails sometime as you pointed out, and without it the reading of the 'real' account fails if web interface is in paper mode. There is other code, but this switched the mode (not only for a webcall) this is also unwanted... |
@mthad Working solution it seems: I first read account data in paper mode, if this doesn't give me the market_code for theaccount_id I read it again using real mode ;-) |
@mthad can you test with latest version? |
Hi,
Thanks for the fix ;-). |
@mthad Thank you for reporting and testing, have a happy new year too! 🍾 |
Describe the bug
Hello,
First of all thank you for sharing this amazing tools!
I tried to use galaxyscore.py using docker with paper account on 3 commas.
When I start the container, I get this error message:
Environment:
Additional context
I am using paper account on 3 commas
Thanks for your help
The text was updated successfully, but these errors were encountered: