Skip to content

Commit

Permalink
autochartist of forexlabs endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
hootnot committed Oct 30, 2016
1 parent 544fc05 commit e1e01a0
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 e1e01a0

Please sign in to comment.