toloco / pyoanda

Oanda’s API python wrapper. Robust and Fast API wrapper for your Forex bot Python library that wraps Oanda API. Built on top of requests, it’s easy to use and makes sense.
http://oanda.com
MIT License
65 stars 24 forks source link

Support retrieving full transaction history. #24

Closed elyobo closed 9 years ago

elyobo commented 9 years ago

When requesting full transaction history, the Oanda API only provides a url to the location that the history will eventually be available at. This provides a method for polling the location until it's available, then downloading the file, processing the content of the ZIP and extracting the result.

Note that this cannot be tested in the sandbox, as it doesn't return a valid URL for the transaction history.

landscape-bot commented 9 years ago

Code Health Repository health decreased by 1% when pulling 6d5bfd0 on elyobo:transaction-history-download into f786861 on toloco:develop.

landscape-bot commented 9 years ago

Code Health Code quality remained the same when pulling 1b9d702 on elyobo:transaction-history-download into f786861 on toloco:develop.