Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V20 Timeout #10

Closed
sameerk-k opened this issue Mar 27, 2018 · 2 comments
Closed

V20 Timeout #10

sameerk-k opened this issue Mar 27, 2018 · 2 comments

Comments

@sameerk-k
Copy link

Received this error running tests against the Oanda practise env. The error was encountered after several hours of running successfully.

File "/Applications/anaconda/lib/python3.6/site-packages/btoandav20/feeds/oandav20feed.py", line 286, in _load
if 'code' in msg:
TypeError: argument of type 'V20Timeout' is not iterable

@happydasch
Copy link
Owner

At the moment, i won't be able to fix this issue, since this is a bigger thing. The way the streaming works at the moment, it is not possible to restore the connection, i believe.

I will move the error to store instead of being passed to data feed.

@happydasch
Copy link
Owner

Added settings to store to set timeouts for api poll and stream requests. Set them to None to disable timeouts or to a higher value than the default.

stream_timeout=None,
poll_timeout=none,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants