MadeInPierre / finalynx

A minimalistic companion (CLI & web) to organize your investment portfolio, simulate its future, and reach your life goals.
https://finalynx.readthedocs.io
GNU General Public License v3.0
68 stars 13 forks source link

La récupération des startups ne fonctionne pas #91

Closed sebfar9172 closed 1 year ago

sebfar9172 commented 1 year ago

Hello

Je ne récupère pas mes investissements startups alors que l'API finary me les récupère bien

finary_api startups

sebfar9172 commented 1 year ago

J'ai ajouté cela et cela fonctionne

   # Startups
    node = start_step("Startups", tree)
    real_estate = ff.get_user_startups(session)["result"]
    for e in real_estate["startups"]:
        self._register_fetchline(
            fetched_lines=fetched_lines,
            tree_node=node,
            name=e["name"],
            amount=e["current_value"],
            id=e["slug"],
            account=e["name"],
            currency="\u20ac",
    )