Skip to content

In Exception handling response value is not define. #10

@darshankhuntjainam

Description

@darshankhuntjainam

When We call any function like xt.get_option_symbol() and if it goes to Execption, the below error shows.

File "/home/Admin/Desktop/xts-pythonclient/Connect.py", line 716, in get_option_symbol
return response['description']
UnboundLocalError: local variable 'response' referenced before assignment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions