smarkets / smk_python_sdk

Smarkets Python SDK
http://smarkets.github.com/
MIT License
18 stars 11 forks source link

Add method to client to check login is established #18

Closed sandrovicente closed 6 years ago

sandrovicente commented 6 years ago

Method Client.login() will throw and LoginError exception if Exchange doesn't accept it. Alternatively, client postpone 'read()' upon login using 'login(False)'. In this case, a call 'client.check_login()' should follow a call to 'client.read()'

jcpetruzza commented 6 years ago

LGTM. Waiting for CI issues to be fixed