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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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

Hashes for ccxt-market-ticker-0.0.1.tar.gz
Algorithm Hash digest
SHA256 51e34f885a60912ed8132acafb89faa1017c75197af6a8c31db346c3c6e4ce04
MD5 63e01619cafabbde701b996a08c9cf7a
BLAKE2b-256 7e8de3d01aa45173ea5e88b13f92c67381eee4eda23011b87258b4d4bf092e15

See more details on using hashes here.

File details

Details for the file ccxt_market_ticker-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for ccxt_market_ticker-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4a14b6772c9ebe4325249aed868097a0290117148c11bb74678c046d53eca837
MD5 5ec599ed4af9876f217fb5176ca852b4
BLAKE2b-256 c78d7286ef5098ac3e8ff2d4a81ff7314c85f2946f1981717d9a9b434b9fa591

See more details on using hashes here.

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