Update README.rst

Trying to get the formatting correct.
This commit is contained in:
GenusGeoff
2021-03-01 20:10:25 -05:00
committed by GitHub
parent 214a03a1ef
commit f2b3b9c99d

View File

@@ -159,18 +159,18 @@ day on 12-31 of each year. The intraday frequencies are specified using an inte
.. code-block:: python
# You can obtain cryptocurrency metadata using the following method.
client.get_crypto_metadata(['BTCUSD'], fmt='json')
# You can obtain cryptocurrency metadata using the following method.
client.get_crypto_metadata(['BTCUSD'], fmt='json')
# You can obtain top-of-book cryptocurrency quotes from the ``get_crypto_top_of_book()`` method.
You can obtain top-of-book cryptocurrency quotes from the ``get_crypto_top_of_book()`` method.
# NOTE: Crypto symbol MUST be encapsulated in brackets as a Python list!
crypto_price = client.get_crypto_top_of_book(['BTCUSD'])``
# NOTE: Crypto symbol MUST be encapsulated in brackets as a Python list!
crypto_price = client.get_crypto_top_of_book(['BTCUSD'])``
# You can obtain historical Cryptocurrency price quotes from the get_crypto_price_history() method.
You can obtain historical Cryptocurrency price quotes from the get_crypto_price_history() method.
# NOTE: Crypto symbol MUST be encapsulated in brackets as a Python list!
client.get_crypto_price_history(tickers = ['BTCUSD'], startDate='2020-12-2', endDate='2020-12-3', resampleFreq='1Hour')
# NOTE: Crypto symbol MUST be encapsulated in brackets as a Python list!
client.get_crypto_price_history(tickers = ['BTCUSD'], startDate='2020-12-2', endDate='2020-12-3', resampleFreq='1Hour')
Further Docs
-------------