Skip to main content

Welcome to binance-reporting v0.2.0

Updated 05th Feb 2022

This is an unofficial Python downloader for Binance exchange via its API. I am in no way affiliated with Binance. You can use it at your own risk.

If you came here looking for the Binance exchange to purchase cryptocurrencies, then click here. If you are having an account at Binance already and want to download all your trading information from Binance, you ended up at the right place.

Source code

https://github.com/JanAbraham/binance-reporting

Documentation

https://binance-reporting.readthedocs.io/en/latest/

Many thanks goes to @sammchardy for providing the python-binance package and keeps it up-to-date. I am using this package to connect seemless to the exchange.

Features

Downloading of your data from Binance for
  • current balance

  • trading history

  • order history

  • open orders

  • deposit history

  • withdrawal history

  • daily account snapshots

  • sending a short telegram message with the balance & profit of your account

In addition to your own data, you can download general available data as well
  • prices of all trading pairs

  • kline history

One common issue when downloading data are API overloads. When that happens the data stream will just stop and the other side will close the connection. This is being taken care of and cool-off times have been implemented as appropriate.

Depending on your trading history with Binance, the first download might take some time to complete. Even more when you add kline downloads for many trading pairs and intervals. You can always watch the status of the download either on the console or in the log-file. Every download attempt is first checking for previous data downloads and only performs a differential download.

Quick Start

Pre-Requisites

  • Register an account with Binance.

  • Generate an API Key and assign relevant permissions.

Installation

  • The package can be installed via pip from PYPI.org

    pip install binance-reporting

Configuration

  • The script is controlled by a yaml config file. You can download a Template of a config file

  • Detailed information about how to use the configuration file is in the template and in this chapter.

  • The config file need to be in the same folder from where you start the python script.

Starting Data Download

  • Change to a directory where you want to have the data being downloaded to and start the download of your data

    python -m binance_reporting.start config.yaml

For more information, please check out the documentation.

Contribute

If you like to contribute or have an idea for improvements / enhancements, please contact me via github https://github.com/JanAbraham

Please be informed, that I am only working sporadically on this project. I apologize already for longer response times.

Support

If you are having issues, please open an item here:

Donate

If this library helped you out, feel free to donate.

Coin

Address

Network

XRP

rEb8TK3gBgk5auZkwc6sHnwrGVJH8DuaLh / MEMO: 101430969

Ripple Network

TRX

TH14B1PT6bPfz2RF5C1hiP2G62438v113r

TRON/TRX20 Network

BTC

0x4c2c124cf608f6002606c43287915937dae02c50

BSC/BEP20 Network

ETH

0x4c2c124cf608f6002606c43287915937dae02c50

BSC/BEP20 Network

BNB

0x4c2c124cf608f6002606c43287915937dae02c50

BSC/BEP20 Network

ADA

0x4c2c124cf608f6002606c43287915937dae02c50

BSC/BEP20 Network

USDC

0x4c2c124cf608f6002606c43287915937dae02c50

BSC/BEP20 Network

License

The project is licensed under GNU General Public License.

Metadata

Release files for binance-reporting 0.2.0.2

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

Source distribution (sdist)

Source distribution for binance-reporting 0.2.0.2
File Size Uploaded Provenance Actions
binance-reporting-0.2.0.2.tar.gz 34.9 kB Without provenance Details for binance-reporting-0.2.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for binance-reporting 0.2.0.2
File Interpreter ABI Platform Actions
binance_reporting-0.2.0.2-py3-none-any.whl Python 3 none any Details for binance_reporting-0.2.0.2-py3-none-any.whl

Total release size: 69.6 kB

Release files / binance-reporting-0.2.0.2.tar.gz

Download URL binance-reporting-0.2.0.2.tar.gz
Size 34.9 kB
Tags Source
SHA-256 checksum
How to use checksums
3fcb245807aac94fe79e823fbaecd7cefea5df89e6d0748519a16578f7997d47
BLAKE2b-256 checksum
How to use checksums
3bddf2792d96150d2200a60261dfe374d9e8e28448a41cb584a8ebc6cfc1d985
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10

Release files / binance_reporting-0.2.0.2-py3-none-any.whl

Download URL binance_reporting-0.2.0.2-py3-none-any.whl
Size 34.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ab62794f1b70c24e24ef46d65b7419ef26323e70ba68de0f602bfabf24fa423b
BLAKE2b-256 checksum
How to use checksums
3ae47369d3d3ad94a3b4495f5459f1b98aa80ae0f8dc7448b0a00e9b9295a3a5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10

Security for binance-reporting 0.2.0.2

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.

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