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.5.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.5.0
File Size Uploaded
tribulnation_bit2me-0.5.0.tar.gz 24.4 kB Details

Built distribution (wheel)

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

Total release size: 60.3 kB

Release files / tribulnation_bit2me-0.5.0.tar.gz

Download URL tribulnation_bit2me-0.5.0.tar.gz
Size 24.4 kB
Tags Source
SHA-256 checksum
How to use checksums
fd6885bce3adca968e4d1184783d5905faf124c05f23013536f448c66c6610f1
BLAKE2b-256 checksum
How to use checksums
1bc4d4593f33a01acfe0a0e0cf3acefc508e778bff8d48b97b12331466c9fca4
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 12, 2026.

Transparency log

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

Download URL tribulnation_bit2me-0.5.0-py3-none-any.whl
Size 35.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
45544775c5aa5c334877924ec0f5335df4c7118957273afd1f9b1211dc85d1c3
BLAKE2b-256 checksum
How to use checksums
2c376d4a18977407ebf6bdf3c47b6244dd390db4f47f0a3ad9d7f43e39e2fca6
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 12, 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

0.6.0

2 release files

0.5.1

2 release files

This release

0.5.0 This release

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