langchain icon indicating copy to clipboard operation
langchain copied to clipboard

Add LangChain utility for real-time crypto exchange prices

Open DominickDiaz opened this issue 2 years ago • 2 comments

This commit adds the LangChain utility which allows for the real-time retrieval of cryptocurrency exchange prices. With LangChain, users can easily access up-to-date pricing information by running the command ".run(from_currency, to_currency)". This new feature provides a convenient way to stay informed on the latest exchange rates and make informed decisions when trading crypto.

Cryptocurrency Exchange Rates

from langchain.utilities import crypto_exchange_rates import os

os.environ["ALPHAVANTAGE_API_KEY"] = ""

print(crypto_exchange_rates.AlphaVantageAPIWrapper().run("USD", "ETH"))

image

Who can review?

Community members can review the PR once tests pass. Tag maintainers/contributors who might be interested:

DominickDiaz avatar May 11 '23 05:05 DominickDiaz

Hi everyone! This is my first contribution to an open source project, so any feedback is greatly appreciated. I found a free API for real-time crypto exchange prices and wanted to share it with the community by adding the LangChain utility. With LangChain, users can easily access up-to-date pricing information by running the command ".run(from_currency, to_currency)". I hope this new feature is useful for everyone and I'm excited to continue contributing to this project!

DominickDiaz avatar May 11 '23 05:05 DominickDiaz

Hi @DominickDiaz could you rename the file to add a .py suffix? it's not recognized as a python file right now.

eyurtsev avatar May 12 '23 02:05 eyurtsev

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
langchain ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 11, 2023 9:43pm

vercel[bot] avatar Aug 11 '23 20:08 vercel[bot]