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

Refactoring #26

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Refactoring #26

wants to merge 4 commits into from

Conversation

eadains
Copy link

@eadains eadains commented Jul 2, 2015

Lots of linting. Removed excess whitespace, and unsued variables/imports. Changed StreamingForexPrices to use the Session.get() function for simplicity and readability.

The Oanda API requires lists of currency pairs to be seperated by a url-encoded comma, so I modified the way the list of currency pairs is supplied to the instruments parameter in StreamingForexPrices to do that properly.

@mhallsmoore
Copy link
Owner

Hi eadains,

Thanks for submitting the pull request. Quite a lot of changes!

Is it PEP8-acceptable to have a blank line between the function definition and its docstring?

Mike.

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

Successfully merging this pull request may close these issues.

2 participants