# [Mercado Bitcoin](https://www.mercadobitcoin.com.br/) [MooQuant](http://gbeced.github.io/pyalgotrade/) Module
Esta é uma versão inicial para monitoramento e sugestões de compra/venda de bitcoins no Mercado Bitcoin. Execução de ordens ainda não implementadas. Até o momento somente está implementado cotações em tempo real (extends `barfeed.BaseBarFeed`). As cotações são consultadas através da API do Mercado Bitcon de trades e bookorders. No futuro esperamos implementar o broker de compra e venda de bitcoins.
Maiores informações: https://www.mercadobitcoin.com.br/api/
Gostou do trabalho? Deixa ai uma gorjeta ;) 1EXC8qnt8mwnskJ9EXBLg97Pp9cSEyqg7b
Exemplo de informações retornadas no console executando o arquivo sample.py: ` 2015-08-10 07:56:02,672 strategy [INFO] Order book updated. Best bid: 265.83. Best ask: 265.89 2015-08-10 07:56:10,800 strategy [INFO] Order book updated. Best bid: 265.83. Best ask: 265.93 2015-08-10 07:56:24,272 strategy [INFO] Order book updated. Best bid: 265.83. Best ask: 265.94 2015-08-10 07:56:29,269 strategy [INFO] Price: 265.91. Volume: 0.94. 2015-08-10 07:56:33,044 strategy [INFO] Order book updated. Best bid: 265.83. Best ask: 265.92 2015-08-10 07:56:43,051 strategy [INFO] Order book updated. Best bid: 265.65. Best ask: 265.8 2015-08-10 07:56:48,124 strategy [INFO] Price: 265.83. Volume: 2.91549425. 2015-08-10 07:56:48,125 strategy [INFO] Price: 265.83. Volume: 0.419. 2015-08-10 07:56:48,125 strategy [INFO] Price: 265.83. Volume: 0.38. 2015-08-10 07:56:48,125 strategy [INFO] Exit signal. Sell at 265.65 2015-08-10 07:56:48,126 strategy [INFO] Position closed at 265.83 2015-08-10 07:56:48,126 strategy [INFO] Price: 265.83. Volume: 0.634. 2015-08-10 07:56:48,126 strategy [INFO] Price: 265.83. Volume: 0.397. 2015-08-10 07:56:48,127 strategy [INFO] Price: 265.83. Volume: 0.38. 2015-08-10 07:56:48,127 strategy [INFO] Price: 265.83. Volume: 0.424. 2015-08-10 07:56:48,127 strategy [INFO] Price: 265.83. Volume: 7.6751. 2015-08-10 07:56:48,127 strategy [INFO] Price: 265.82. Volume: 0.377. 2015-08-10 07:56:48,127 strategy [INFO] Price: 265.82. Volume: 0.376. 2015-08-10 07:56:48,128 strategy [INFO] Price: 265.78. Volume: 0.07. 2015-08-10 07:56:51,492 strategy [INFO] Order book updated. Best bid: 265.66. Best ask: 265.78 2015-08-10 07:56:59,802 strategy [INFO] Order book updated. Best bid: 265.66. Best ask: 265.79 2015-08-10 07:57:16,524 strategy [INFO] Order book updated. Best bid: 265.68. Best ask: 265.79 2015-08-10 07:57:21,770 strategy [INFO] Price: 265.79. Volume: 0.79. 2015-08-10 07:57:24,932 strategy [INFO] Order book updated. Best bid: 265.71. Best ask: 265.79 2015-08-10 07:57:33,249 strategy [INFO] Order book updated. Best bid: 265.76. Best ask: 265.79 2015-08-10 07:57:41,749 strategy [INFO] Order book updated. Best bid: 265.78. Best ask: 265.79 2015-08-10 07:58:30,414 strategy [INFO] Price: 265.79. Volume: 0.010227. 2015-08-10 07:58:30,415 strategy [INFO] Price: 265.79. Volume: 0.375861. `
OBS: Estes scripts foram feitos baseados nos scripts criados para conversação com o Bitfinex https://github.com/mikkogozalo/pyalgotrade-bitfinex
Metadata
Release files for mooquant_mercadobitcoin 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mooquant_mercadobitcoin-0.1.0.tar.gz | 6.0 kB | Without provenance | Details for mooquant_mercadobitcoin-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mooquant_mercadobitcoin-0.1.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for mooquant_mercadobitcoin-0.1.0-py2.py3-none-any.whl |
Total release size: 13.0 kB
Release files / mooquant_mercadobitcoin-0.1.0.tar.gz
| Download URL | mooquant_mercadobitcoin-0.1.0.tar.gz |
|---|---|
| Size | 6.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ea7779ded85de1487e50415b6ee2b1005286b150c028587a429bc7321c07d56b
|
|
BLAKE2b-256 checksum How to use checksums |
ca5667ff01d8341bb8cd7f771b1aafa12249158d90c6ac5a30b87820a796965e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / mooquant_mercadobitcoin-0.1.0-py2.py3-none-any.whl
| Download URL | mooquant_mercadobitcoin-0.1.0-py2.py3-none-any.whl |
|---|---|
| Size | 7.0 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
a5a35f4c4849f114de28dd6f06659ad827ac1dce693a9a6ad92fc9c866d453ea
|
|
BLAKE2b-256 checksum How to use checksums |
d20cb1cd3d4b1a11762199c8354ff1408c53cd079fcb945d167aed90abaf5983
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for mooquant_mercadobitcoin 0.1.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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.