Skip to content

In Exception handling response value is not define. #10

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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