DegiroAPI
DegiroAPI copied to clipboard
search_products doesn't work for finding a symbol
I'm using: degiro.search_products('ACWI')
And the result is:
[{
'id': '1523265',
'name': 'SPDR MSCI ACWI ETF',
'isin': 'IE00B44Z5B48',
'symbol': 'SPYY',
'contractSize': 1.0,
'productType': 'ETF',
'productTypeId': 131,
'tradable': True,
'category': 'G',
'currency': 'EUR',
'exchangeId': '194',
'orderTimeTypes': ['DAY', 'GTC'],
'gtcAllowed': True,
'buyOrderTypes': ['LIMIT', 'MARKET', 'STOPLOSS', 'STOPLIMIT', 'TRAILINGSTOP'],
'sellOrderTypes': ['LIMIT', 'MARKET', 'STOPLOSS', 'STOPLIMIT', 'TRAILINGSTOP'],
'productBitTypes': [],
'marketAllowed': True,
'limitHitOrderAllowed': False,
'stoplossAllowed': True,
'stopLimitOrderAllowed': True,
'joinOrderAllowed': False,
'trailingStopOrderAllowed': True,
'combinedOrderAllowed': False,
'sellAmountAllowed': False,
'isFund': False,
'closePrice': 123.42,
'closePriceDate': '2020-06-23',
'feedQuality': 'D15',
'orderBookDepth': 0,
'vwdIdentifierType': 'issueid',
'vwdId': '480012585',
'qualitySwitchable': False,
'qualitySwitchFree': False,
'vwdModuleId': 25
}]
I would expect to also find LYXOR MSCI ALL COUNTRY which has the symbol ACWI
Hi there,
this method "search_products" has two parameters :
- search_text : the text you search
- limit : the maximum number of product
By default this "limit" is 1.
That's why you only have one result.
Hope that helps