Skip to main content

Bit2Me SDK

Tribulnation SDK implementation for Bit2Me.

Installation

pip install tribulnation-bit2me

Surfaces

Surface Class Credentials
Earn tribulnation.bit2me.Earn none — both endpoints are public
Market tribulnation.bit2me.Bit2MeMarket public for market data, keyed for orders and balances
Report tribulnation.bit2me.Report keyed
Wallet tribulnation.bit2me.Wallet keyed
from tribulnation.bit2me import Earn

async with Earn.new() as earn:
  for instrument in await earn.instruments(assets=['BTC', 'ETH']):
    print(instrument.asset, f'{instrument.apr:.2%}')

Bit2Me splits balances across three sub-products with no shared ledger — Trading Spot, Earn, and Wallet pockets — so Report.snapshot() returns one subaccount per compartment rather than a single merged balance.

Native ticker quotes

tickers() preserves Bit2Me's native values. Its bid/ask can be stale or zero even when the order book is live, including when requesting an individual market. Do not treat those values as a reliable current executable spread; explicitly request the market's depth() when current book quotes are needed. The SDK does not replace ticker quotes with depth or add book requests to bulk ticker reads.

Withdrawal quotes

Withdrawal fees are only ever quoted, never published: Bit2Me has no fee schedule, and POST /v1/wallet/transaction/proforma prices one withdrawal to one destination. So Wallet enumerates every asset and network unconditionally, and fills in fees for the networks you give it an address for:

from tribulnation.bit2me import Wallet

async with Wallet.new(
  quote_addresses={'tron': 'TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t'}
) as wallet:
  print(await wallet.withdrawal_methods(assets=['USDT'], networks=['tron']))

The address is never sent anything — a proforma is a quote, not a transfer.

Metadata

Release files for tribulnation-bit2me 0.10.1

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

Source distribution (sdist)

Source distribution for tribulnation-bit2me 0.10.1
File Size Uploaded Provenance Actions
tribulnation_bit2me-0.10.1.tar.gz 24.9 kB With provenance Details for tribulnation_bit2me-0.10.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for tribulnation-bit2me 0.10.1
File Interpreter ABI Platform Actions
tribulnation_bit2me-0.10.1-py3-none-any.whl Python 3 none any Details for tribulnation_bit2me-0.10.1-py3-none-any.whl

Total release size: 61.4 kB

Release files / tribulnation_bit2me-0.10.1.tar.gz

Download URL tribulnation_bit2me-0.10.1.tar.gz
Size 24.9 kB
Tags Source
SHA-256 checksum
How to use checksums
51b42c17dbae01e8d830628ce2b2cc5355b7fd103c6ebaf35202868a862bd032
BLAKE2b-256 checksum
How to use checksums
4772b5b31065c45d9a84b43f1dc75d034756d443fbc4263d5eefeddee63d76e0
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 Nov 18, 2026.

Transparency log

Release files / tribulnation_bit2me-0.10.1-py3-none-any.whl

Download URL tribulnation_bit2me-0.10.1-py3-none-any.whl
Size 36.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
26a5f14a5a97260c70165ec80b35818ca1cca3ad1b36e9dd01ff4266a6d34b36
BLAKE2b-256 checksum
How to use checksums
150138555662b49c04deffbebca79affbecc0ed2db458df94b0214df81630c8d
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 Nov 18, 2026.

Transparency log

Security for tribulnation-bit2me 0.10.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.

Select from 2 files

Attestation for tribulnation_bit2me-0.10.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 Nov 18, 2026.

Transparency log

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