Giter Site home page Giter Site logo

Comments (4)

nberrisford avatar nberrisford commented on July 22, 2024 1

Hi Bernard

I have tested the current aspect of the international currency conversion and can confirm that it seems to work well. Great work and many thanks!

Best regards,
Niall

from coinsta.

PyDataBlog avatar PyDataBlog commented on July 22, 2024

Hi Bernard

I'm currently using the following code which derives the current value of BTC against US Dollars:

# import the Current class from coinsta.core import Current

# get current market information on a specified crypto btc_current = Current.get_current('btc') # a pandas dataframe object

#print(btc_current) btc_current_price = btc_current.loc['price'] [0] print(btc_current_price)

However, as I live in the UK, it would be really useful to be able to derive the current value of BTC against GBP (British Pounds), and maybe even EUR (Euros)!

Best regards,
Niall

Hi Niall,

The next version of Coinsta will be updated to accommodate currency conversions as well as support the new PRO CoinMarketAPI as CoinMarketCap has chosen to deprecate their public API.

In preparation for this migration, make sure to get an API key from CoinMarketCap API Signup which you will need to access the Current classes in the upcoming version which should be released soon.

from coinsta.

PyDataBlog avatar PyDataBlog commented on July 22, 2024

Hi Bernard

I'm currently using the following code which derives the current value of BTC against US Dollars:

# import the Current class from coinsta.core import Current

# get current market information on a specified crypto btc_current = Current.get_current('btc') # a pandas dataframe object

#print(btc_current) btc_current_price = btc_current.loc['price'] [0] print(btc_current_price)

However, as I live in the UK, it would be really useful to be able to derive the current value of BTC against GBP (British Pounds), and maybe even EUR (Euros)!

Best regards,
Niall

Hi Niall. Coinsta has now been updated to support currency conversions for the current classes. Please upgrade and use your API key to get the data that you want. Over 150 fiat currencies supported currently. Please close the issue if the new implementation works for you.

from coinsta.

PyDataBlog avatar PyDataBlog commented on July 22, 2024

@nberrisford glad that it works!

from coinsta.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.