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
Bug or API issues? (altrank / galaxyscore script) - Reopened #159
Comments
Unfortunately the free lunarcrush api was revoked, so botassistexplorer (3c-tool) affected it as well. I guess there is no API error |
Update: I bought the API for one day from lunarcrush and the script error is the same 😔 |
Edit: The api v3 uses different endpoints and needs a auth header accept. I did take a look at the datasources.py, and my skills are way too noob for the implementation. 😅 |
Thanks, just replied to the other issue as well. Yes, these scripts need some work to match the new endpoint. Will look into this, not sure when however. |
Nice thanks! |
@dangalv @thematikma I have updated some code, using my new api3 key I got so far...
|
@cyberjunky @dangalv @amargedon Many thanks for your efforts! I will have a try later and post results. |
thank you mate! I hope you feel better, as soon as I can I will try the new config and let you know how it went |
Well, I tell you about my experience with the galaxyscore script, which is the script one I need. log
|
I agree with that. I would wish for a more attractive plan for private users. ~ $350 a year for hourly calls is nuts imho. I guess one could stop the scripts, when the market is low and safe some usd. |
I'm honestly thinking about writing some grabber from webui in the future. If it would be possible, you would only need to have Lv. 4. which is one-time payment I suppose. |
@dangalv the 10 credits was what I expected it would cost for each call (after looking at the pricing), if you could buy 20K credits and call once every hour it would not be so bad... but the 1$ per day annoys me @Gh61 if the developer api doc tool returns live data we just can scrape that ;-) no levels needed, but I can't check. |
It is possible already for free with the developer documentation (https://lunarcrush.com/developers/api/coins) . It provides a sample request, but it return the true data. So you dont need to have any Level access to get the data. However, the website is a bit difficult to scrape with no clear html id's etc. |
yeah i found that out as well, but you got a different code then me. It is also different then my created code. |
Funny the token I found there works here too... so i can 'test' now ;-) Nice! |
@dangalv I fixed the sorting issue in latest code for altrank, only tested with seperate call, since api.3commas.io is down for me.. |
Yes, the 3commas api is currently down Then when it is enabled I will keep trying to see what happens |
altrank working |
Great detail of turning off the bot when the credits or day are over :) |
I fixed the galaxyscore issue. |
Just yesterday I tried to change that parameter (desc) of galaxyscore to 0 to see if it made it work since I saw that that was what you modified in altrank but it didn't work, apparently in the update you removed it, I hope it works. Thank you |
Hi guys, sorry to be annoying again. I'm on your side
But there is an error that I don't know if it's already an API error or a bug in the altrank and galaxyscore script encoding
I haven't used these scripts for a long time since I used botassistexplorer but for some reason this script got stuck and doesn't renew the coins in the altrank list (3c-tools error, not the script)
I did a clean install of the script installing helper requirements and the error persists.
04:45 ~/3commas-cyber-bots (main)$ ./galaxyscore.py
2022-11-02 04:45:44 - galaxyscore - INFO - 3C Cyber Bot-Helper galaxyscore
2022-11-02 04:45:44 - galaxyscore - INFO - Started on Wednesday 04:45:44 2022-11-02
2022-11-02 04:45:44 - galaxyscore - INFO - Notifications are disabled
2022-11-02 04:45:44 - galaxyscore - INFO - Created example config file '/home/droidg/3commas-cyber-bots/galaxyscore.ini', edit it and restart the program
04:45 ~/3commas-cyber-bots (main)$ ^C
04:46 ~/3commas-cyber-bots (main)$ ./galaxyscore.py
2022-11-02 05:47:11 - galaxyscore - INFO - 3C Cyber Bot-Helper galaxyscore
2022-11-02 05:47:11 - galaxyscore - INFO - Started on Wednesday 05:47:11 2022-11-02
2022-11-02 05:47:11 - galaxyscore - INFO - Notifications are disabled
2022-11-02 05:47:11 - galaxyscore - INFO - Loaded configuration from '/home/droidg/3commas-cyber-bots/galaxyscore.ini'
2022-11-02 05:47:11 - galaxyscore - INFO - Reloaded configuration from '/home/droidg/3commas-cyber-bots/galaxyscore.ini'
2022-11-02 05:47:11 - galaxyscore - INFO - Fetched 3Commas pairs blacklist OK (0 pairs)
2022-11-02 05:47:11 - galaxyscore - INFO - Fetched 3Commas price OK (20522.48)
Traceback (most recent call last):
File "/home/droidg/3commas-cyber-bots/./galaxyscore.py", line 372, in
usdtbtcprice = get_threecommas_btcusd(logger, api)
File "/home/droidg/3commas-cyber-bots/helpers/threecommas.py", line 74, in get_threecommas_btcusd
if isnan(price):
TypeError: must be real number, not str
04:47 ~/3commas-cyber-bots (main)$ ./altrank.py
2022-11-02 04:48:25 - altrank - INFO - 3C Cyber Bot-Helper altrank
2022-11-02 04:48:25 - altrank - INFO - Started on Wednesday 04:48:25 2022-11-02
2022-11-02 04:48:25 - altrank - INFO - Notifications are disabled
2022-11-02 04:48:25 - altrank - INFO - Created example config file '/home/droidg/3commas-cyber-bots/altrank.ini', edit it and restart the program
04:48 ~/3commas-cyber-bots (main)$ ./altrank.py
2022-11-02 05:50:35 - altrank - INFO - 3C Cyber Bot-Helper altrank
2022-11-02 05:50:35 - altrank - INFO - Started on Wednesday 05:50:35 2022-11-02
2022-11-02 05:50:35 - altrank - INFO - Notifications are disabled
2022-11-02 05:50:35 - altrank - INFO - Loaded configuration from '/home/droidg/3commas-cyber-bots/altrank.ini'
2022-11-02 05:50:35 - altrank - INFO - Reloaded configuration from '/home/droidg/3commas-cyber-bots/altrank.ini'
2022-11-02 05:50:35 - altrank - INFO - Fetched 3Commas pairs blacklist OK (0 pairs)
2022-11-02 05:50:35 - altrank - INFO - Fetched 3Commas price OK (20520.29)
Traceback (most recent call last):
File "/home/droidg/3commas-cyber-bots/./altrank.py", line 360, in
usdtbtcprice = get_threecommas_btcusd(logger, api)
File "/home/droidg/3commas-cyber-bots/helpers/threecommas.py", line 74, in get_threecommas_btcusd
if isnan(price):
TypeError: must be real number, not str
04:50 ~/3commas-cyber-bots (main)$
Thank you and sorry for my inconvenience. Cheers
The text was updated successfully, but these errors were encountered: