Skip to content

Add exchange rates as convenience methods #15

Open
@melvinroest

Description

@melvinroest

https://trader.degiro.nl/trader/#/products/705366/overview is the EUR/USD exchange rate. You can find this quite easily via the main menu.

I made a convenience method as follows:

def get_euro_dollar():
    return degiro.real_time_price(705366, degiroapi.Interval.Type.One_Day)[0]['data']['lastPrice']

Is it an idea to add something like this to the codebase for multiple currencies?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions