websocket_test
Project description
pip install zerocap-websocket-test -i https://www.pypi.org/simple/
demo:
from zerocap_websocket_test import ZerocapWebsocketTest
API key and secret required
apiKey = “”
apiSecret = “”
websocket = ZerocapWebsocketTest(apiKey, apiSecret)
Subscribe to Market data
market_connect = websocket.get_market()
Subscription order updates and transaction records
orders_connect = websocket.get_orders()
while True:
# Get subscription messages message = websocket.get_message(market_connect) print(f"Receiving message from server: \n{message}") if not message: print("Connection close") break
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
File details
Details for the file zerocap_websocket_test-1.0.9.tar.gz
.
File metadata
- Download URL: zerocap_websocket_test-1.0.9.tar.gz
- Upload date:
- Size: 6.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 55662df4977a70a52fe41b05fb9dd07350cc668f8e55e8d7ab0df488fa556e5c |
|
MD5 | f85d37fe2a637731adecca9a303c6804 |
|
BLAKE2b-256 | 878c067f8429715f1831be7e6f429e09fc1099cb16132707a1c0ad32eb2b9e61 |