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

⚗️ Create a Market_data_client to support finnhub/alphavantage/Twelvedata #87

Open
mraniki opened this issue Jul 19, 2023 · 0 comments

Comments

@mraniki
Copy link
Owner

mraniki commented Jul 19, 2023

    if settings.finnhub_api_key:
        self.data_client = finnhub.Client(
            api_key=settings.finnhub_api_key)
    if settings.alphavantage_api_key:
        self.data_client = AlphavantageClient().with_api_key(
            settings.alphavantage_api_key)
    if settings.twelvedata_api_key:
        self.data_client = TDClient(apikey=settings.twelvedata_api_key)
@mraniki mraniki changed the title Create a Market_data_client to support finnhub/alphavantage/Twelvedata ⚗️ Create a Market_data_client to support finnhub/alphavantage/Twelvedata Aug 8, 2023
@mraniki mraniki added this to Talky Aug 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant