diff --git a/src/v20/pricing.py b/src/v20/pricing.py index 83f6797..f896ddb 100644 --- a/src/v20/pricing.py +++ b/src/v20/pricing.py @@ -813,6 +813,7 @@ def __call__(self, line): def candles( self, + accountID, instrument, **kwargs ): @@ -820,6 +821,8 @@ def candles( Fetch candlestick data for an instrument. Args: + accountID: + Account Identifier instrument: Name of the Instrument price: @@ -873,6 +876,11 @@ def candles( '/v3/accounts/{accountID}/instruments/{instrument}/candles' ) + request.set_path_param( + 'accountID', + accountID + ) + request.set_path_param( 'instrument', instrument