ttsteiger / cryptocompy Goto Github PK
View Code? Open in Web Editor NEWSimple Python 3 wrapper for the public CryptoCompare API.
License: MIT License
Simple Python 3 wrapper for the public CryptoCompare API.
License: MIT License
Hello!
Is there a way to get 2000 bars of hourly OHLCV data starting from a given timestamp Currently using get_historical_data('BTC', 'USD', 'hour')
, not sure how to use the toTs
feature...
I'm running some python 3 code in a juypter notebook and I tried to to do
from cryptocompy import coin, top
top.get_top_coins("USD", 10)
However I'm getting this error.
ModuleNotFoundError Traceback (most recent call last)
<ipython-input-30-d1a747a58826> in <module>()
1 import pandas
----> 2 from cryptocompy import coin, top
3
4 top.get_top_coins("USD", 10)
~\Anaconda3\lib\site-packages\cryptocompy\top.py in <module>()
1 # top.py
2
----> 3 from helper_functions import build_url, load_data
4
5 def get_top_exchanges_by_volume(fsym, tsym, limit=5):
ModuleNotFoundError: No module named 'helper_functions'
Hi,
Thank you for your work,
I have try to get historical prices from different exchanges but it does not change the exchange it seems because the price is all the time the same.
get_historical_eod_price('XMR','USD',start_date_pro111, markets='coinbase', try_conversion=True)
Is it possible to check this ? To get OHLC prices for different exchanges ?
Thanks
Gordon
When trying to get the data for two currencies, if one is not available will return a error:
Shouldn't at least return one out of two? Like on Binance there isn't a (ETH-USD) but there is (ETH-BTC) and would be nice if it would return that.
Example:
currency = ["BTC", "USD"]
data = price.get_current_price("ETH", currency, e="Binance", full=True, format="Display")
print(data)
{'Response': 'Error', 'Message': 'Binance market does not exist for this coin pair (ETH-USD)', 'Type': 1, 'Aggregated': False, 'Data': []}
Thanks for merging the pull request. I saw that there are a few other changes as well. An updated release would be great :)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.