Description error message when Command failed has occured
Blackout76 opened this issue · 0 comments
Blackout76 commented
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.