bacsy
Unofficial async Python client for the BCS Trade API, for Python 3.12 and later.
This project is not affiliated with, endorsed by, or supported by BCS. BCS names and marks belong to their respective owners.
Getting started
uv add bacsy
Issue an API token (refresh token) in the BCS web terminal and configure it using:
uvx bacsy accounts add main
uvx bacsy tokens add main
Then, in a notebook:
from bacsy import TradeApiClient
async with TradeApiClient.from_account("main") as client:
quotes = await client.market_data.get_quotes([("SBER", "TQBR")])
for quote in quotes:
print(quote.ticker, quote.last)
Documentation
For upstream service rules, see the official BCS Trade API documentation.
Contributing
Please open an issue before starting a large change.
Trading risk
The software can submit real trading orders, and errors or interruptions may cause financial loss.
Users are responsible for evaluating and testing it, monitoring account activity, and complying with applicable brokerage and API terms.
The project does not provide investment advice or guarantee trading outcomes.
License
MIT © Sergey Kostrukov
Release files for bacsy 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| bacsy-0.1.0.tar.gz | 161.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| bacsy-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 293.3 kB
Release files / bacsy-0.1.0.tar.gz
| Download URL | bacsy-0.1.0.tar.gz |
|---|---|
| Size | 161.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
29c0a205e82365622bd19000599d4f44b586bbbf20bcbf0cf54356c0668db2fd
|
|
BLAKE2b-256 checksum How to use checksums |
016174f2a77aa6c9c7868062e0e74459a940a890f09a6b5f6e239af918d9bb02
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 20, 2026.
Transparency logRelease files / bacsy-0.1.0-py3-none-any.whl
| Download URL | bacsy-0.1.0-py3-none-any.whl |
|---|---|
| Size | 131.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c0fb89b03aeab2cd44434c10ffb14ec1b522cb977de24fb0002e43206afc954f
|
|
BLAKE2b-256 checksum How to use checksums |
f05f608d625e9c0ed22fa9d5937a694c84b8fb3dd3b5324c27bbfd9e4dd50431
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 20, 2026.
Transparency log