Install
uv add parlayx.
What each package gives you
The streaming client is in the same package as the REST client in both
languages, so there is nothing extra to install. There is no
parlayx[stream]
extra.
Language notes
- Python
- TypeScript
ParlayX and AsyncParlayX expose the same methods over one transport, so
the two differ by await and nothing else. The stream client is async only,
because it is an async iterator.with or async with; call
close() yourself if you keep one for the life of the process.Fields accept either spelling, time_in_force or timeInForce. The wire
always carries the API’s own camelCase.Four runtime dependencies, declared as ranges rather than pins so they
resolve alongside the rest of your environment: httpx, pydantic,
cryptography and websockets.Source
@parlayx/sdk is published on npm
and parlayx on PyPI, both MIT licensed.
The bundled OpenAPI document is available at @parlayx/sdk/openapi/v1.json.