XTBApi icon indicating copy to clipboard operation
XTBApi copied to clipboard

Description error message when Command failed has occured

Open Blackout76 opened this issue 5 years ago • 0 comments

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.

Blackout76 avatar Sep 28 '20 14:09 Blackout76