Skip to content

Fails #2

Description

@mrx23dot

from viaduct import Public
instance = Public(loadSymbols=False)
jsonResp = instance.getAllInstruments()['items']

    jsonResp = instance.getAllInstruments()['items']
  File "C:\py38_64\lib\site-packages\viaduct\public.py", line 21, in getAllInstruments
    return get("https://live.trading212.com/rest/instruments/EQUITY/1")
  File "C:\py38_64\lib\site-packages\viaduct\utils.py", line 100, in get
    raise Exception("Error " + str(response.status_code) +
Exception: Error 403 encountered, unknown error

viaduct==0.1.3

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions