lolokraus / DegiroAPI

An unofficial API for the trading platform Degiro, with the ability to get real time data and historical data
MIT License
215 stars 84 forks source link

degiro.get_stock_list #33

Open a94stilapypiuser opened 3 years ago

a94stilapypiuser commented 3 years ago

Hello! degiro.get_stock_list(14, 846)

I am a beginner and would like to know, how i could to find out what parameter corresponds to numbers?. eg. if i want list all usa nasdaq companies.

Chavithra commented 3 years ago

Hi,

Parameters The names of the parameters are in this method signature :

    def get_stock_list(self, indexId, stockCountryId):

Possible values One way you can get the possible indices and countries is by calling this endpoint :

https://trader.degiro.nl/product_search/config/dictionary

You can open this link with your browser.

If you are looking for a python library which is maintained and documented I have made one : https://github.com/Chavithra/degiro-connector

Hope that helps