Crypto¶
-
pyEX.cryptocurrency.cryptocurrency.
cryptoBook
(symbol, token='', version='stable', filter='', format='json')[source] This returns a current snapshot of the book for a specified cryptocurrency. For REST, you will receive a current snapshot of the current book for the specific cryptocurrency. For SSE Streaming, you will get a full representation of the book updated as often as the book changes. Examples of each are below:
https://iexcloud.io/docs/api/#cryptocurrency-book continuous
Parameters: - symbol (str) – cryptocurrency ticker
- token (str) – Access token
- version (str) – API version
- filter (str) – filters: https://iexcloud.io/docs/api/#filter-results
- format (str) – return format, defaults to json
Returns: result
Return type: dict or DataFrame
-
pyEX.cryptocurrency.cryptocurrency.
cryptoBookDF
(symbol, token='', version='stable', filter='', format='json')[source] This returns a current snapshot of the book for a specified cryptocurrency. For REST, you will receive a current snapshot of the current book for the specific cryptocurrency. For SSE Streaming, you will get a full representation of the book updated as often as the book changes. Examples of each are below:
https://iexcloud.io/docs/api/#cryptocurrency-book continuous
Parameters: - symbol (str) – cryptocurrency ticker
- token (str) – Access token
- version (str) – API version
- filter (str) – filters: https://iexcloud.io/docs/api/#filter-results
- format (str) – return format, defaults to json
Returns: result
Return type: dict or DataFrame
-
pyEX.cryptocurrency.cryptocurrency.
cryptoPrice
(symbol, token='', version='stable', filter='', format='json')[source] This returns the price for a specified cryptocurrency.
https://iexcloud.io/docs/api/#cryptocurrency-price continuous
Parameters: - symbol (str) – cryptocurrency ticker
- token (str) – Access token
- version (str) – API version
- filter (str) – filters: https://iexcloud.io/docs/api/#filter-results
- format (str) – return format, defaults to json
Returns: result
Return type: dict or DataFrame
-
pyEX.cryptocurrency.cryptocurrency.
cryptoPriceDF
(symbol, token='', version='stable', filter='', format='json')[source] This returns the price for a specified cryptocurrency.
https://iexcloud.io/docs/api/#cryptocurrency-price continuous
Parameters: - symbol (str) – cryptocurrency ticker
- token (str) – Access token
- version (str) – API version
- filter (str) – filters: https://iexcloud.io/docs/api/#filter-results
- format (str) – return format, defaults to json
Returns: result
Return type: dict or DataFrame
-
pyEX.cryptocurrency.cryptocurrency.
cryptoQuote
(symbol, token='', version='stable', filter='', format='json')[source] This returns the quote for a specified cryptocurrency. Quotes are available via REST and SSE Streaming.
https://iexcloud.io/docs/api/#cryptocurrency-quote continuous
Parameters: - symbol (str) – cryptocurrency ticker
- token (str) – Access token
- version (str) – API version
- filter (str) – filters: https://iexcloud.io/docs/api/#filter-results
- format (str) – return format, defaults to json
Returns: result
Return type: dict or DataFrame
-
pyEX.cryptocurrency.cryptocurrency.
cryptoQuoteDF
(symbol, token='', version='stable', filter='', format='json')[source] This returns the quote for a specified cryptocurrency. Quotes are available via REST and SSE Streaming.
https://iexcloud.io/docs/api/#cryptocurrency-quote continuous
Parameters: - symbol (str) – cryptocurrency ticker
- token (str) – Access token
- version (str) – API version
- filter (str) – filters: https://iexcloud.io/docs/api/#filter-results
- format (str) – return format, defaults to json
Returns: result
Return type: dict or DataFrame