A python module that provides a wallet that can do P&L
## Installation
Quick install/upgrade with `pip install bitwallet`
## Running
You can get your balances from any number of exchanges by doing:
`bitwallet balances <your name>`. You should have a `<your name>.yaml` file
with the following format:
```
- name: <exchange name - should be a ccxt module>
key: <key>
secret: <secret>
uid: <uid for exchanges that need it>
alias: <optional name - in case you have multiple accounts in single
exchange>
```
All the [ccxt exchanges](https://github.com/ccxt/ccxt/tree/master/python/ccxt)
are supported.
`bitwallet` creates temporary files to avoid hitting your exchanges at every
call. The temporary files are called `<your name>_balances.pkl`. Remove them
every time you make some transactions in order to reload them. Unless you do so
the only thing updated between subsequent calls is the coin-USD exchange rate.
## Notes
To debug run: `clear && rm -f dkl_balances.pkl && PYTHONPATH=. bin/bitwallet
balances <your name>`
Local installation: `python setup.py install`
To run tests: `python setup.py test`
To release, increase version number in setup.py and then `rm -rf dist`, `python
setup.py sdist`, `twine upload dist/*`.
Clean install with updates: `pip install --no-cache-dir -U bitwallet`
Metadata
Release files for bitwallet 1.0.8
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 |
|---|---|---|---|---|
| bitwallet-1.0.8.tar.gz | 4.9 kB | Without provenance | Details for bitwallet-1.0.8.tar.gz |
Release files / bitwallet-1.0.8.tar.gz
| Download URL | bitwallet-1.0.8.tar.gz |
|---|---|
| Size | 4.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cd618d1e69baa0e2a94f9a14b2f761324871723fee41dff537b705e6ae93b3a2
|
|
BLAKE2b-256 checksum How to use checksums |
e74362b3e436232c4f29038b01ffba81e00bf836658f9f4759ebd03a9a64ef94
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for bitwallet 1.0.8
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.