Skip to content
/ meteor Public

A library for collecting real-time market data from popular cryptocurrency exchanges via web socket using Python 3.8 or above.

Notifications You must be signed in to change notification settings

h0wang/meteor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

meteor

meteor is a library for collecting market data from popular cryptocurrency exchanges via web socket using Python 3.8 or above.

Basic Useage

import asyncio

from meteor import Subscriber
from meteor.subscription import CoinbaseTradeSubscription

event_loop = asyncio.get_event_loop()
queue = asyncio.Queue()

subscription = CoinbaseTradeSubscription("BTCUSD")
subscriber = Subscriber(subscription, queue)

event_loop.run_until_complete(subscriber.subscribe())

Demonstration

$ python -m meteor --currency_pair BTCUSD ETHGBP

License

meteor is developed and distributed under the Apache 2.0 license.

About

A library for collecting real-time market data from popular cryptocurrency exchanges via web socket using Python 3.8 or above.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages