Skip to content

Instantly share code, notes, and snippets.

@FrederikBussler
Created December 22, 2019 08:52
Show Gist options
  • Save FrederikBussler/66fba70e6ce9e8f6e2ff1e4bbacd0423 to your computer and use it in GitHub Desktop.
Save FrederikBussler/66fba70e6ce9e8f6e2ff1e4bbacd0423 to your computer and use it in GitHub Desktop.
Importing Data
data = oanda.get_history(instrument='EUR_USD', # our instrument
start='2016-12-08', # start data
end='2016-12-10', # end date
granularity='M1') # minute bars # 7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment