mondeja / pymarketcap

Python3 API wrapper and web scraper for https://coinmarketcap.com
https://github.com/mondeja/pymarketcap
Other
87 stars 20 forks source link

Issue with scraped historical volumen and marketcap? #24

Closed cryptonaut1357 closed 6 years ago

cryptonaut1357 commented 6 years ago

Hi,

this code:

`start = datetime(2017, 1, 1)
end = datetime(2018,3,8)
symbol1 = "BTC"

chart1 = cmc.historical(symbol1, start, end, revert=True)
chart1`

gives me this output:

`{'close': 9395.01,
  'date': datetime.datetime(2018, 3, 8, 0, 0),
  'high': 10147.4,
  'low': 9335.87,
  'market_cap': 10147.4,
  'open': 9951.44,
  'volume': 9951.44}]`

OHLC are fine just volume and market cap are are not the same as on cmc.

cmcbtcvolmcap

Did i overlook somethink?

regards

mondeja commented 6 years ago

Thank for your report. It's fixed.