python-fints
python-fints copied to clipboard
Consorsbank Depot
Hello and thanks for the great tool.
I have an account at Consorbank and can request my bank account without problems. However, if I try to request my depot it is not possible to fetch it and I am not sure why. Has anyone figured out how it works?
Thank you
That's what I try:
consor_client = FinTS3PinTanClient(
'***', # My bank's BLZ
'***', # My login name
getpass.getpass('PIN Consor:'),
'https://brokerage-hbci.consorsbank.de/hbci'
)
accounts = consor_client.get_sepa_accounts()
print(accounts) # Returns my bank account
holding = consor_client.get_holdings(accounts[0])
print(holding)
# Returns
# Dialog response: 9050 - Nachricht teilweise fehlerhaft.
# Dialog response: 9380 - Keine Berechtigung für diese Auftragsart mit diesem Konto.
The debug log shows amongst other things (I can send you the full log if needed):
fints.formals.Response( # Rückmeldung
code = '3050',
reference_element = None,
text = 'UPD nicht mehr aktuell. Aktuelle Version folgt.',
),
fints.formals.Response( # Rückmeldung
code = '3920',
reference_element = None,
text = 'Zugelassene Ein- und Zwei-Schritt-Verfahren für den Benutzer',
parameters = [
'999',
],
),
The allowed transaction of my depot:
allowed_transactions = [ # Erlaubte Geschäftsvorfälle
fints.formals.AllowedTransaction( # Erlaubte Geschäftsvorfälle
transaction = 'HKWPD',
required_signatures = 1,
),
fints.formals.AllowedTransaction( # Erlaubte Geschäftsvorfälle
transaction = 'HKPRO',
required_signatures = 1,
),
fints.formals.AllowedTransaction( # Erlaubte Geschäftsvorfälle
transaction = None,
required_signatures = None,
),
# 996 empty items skipped
DEBUG:fints.client:No HIWPD response segment found - maybe account has no holdings?