diff --git a/data/refdata/exchanges.cfg b/data/refdata/exchanges.cfg index 736cc8a..d1787f0 100644 --- a/data/refdata/exchanges.cfg +++ b/data/refdata/exchanges.cfg @@ -423,17 +423,26 @@ "credentials_key": "COINBASE_ADV_RO" , "api": { "REST": { - "products": { - "method": "GET" - , "url": "https://api.coinbase.com/api/v3/brokerage/products" - , "params": { - "product_type": "FUTURE" - , "contract_expiry_type": "PERPETUAL" - , "futures_underlying_type": "FUTURES_UNDERLYING_TYPE_SPOT" - # , "contract_expiry_type": "EXPIRING" # - # , "expiring_contract_status": "STATUS_UNEXPIRED" + "product_groups": [ + { + "product_type": "PERP", + "method": "GET" + , "url": "https://api.coinbase.com/api/v3/brokerage/products" + , "params": { + "product_type": "FUTURE" + , "contract_expiry_type": "PERPETUAL" + , "futures_underlying_type": "FUTURES_UNDERLYING_TYPE_SPOT" + }, + { + "product_type": "EXPIRING", + "method": "GET" + , "url": "https://api.coinbase.com/api/v3/brokerage/products" + , "params": { + "product_type": "FUTURE" + , "contract_expiry_type": "EXPIRING" + , "expiring_contract_status": "STATUS_UNEXPIRED" } - } + ] } } }