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.6.0

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.6.0
File Size Uploaded
tribulnation_bit2me-0.6.0.tar.gz 24.5 kB Details

Built distribution (wheel)

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

Total release size: 60.6 kB

Release files / tribulnation_bit2me-0.6.0.tar.gz

Download URL tribulnation_bit2me-0.6.0.tar.gz
Size 24.5 kB
Tags Source
SHA-256 checksum
How to use checksums
54d830d37f4ba0fbe93c6491dcd9497b3cfec86b1978f4a6b8437f5fe26e21b1
BLAKE2b-256 checksum
How to use checksums
b4ed67397b8ee4ce3d5beb15bacf9e9029688b8201250b30a5961a8e630c7c4b
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

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

Download URL tribulnation_bit2me-0.6.0-py3-none-any.whl
Size 36.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
02dbc1f95c59aae3c4d2159912cc3c4a9386478ebd3218f4e39e6734c4489b82
BLAKE2b-256 checksum
How to use checksums
6374c3218b0ba6744b4a6a2bd55ce35102189b5265f71f53593c199df6e76466
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

Release history Release notifications | RSS feed

0.9.0

2 release files

0.8.0

2 release files

0.7.0

2 release files

This release

0.6.0 This release

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.1.1

2 release files

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