Skip to content
/ cws Public

Unofficial cryptowat.ch websockets python api

Notifications You must be signed in to change notification settings

Skpd/cws

Repository files navigation

Cryptowatch Websocket client

Simple python client for cryptowat.ch websocket streams.

Setup

Install required packages in virtual environment

Pull protobuf protocols submodule

Compile protocols

setup.sh script can do it all for you.

If you prefer to use your own virtual environment - replace path to virtual environment in VENV variable.

If you prefer different python binary - replace it PYTHON_EX variable.

Example

example_client = WebsocketClient(api_key=api_key, api_secret=api_secret)
example_client.add_handler('authenticationResult', lambda client, message: client.loger.info(message))
example_client.run()

See example/simple_subscribe.py for details.

About

Unofficial cryptowat.ch websockets python api

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published