This project uses ccxtpro to stream market data from exchanges. You can use this project to stream market data from exchanges to a queue. You can select which exchanges and which symbols you want to stream. by arguments or by a zookeepernode.
Project description
ccxt-market-ticker
This library can be used to use the ccxt library to get the ticker of all markets of an exchange. The library also provides a function to get the ticker of all markets of all exchanges with MQListener and MQPublisher.
MQListener Example:
from marketticker.MQListener import MQListener
from marketticker.Symbol import Symbol
listener = MQListener("localhost", 5672, "test", "test")
listener.connect()
class YourListener:
def onMarketDataReceived(self, data):
print("1: " + str(data))
def onMarketTickerReceived(self, data):
print("1: " + str(data))
listener.followMarketTicker("binance", Symbol("BTC/USDT"), "1m", YourListener())
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ccxt-market-ticker-0.0.1.tar.gz.
File metadata
- Download URL: ccxt-market-ticker-0.0.1.tar.gz
- Upload date:
- Size: 8.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
51e34f885a60912ed8132acafb89faa1017c75197af6a8c31db346c3c6e4ce04
|
|
| MD5 |
63e01619cafabbde701b996a08c9cf7a
|
|
| BLAKE2b-256 |
7e8de3d01aa45173ea5e88b13f92c67381eee4eda23011b87258b4d4bf092e15
|
File details
Details for the file ccxt_market_ticker-0.0.1-py3-none-any.whl.
File metadata
- Download URL: ccxt_market_ticker-0.0.1-py3-none-any.whl
- Upload date:
- Size: 12.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4a14b6772c9ebe4325249aed868097a0290117148c11bb74678c046d53eca837
|
|
| MD5 |
5ec599ed4af9876f217fb5176ca852b4
|
|
| BLAKE2b-256 |
c78d7286ef5098ac3e8ff2d4a81ff7314c85f2946f1981717d9a9b434b9fa591
|