diff --git a/README.md b/README.md index 2de6635..d3b66bd 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,7 @@ from datetime import datetime import libcryptomarket poloniex = libcryptomarket.poloniex() -candles = libcryptomarket.fetch_candles( +candles = poloniex.fetch_candles( symbol="ETH/BTC", start_time=datetime(2018, 1, 1), end_time=datetime(2018, 1, 30), @@ -58,7 +58,7 @@ from datetime import datetime import libcryptomarket poloniex = libcryptomarket.poloniex() -candles = libcryptomarket.fetch_latest_candles( +candles = poloniex.fetch_latest_candles( symbols=["ETH/BTC", "LTC/BTC"], frequency="30m", frequency_count=5) @@ -87,4 +87,4 @@ request-candles --exchange poloniex --symbols ETH/BTC LTC/BTC --frequency 30m -- The project is targeting as a core but generic toolkit to query cryptocurrency market, so we are happy if you join to contribute and make it better. Please -do not hesitate to contact us (gavincyi at gmail dot com). \ No newline at end of file +do not hesitate to contact us (gavincyi at gmail dot com).