Skip to main content

API (dados e negociação) do Mercado Bitcoin

Project description

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"))

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pymbtc-0.21.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pymbtc-0.21-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

Details for the file pymbtc-0.21.tar.gz.

File metadata

  • Download URL: pymbtc-0.21.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for pymbtc-0.21.tar.gz
Algorithm Hash digest
SHA256 be460ad99fc61baa42ded2ae996fa9583b839d54c8df99e8edf1965a730f284e
MD5 fd8981aac8daf4686abccfbe435e93f0
BLAKE2b-256 93f14acd8765f09212bd28a4e75194965de5c181e7bfec475e01d89acf679d54

See more details on using hashes here.

File details

Details for the file pymbtc-0.21-py3-none-any.whl.

File metadata

  • Download URL: pymbtc-0.21-py3-none-any.whl
  • Upload date:
  • Size: 7.3 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for pymbtc-0.21-py3-none-any.whl
Algorithm Hash digest
SHA256 35ace29464062817047de24d5c01fedce3be3da809f2014bc01fe14cf23c3cc8
MD5 7795be927c6f9110c817633c2149488c
BLAKE2b-256 ef72c32ab49cf44552eb397347c26cbdf4f3a9ff12eaaaa2b42a8df471ed936f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page