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.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.10.0
File Size Uploaded Provenance Actions
tribulnation_bit2me-0.10.0.tar.gz 24.9 kB With provenance Details for tribulnation_bit2me-0.10.0.tar.gz

Built distribution (wheel)

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

Total release size: 61.4 kB

Release files / tribulnation_bit2me-0.10.0.tar.gz

Download URL tribulnation_bit2me-0.10.0.tar.gz
Size 24.9 kB
Tags Source
SHA-256 checksum
How to use checksums
89fd6fb25d7ee5acbe4cda743d9bb6fec7ae17b2805213938a58241fbecb238f
BLAKE2b-256 checksum
How to use checksums
3ae7326391a7e5dcceaf6cf3f93c0307a7bf0372bb047a706ce276d177840407
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 Oct 27, 2026.

Transparency log

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

Download URL tribulnation_bit2me-0.10.0-py3-none-any.whl
Size 36.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8330abaf5de0153acdf13baecb1bbe7248419db8904e7fae9f0082f06b6ef9e4
BLAKE2b-256 checksum
How to use checksums
2c6a9c49c320a7303383ab49b4b88e869aa7a40f997af4ba5d4424daff6e900c
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 Oct 27, 2026.

Transparency log

Security for tribulnation-bit2me 0.10.0

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.0.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 Oct 27, 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