soritrading-watch-together (Python)
pip install soritrading-watch-together
asyncio, standard library only. Python 3.8+. The import name is watch_together.
import asyncio
from watch_together import connect
async def main():
api = await connect(
rest={"url": "http://127.0.0.1:27719", "token": open("local-api.token").read().strip()},
ws={"url": "ws://127.0.0.1:27720/v1", "token": open("ws-api.token").read().strip()},
name="my-bot",
uses=[{"ex": "binance", "sameKey": True, "sameHost": True}],
)
print("transport:", api.transport) # 'ws' or 'rest' - what is actually in use
api.on("signal", lambda s: print("signal", s["seq"], s["signal"]["sym"]))
api.guard.on("binance", lambda e: print("binance is now", e["level"], e["why"]))
while True:
await api.guard.clear("binance") # waits while 'hard' (bounded by the lease)
... # your own background calls
await api.report_usage("binance", 5) # optional: shown to the agent as `external`
await asyncio.sleep(1)
asyncio.run(main())
guard.level(ex)isfree,soft,hardorunknown.unknownmeans the agent has no control plane (older agent) or no state has been received yet — it is never reported asfree.api.tracker.unsupportedtells the two apart.guard.clear()never blocks onunknown.- Errors are
ApiErrorwith a machine-readablecode(andreasonfornot-contributing). Read codes, not message text.
Tests: python3 -m unittest discover -s tests runs the shared vectors in ../conformance.
Metadata
Release files for soritrading-watch-together 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| soritrading_watch_together-0.1.1.tar.gz | 13.4 kB | With provenance | Details for soritrading_watch_together-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| soritrading_watch_together-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for soritrading_watch_together-0.1.1-py3-none-any.whl |
Total release size: 27.4 kB
Release files / soritrading_watch_together-0.1.1.tar.gz
| Download URL | soritrading_watch_together-0.1.1.tar.gz |
|---|---|
| Size | 13.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1e62c961e44f4abcbdb056d330621f7da6776afaf32e1b068efb8bf6d6c47a2b
|
|
BLAKE2b-256 checksum How to use checksums |
9ce27e74fd6781cbe94021d9442940f3b7ec2cd196387f8ddf3d7c3b3dc2f7cc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 21, 2026.
Transparency logRelease files / soritrading_watch_together-0.1.1-py3-none-any.whl
| Download URL | soritrading_watch_together-0.1.1-py3-none-any.whl |
|---|---|
| Size | 14.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6ae0cad7640e5a63cd96d2c8748126f93e18b2cb59f41bf8d2633049856c8588
|
|
BLAKE2b-256 checksum How to use checksums |
fdbe71d16ee452d605e47deb0da08afb3f61099ea5ab344139e3ec048a6e3b65
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 21, 2026.
Transparency logSecurity for soritrading-watch-together 0.1.1
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for soritrading_watch_together-0.1.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 21, 2026.
Transparency logA 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.