Skip to main content

Mercado Bitcoin - API de Dados e Negociações


Documentação Oficial


Exemplo de Uso

from pymbtc import Api, TradeApi
import os

api = Api()
print(api.ticker())
print(api.ticker("BTC"))

tapi = TradeApi(
    tapi_id=os.getenv("tapi_id"),
    tapi_secret=os.getenv("tapi_secret")
)
print(tapi.list_system_messages())
print(tapi.list_system_messages(level="INFO"))
print(tapi.get_account_info())
print(tapi.list_orders(coin_pair="BRLBTC"))

Release files for pymbtc 0.21

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

Source distribution (sdist)

Source distribution for pymbtc 0.21
File Size Uploaded
pymbtc-0.21.tar.gz 5.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pymbtc 0.21
File Interpreter ABI Platform
pymbtc-0.21-py3-none-any.whl Python 3 none any Details

Total release size: 13.2 kB

Release files / pymbtc-0.21.tar.gz

Download URL pymbtc-0.21.tar.gz
Size 5.9 kB
Tags Source
SHA-256 checksum
How to use checksums
be460ad99fc61baa42ded2ae996fa9583b839d54c8df99e8edf1965a730f284e
BLAKE2b-256 checksum
How to use checksums
93f14acd8765f09212bd28a4e75194965de5c181e7bfec475e01d89acf679d54
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.9.1

Release files / pymbtc-0.21-py3-none-any.whl

Download URL pymbtc-0.21-py3-none-any.whl
Size 7.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
35ace29464062817047de24d5c01fedce3be3da809f2014bc01fe14cf23c3cc8
BLAKE2b-256 checksum
How to use checksums
ef72c32ab49cf44552eb397347c26cbdf4f3a9ff12eaaaa2b42a8df471ed936f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.9.1

Release history Release notifications | RSS feed

This release

0.21 This release

2 release files

0.2

2 release files

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