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

3c.exchange ignoring paper orders #5

Closed
riodda opened this issue Jul 15, 2020 · 15 comments
Closed

3c.exchange ignoring paper orders #5

riodda opened this issue Jul 15, 2020 · 15 comments

Comments

@riodda
Copy link

riodda commented Jul 15, 2020

Hi, from the last 10 days 3c.exchange is ignoring totally all the paper orders, anybody else is having this issue ? Thanks.

@bogdanteodoru
Copy link
Owner

@riodda what do you mean "ignoring" ? Do you get an OK response from 3commas or any error whatsoever?

@riodda
Copy link
Author

riodda commented Jul 16, 2020

No errors, it simply ignores the orders while i get corretly all the prices.

@bogdanteodoru
Copy link
Owner

@riodda I'll link this up to the official GitHub because it seems to be a problem from their side.

@riodda
Copy link
Author

riodda commented Jul 17, 2020

No I actually receive and error:

Order Result {'error': 'signature_invalid', 'error_description': 'Provided signature is invalid'}

But my api hasn't changed and my code hasn't changed.
i'm using 3c.exchange i read somewhare that the endpoint url has changed for 3c.exchange from 3commas.io it might be the issue ? How is possilbe to set the endpoint ?
The strange thing is that the market data is downloaded correctly.

@bogdanteodoru
Copy link
Owner

Hmm... seems that the signature is invalid. Can you re-generate the API keys and try to see if it works with the new ones?

@riodda
Copy link
Author

riodda commented Jul 17, 2020

I have re generated api but i still have the same error.
my order function is

`def close_all_deals(_bot_id):
_error,_data = p3cw.request(
entity='bots',
action='panic_sell_all_deals',
action_id=_bot_id,
payload={ 'bot_id': _bot_id})
if _error == None:
return True
else:
return False

def start_deal(_bot_id):
_error,_data = p3cw.request(
entity='bots',
action='start_new_deal',
action_id=_bot_id,
payload={ 'bot_id': _bot_id})
if _error == None:
return _data
else:
return _error`

@riodda
Copy link
Author

riodda commented Jul 18, 2020

What about the end url ? Should be different now between 3c.exchange and 3commas.io ?

@bogdanteodoru
Copy link
Owner

@riodda, the base endpoint is: https://api.3commas.io/public/api

@riodda
Copy link
Author

riodda commented Jul 19, 2020

@riodda, the base endpoint is: https://api.3commas.io/public/api

Wasn't replaced for 3c.exchange ?

@bogdanteodoru
Copy link
Owner

This what I found on their Github so not sure.

@MoroZvlg
Copy link

#4

@bogdanteodoru
Copy link
Owner

@riodda, @MoroZvlg confirmed that in fact, 3c.exchange endpoint ignores paper trades.

@MoroZvlg
Copy link

What?
you have an "invalid_signature" error. How it's related to "ignores paper trades".
As I understand from current issue "ivalid_signature" was a real problem

@riodda
Copy link
Author

riodda commented Jul 20, 2020

Signature error is only for trades, with the same api you can use all the rest of the api.

@bogdanteodoru bogdanteodoru reopened this Jul 20, 2020
@bogdanteodoru
Copy link
Owner

@riodda I have deployed a new version (0.0.15). Please update to that and see if you encounter any other issues. The "invalid signature" problem should be fixed. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants