-
Notifications
You must be signed in to change notification settings - Fork 102
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
not seeing balances #15
Comments
Any chance your new API key doesn't have the correct permissions? |
read info, trade limit and trade market enabled,new api and secret just created |
was a typo error on the api key, and now seems to be running but showing other errors TypeError: unsupported operand type(s) for *: 'NoneType' and 'float' what should be expected as an correct output ? the lines bellow keeps repeating on my powershell terminal �[0m |
this is the log i got last 2018/04/30 10:36:13 AM - ERROR: Failed to fetch Bittrex market summary for the BTC-USDT market. |
In your
i.e. Do you have the |
I just pushed an update that should hopefully fix your issue. Please check it out and lemme know if its :) |
nope... my app-data.json has the same structure, but numbers, the previous balance is null... downloaded the new and no changes... remains the same error 2018/04/30 03:02:09 PM - ERROR: Failed to fetch Bittrex market summary for the BTC-USDT market. |
what is expected to see when works ? it needs to let it running,i know but i wanna know how it behave thanks for the fast repply, i am looking for a nice trading bot |
So this functionality is purely to send balance summary slack messages. If you're not using the slack integration, or just want to leave out the balance notifications, I'd suggest just deleting
The issue here is that Bittrex is failing to fetch the market price (which it sometimes does). It shouldn't crash the program (if it's crashing, please let me know), and it shouldn't cause any issues - but I'm looking into a fix now 👍 |
Just pushed the fix. Please let me know if it works. |
now just dont run... it gives this message on command line: PS C:\Users\Leonardo\Desktop\Crypto-Trading-Bot-master\src> python app.py i am using your given example of settings.json |
Please have a look at the README and make sure your settings file is correct. The bot needs those configurations to operate correctly. |
i have looked, have edited app.py, got it running, but without some parameters, but deleted and downloaded again,created new APIs and settings file like readme... but the error seems the same: 2018/05/01 08:46:22 AM - ERROR: Failed to fetch Bittrex market summary for the BTC-USDT market. i am using windows 10 but all pyhton scripts mostly works fine to me thanks for the response, and lets get it running !! |
i am giving it up bro...now it replaces the content of json files with default values... |
If it's overwriting the JSON file, it means it failed to read it and there's most likely an issue in your files formatting. As for your initial error, it's still a Bittrex issue, but I believe I know how to work around it. |
I just pushed a fix that should hopefully fix your crashing issue. |
just find out, that when i put gmail credentials it causes the code to overwrite the entire json file, so i just put the API keys and got it running... but another error, check the log: 2018/05/01 05:08:51 PM - ERROR: 'buy' |
the BTC-USDT error seems to been fixed !!! |
if its not trouble for you, lets keep it going till it runs properly ? |
I'd suggest deleting your |
deleting app-data.json just gets the bot to make another one, i am getting this error, i changed 3 times API keys on bittrex, but i dont think it is the bug... 2018/05/04 01:44:35 PM - ERROR: 'buy' |
Mhhh are you sure all your JSON files are in the correct format and contain all the required key-value pairs? |
i have not used your bot anymore, i´ve been trying this gekko bot...
have you updated ?
2018-05-23 20:39 GMT-03:00 JP Strydom <notifications@github.com>:
… Mhhh are you sure all your JSON files are in the correct format and
contain all the required key-value pairs?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#15 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AWbCpA3D8QoQy5XS_OFPx31xFBumnUkgks5t1fNEgaJpZM4TsjP0>
.
|
I have the same issue under linux, following are in the log:
|
Are you sure you're using the latest version of the repo? |
just added new api keys from bittrex, got python full working and deps tru pip... created json files and this outputs on log:
2018/04/30 09:02:00 AM - ERROR: 'NoneType' object is not iterable
Traceback (most recent call last):
File "app.py", line 94, in
Trader.analyse_pauses()
File "C:\Users\Leonardo\Desktop\Crypto-Trading-Bot-master\src\trader.py", line 49, in analyse_pauses
self.Database.get_previous_total_balance())
File "C:\Users\Leonardo\Desktop\Crypto-Trading-Bot-master\src\messenger.py", line 221, in send_balance_slack
for balance in balance_items:
TypeError: 'NoneType' object is not iterable
2018/04/30 09:02:30 AM - ERROR: Failed to fetch user Bittrex balances.
2018/04/30 09:02:30 AM - ERROR: 'NoneType' object is not iterable
Traceback (most recent call last):
File "app.py", line 94, in
Trader.analyse_pauses()
File "C:\Users\Leonardo\Desktop\Crypto-Trading-Bot-master\src\trader.py", line 49, in analyse_pauses
self.Database.get_previous_total_balance())
File "C:\Users\Leonardo\Desktop\Crypto-Trading-Bot-master\src\messenger.py", line 221, in send_balance_slack
for balance in balance_items:
TypeError: 'NoneType' object is not iterable
2018/04/30 09:02:41 AM - ERROR: Failed to fetch user Bittrex balances.
2018/04/30 09:02:41 AM - ERROR: 'NoneType' object is not iterable
The text was updated successfully, but these errors were encountered: