Skip to content

Commit

Permalink
Merge pull request #37 from hootnot/autochartist
Browse files Browse the repository at this point in the history
autochartist of forexlabs endpoint
  • Loading branch information
Alan Chan authored Nov 1, 2016
2 parents 544fc05 + e1e01a0 commit 6ad5336
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions oandapy/oandapy.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,13 @@ def get_orderbook(self, **params):
endpoint = 'labs/v1/orderbook_data'
return self.request(endpoint, params=params)

def get_autochartist(self, **params):
"""Returns 'Our favourites; signals from Autochartist.
Docs: http://developer.oanda.com/rest-live/forex-labs/
"""
endpoint = '/labs/v1/signal/autochartist'
return self.request(endpoint, params=params)


""" Provides functionality for access to core OANDA API calls """

Expand Down

0 comments on commit 6ad5336

Please sign in to comment.