for example for s&p 500 stock list
sp5symbols = []
products = degiro.get_stock_list(14, 846)# get s&p 500 stock list
def get_stock_list(self, indexId, stockCountryId):
stock_list_params = {
'indexId': indexId,
'stockCountryId': stockCountryId,
'offset': 0,
'limit': None,
'requireTotal': "true",
'sortColumns': "name",
'sortTypes': "asc",
'intAccount': self.client_info.account_id,
'sessionId': self.session_id
for example for s&p 500 stock list
sp5symbols = []
products = degiro.get_stock_list(14, 846)# get s&p 500 stock list
def get_stock_list(self, indexId, stockCountryId):
stock_list_params = {
'indexId': indexId,
'stockCountryId': stockCountryId,
'offset': 0,
'limit': None,
'requireTotal': "true",
'sortColumns': "name",
'sortTypes': "asc",
'intAccount': self.client_info.account_id,
'sessionId': self.session_id