Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ccxt-market-ticker-0.0.1.tar.gz (8.9 kB view hashes)

Uploaded Source

Built Distribution

ccxt_market_ticker-0.0.1-py3-none-any.whl (12.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page