Replies: 1 comment 2 replies
-
|
You can use the dict that gets returned to create an investpy As an alternative, you can use my wrapper package tessa (https://github.com/ymyke/tessa) like so: import tessa
tessa.price_history(
query='{"id_": 1158767, "name": "Volkswagen Leasing GmbH VOWGL 1.125 04-Apr-2024", "symbol": "XS1692347526=TX", "country": "italy", "tag": "/rates-bonds/xs1692347526", "pair_type": "bonds", "exchange": "EuroTLX"}',
type_="searchobj",
) |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I have used the function:
search_result = investpy.search_quotes(text='volkswagen', products=['bonds'],
countries=['italy'], n_results=1)
and I got the result
{"id_": 1158767, "name": "Volkswagen Leasing GmbH VOWGL 1.125 04-Apr-2024", "symbol": "XS1692347526=TX", "country": "italy", "tag": "/rates-bonds/xs1692347526", "pair_type": "bonds", "exchange": "EuroTLX"}
But from here I am not able to get the latest prices or historical data for this bond.
How can I do it ?
Thank you
Beta Was this translation helpful? Give feedback.
All reactions