Skip to content
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

error EGeneral:Invalid arguments #15

Closed
ratio91 opened this issue Dec 15, 2017 · 5 comments
Closed

error EGeneral:Invalid arguments #15

ratio91 opened this issue Dec 15, 2017 · 5 comments

Comments

@ratio91
Copy link

ratio91 commented Dec 15, 2017

Thanks for the great work!

One problem though: I always receive the following error when placing orders:
{"error":["EGeneral:Invalid arguments"]}

Other requests such as order history, etc. work fine however.

@Endogen
Copy link
Owner

Endogen commented Dec 15, 2017

That's strange since that means that an argument for the Kraken request is not valid. Since this is working for me, it should mean that it's an issue on your side. Has to have something todo with the config file. Could you please try to verify that the content of the config is valid?

If you don't find any wrong entries, please post the content of the file here but without the 'user_id' and without the 'bot_token'

@ratio91
Copy link
Author

ratio91 commented Dec 15, 2017

{
"user_id": "",
"bot_token": "
",
"trade_to_currency": "USD",
"check_trade": true,
"check_trade_time": 30,
"history_items": 5,
"update_url": "https://raw.githubusercontent.com/endogen/Telegram-Kraken-Bot/master/telegram_kraken_bot.py",
"update_hash": ""635337d389419643ed0f7560e41b53d04223e069"",
"update_check": true,
"update_time": 86400,
"send_error": false,
"show_access_denied": true,
"used_coins": [
"XBT",
"BCH",
"ETH",
"LTC",
"XMR"
],
"coin_charts": {
"XBT": "https://tinyurl.com/y9p6g5a8",
"BCH": "https://tinyurl.com/yas7972g",
"ETH": "https://tinyurl.com/ya3fkha4",
"LTC": "https://tinyurl.com/y8n7ohfh",
"XMR": "https://tinyurl.com/y98ygfuw"
},
"log_to_file": false
}

@Endogen
Copy link
Owner

Endogen commented Dec 18, 2017

So i tried your config and it works fine. No issues for me. I just had to change USD to EUR since i don't have any dollars. Then i could create an order without issues. Did you change anything in your script? Please make sure that you use the latest version without changes.

Also, while creating a buy order for testing, please use a reasonable volume. Something that is not a floating point number. For example something like this: buy 5 ETH for 5€ each. That will not be executed because nobody is insane enough to sell you ETH for 5€ and all values are for sure valid. Kraken has some minimum order volume limits that have to be taken care of.

If you still face the issue, then please set the parameter log_to_file to True in the config, restart your bot, replicate the error and then send me the logfile (generated in the same folder as the script) so that i can take a look at it.

@ratio91
Copy link
Author

ratio91 commented Dec 20, 2017

thx. solved
(maybe it was a server error by kraken.com all along, since their service was not fully working the last weeks)...

@Endogen
Copy link
Owner

Endogen commented Dec 20, 2017

Happy to hear that it's solved. Yeah Kraken has some serious issues for a long time now. Let's hope that they can sort things out soon.

@Endogen Endogen closed this as completed Dec 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants