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

Convert quote update values to numbers / strings from bytes #5

Open
svishi opened this Issue Jul 18, 2017 · 0 comments

Comments

Projects
None yet
1 participant
@svishi
Contributor

svishi commented Jul 18, 2017

When getting quote updates, the values are just dictionary objects. Would be nice to convert them into int/float/strings. Probably at this line:

for index, field in enumerate(fields):
    if field == 'NaN' or field == '':
        fields[index] = None
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment