You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The code below works, that's not the problem. My problem is: there is always only one element in the list of dicts.
While some the isin code will be traded on different exchanges, you will expect that there are more elements in the list.
But it is not. How i search a product by isin on a specific exchange. For example: below a copy from deGiro.
As You can see: name, isin and symbol are the same, the only difference is the exchange. How I search the product traded on the Milan exchange ?
`
def login():
global dgr
dgr = degiroapi.DeGiro()
dgr.login("nnnnn", "xxxxxx")
prdcts = dgr.search_products(isin)
for prd in prdcts:
print(prd)
`
The text was updated successfully, but these errors were encountered:
When you examine the products returned by search_products, you'll notice different value of exchangeId in each of them.
The meaning of those IDs can be found here: https://trader.degiro.nl/product_search/config/dictionary. With that, you can simply loop through the products until you find the one whose exchangeId matches the exchange that you want.
For myself and others, I've added this functionality to my fork of this abandoned project: Jakub-CZ@2f89f91
The code below works, that's not the problem. My problem is: there is always only one element in the list of dicts.
While some the isin code will be traded on different exchanges, you will expect that there are more elements in the list.
But it is not. How i search a product by isin on a specific exchange. For example: below a copy from deGiro.
As You can see: name, isin and symbol are the same, the only difference is the exchange. How I search the product traded on the Milan exchange ?
`
def login():
global dgr
dgr = degiroapi.DeGiro()
dgr.login("nnnnn", "xxxxxx")
prdcts = dgr.search_products(isin)
for prd in prdcts:
print(prd)
`
The text was updated successfully, but these errors were encountered: