Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: __init__() got an unexpected keyword argument 'stockPriceCurrency' #29

Open
F-Jonathan opened this issue Feb 12, 2024 · 0 comments

Comments

@F-Jonathan
Copy link

F-Jonathan commented Feb 12, 2024

Code:
from borsdata_sdk import BorsdataAPI
borsdata = BorsdataAPI(myApiKey)
instruments = borsdata.get_instruments()

Error:
----> [3] instruments = borsdata.get_instruments()
TypeError: init() got an unexpected keyword argument 'stockPriceCurrency'

Message from borsdata support:
Hej,

Det är Python libet du använder som har problem med att vi lagt till fler parametrar i Json,
Det borde fungera att lägga till i Json men ditt Python lib kan inte hantera detta.
Då detta är 3d-part så behöver du själv lägga in dessa två värden i Instruments filen,

https://borsdata.se/news/orginalrapportvaluta

Mvh
Henrik

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant