Skip to content
This repository has been archived by the owner on Jul 23, 2024. It is now read-only.

Description error message when Command failed has occured #5

Open
Blackout76 opened this issue Sep 28, 2020 · 0 comments
Open

Description error message when Command failed has occured #5

Blackout76 opened this issue Sep 28, 2020 · 0 comments

Comments

@Blackout76
Copy link

According to the doc: http://developers.xstore.pro/documentation/#output-data-format
Can you integrate the description of the command failed instead of simple "command failed" message?

In: XTBApi/exceptions.py l18
self.msg = "command failed" to self.msg =response['errorDescr']

Example:
If I use client.check_if_market_open(['FB']) that will return me only "Command failed" and that is not help to undestand why its failed

Thx.

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

No branches or pull requests

1 participant