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

Description error message when Command failed has occured #5

@Blackout76

Description

@Blackout76

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions