From d1d25e3419e9ca8e40c6b840b06e1615d6f1a104 Mon Sep 17 00:00:00 2001 From: Nicolas Torneri Date: Tue, 8 Sep 2020 23:01:09 +0200 Subject: [PATCH] fix missing account id in pricing.candles api --- src/v20/pricing.py | 8 ++++++++ 1 file changed, 8 insertions(+) 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