walkjivefly / LOC-Extension

LibreOffice Cryptocurrency extension
GNU Lesser General Public License v3.0
37 stars 14 forks source link

Update ccxt lib to get more exchanges #6

Open codezion opened 6 years ago

codezion commented 6 years ago

For example bibox exchange is missing, but noticed it is listed on the ccxt page as supported. Thank you for the great extension!

walkjivefly commented 6 years ago

Hi @codezion, thanks for using the extension. I too would like to use some of the new exchanges in later versions of ccxt. However, the structure of ccxt changed a handful of commits after 1.9.262 and it's not as simple as it used to be to embed it. I did hack the Binance code to include ALQO, RDN and QSP which were only supported in later versions of ccxt.

As a workaround for some coins I use the values from coinmarketcap instead. You might be able to do so too.

If someone with better Python skills than me feels like taking on the enhancement request that would be great. I'll probably get round to it one day but, sorry, it won't be soon!

codezion commented 6 years ago

Thank you for the quick response. Coinmarketcap info actually is enough. Problem with that is that price_btc does not seems to work, only last and rate works as third parameter. I use the last 0.2.3 version. So can only get out USD value, not BTC value of a coin