Skip to main content

woostream

Stream fills & position updates from Woo X.

Installation

PyPI

woostream is available as a Python package on PyPI and can be installed as:

pip install woostream

How to run

woostream is executable as a command line utility:

# Example command, outputting to the shell
python -m woostream \
  --network testnet \
  --application-id 6a9b8f2b-3969-4c96-b127-b6649b7d976d \
  --api-public-key r0Ln7xEfpO/lEubPuEE7ug== \
  --api-secret-key XTXL4TUAN6WLCPLXAIYNYTL2MPLP 

Learn how to get application-id, api-public-key and api-secret-key here.

network can be either mainnet or testnet; the former points to x.woo.org, whilst the latter to x.staging.woo.org.

Telegram forwarding

It's possible to output to a Telegram channel in addition to the shell, by specifying telegram-token and telegram-chat-id.

Learn how to get a telegram-token here.

You can get a telegram-chat-id by logging into web.telegram.org/k, selecting a group chat you control and fetching the chat ID from the URL bar:

Screen Shot 2023-04-27 at 13 29 58

Here the chat ID is -855125383.

Then replace the command-line arguments accordingly:

python -m woostream
  --network testnet \
  --application-id 6a9b8f2b-3969-4c96-b127-b6649b7d976d \
  --api-public-key r0Ln7xEfpO/lEubPuEE7ug== \
  --api-secret-key XTXL4TUAN6WLCPLXAIYNYTL2MPLP \
  --telegram-token [TELEGRAM_TOKEN] \
  --telegram-chat-id [TELEGRAM_CHAT_ID]

Note that that Telegram's API has a rate limit of 30 messages per second - in any case, messages will continue to be broadcasted to the shell.

Metadata

Release files for woostream 0.1.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for woostream 0.1.7
File Size Uploaded Provenance Actions
woostream-0.1.7.tar.gz 3.9 kB Without provenance Details for woostream-0.1.7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for woostream 0.1.7
File Interpreter ABI Platform Actions
woostream-0.1.7-py3-none-any.whl Python 3 none any Details for woostream-0.1.7-py3-none-any.whl

Total release size: 8.1 kB

Release files / woostream-0.1.7.tar.gz

Download URL woostream-0.1.7.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
8e2d0ef21359c3637b135ed0fb85a0db1e4326827a4ec969f700394605a0ecee
BLAKE2b-256 checksum
How to use checksums
18864ffb1af864760588c410e8f9c132170a793d3047d59d10b681fe1811b32b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.4.2 CPython/3.11.3 Darwin/21.2.0

Release files / woostream-0.1.7-py3-none-any.whl

Download URL woostream-0.1.7-py3-none-any.whl
Size 4.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1bc2e1c4db6c88c6d2552b39bf052111af4c32024a6e9ab7d705d2752266e169
BLAKE2b-256 checksum
How to use checksums
2dd18aeea4ec61186039473eb682aa13cdcbfeb8563447ac31125273b4ab5166
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.4.2 CPython/3.11.3 Darwin/21.2.0

Security for woostream 0.1.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page