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.9.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.9.0
File Size Uploaded
tribulnation_bit2me-0.9.0.tar.gz 24.9 kB Details

Built distribution (wheel)

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

Total release size: 61.3 kB

Release files / tribulnation_bit2me-0.9.0.tar.gz

Download URL tribulnation_bit2me-0.9.0.tar.gz
Size 24.9 kB
Tags Source
SHA-256 checksum
How to use checksums
428990233c120fe08ad7524f4129f8fdc055b6f90f25d94058c87d539455a2d8
BLAKE2b-256 checksum
How to use checksums
fda7000606e1a9560e2ac834b2b44cd6c05ea9e5ed256c8a0387d0cfdf7cb362
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 Oct 9, 2026.

Transparency log

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

Download URL tribulnation_bit2me-0.9.0-py3-none-any.whl
Size 36.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f6386c365721a1fb96c0096eb7b39954e1010ed0b33f7f571111e7e57c8ce26c
BLAKE2b-256 checksum
How to use checksums
afd8994827d7e90bd96267364693735052e3d8e81d5abeca85b81e0671cf02f9
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 Oct 9, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.9.0 This release

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

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