We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I think it's a bit silly that numbers like floats and integers are returned as strings:
>>> import v20 >>> api = v20.Context(hostname='api-fxpractice.oanda.com', token='xxx', datetime_format='UNIX') >>> api.pricing.get(accountID='101-xxxx', instruments='GBP_USD').get('prices')[0].dict()['bids'][0]['price'] '1.28662' >>> api.pricing.get(accountID='101-xxxx', instruments='GBP_USD').get('prices')[0].dict()['time'] '1503089998.464826588' >>>
Is there a reason for that?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I think it's a bit silly that numbers like floats and integers are returned as strings:
Is there a reason for that?
The text was updated successfully, but these errors were encountered: