Aster SDK
Spot and linear perpetual Market support for Aster,
built on typed-aster. Install with pip install tribulnation-aster.
from tribulnation.aster import AsterMarket
async with AsterMarket.new(public=True) as venue:
market = await venue.perp.market('BTCUSDT')
book = await market.depth(levels=5)
Authenticated use needs the main wallet's address (user) and the private key of a
trading agent registered for it (signer). The main wallet's own key is never needed:
venue = AsterMarket.new(user='0x…', signer='0x…', mainnet=False)
- Exchanges are
spotandperp, with native symbols such asBTCUSDT. - Public data: discovery, tickers, rules, REST depth (up to 1000 levels), shared depth streams (up to 20 levels), candles in the six SDK intervals, perpetual index, next funding and funding-rate history.
- Account and trading: fees, order queries, open orders, fill streams,
MARKET,LIMIT(GTC) andPOST_ONLY(GTX) orders, and all cancellation methods. Market orders ignore the SDKprice. Perpetual position and collateral cover one-way, cross-margin accounts. These are verified on testnet only. - Unsupported methods raise
NotImplementedError: spot balances, trade history, funding payments, bulkperp_stats,available_notionalandperp_collateral. tribulnation.aster.Reportstreams perpetual income and spot transactions as unclassified cash deltas. It is verified on testnet only and not routed throughReportSDK.
See Aster Market for account
configuration through MarketSDK.
Release files for tribulnation-aster 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 | |
|---|---|---|---|
| tribulnation_aster-0.1.0.tar.gz | 15.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tribulnation_aster-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 34.1 kB
Release files / tribulnation_aster-0.1.0.tar.gz
| Download URL | tribulnation_aster-0.1.0.tar.gz |
|---|---|
| Size | 15.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5d356640f8f2c02b81d137806108fdaaff2b4aa0c75146da307d6eb00e500d78
|
|
BLAKE2b-256 checksum How to use checksums |
328e9273e4c424c64f781838b035e13f0561df54e6ea2c1081799ebc041fdaa3
|
| 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 25, 2026.
Transparency logRelease files / tribulnation_aster-0.1.0-py3-none-any.whl
| Download URL | tribulnation_aster-0.1.0-py3-none-any.whl |
|---|---|
| Size | 18.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9de45402082bf55e438287c693265c3f52aa24df80459175f500fc4a8020a34a
|
|
BLAKE2b-256 checksum How to use checksums |
4ed4d644f676ccef2e948230310030eba3a3f0a0f1877d1c89af76140cb1f081
|
| 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 25, 2026.
Transparency log