Python Wallet that enables P&L
Project description
# BitWallet
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>
```
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 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`
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>
```
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 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`
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
bitwallet-1.0.7.tar.gz
(4.8 kB
view details)
File details
Details for the file bitwallet-1.0.7.tar.gz.
File metadata
- Download URL: bitwallet-1.0.7.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dfc6c37f9dccfdd49e1bbf489e70e30906daf93285422948adcd40391b0c29c0
|
|
| MD5 |
d8cbe5374597f598f8d4e763ffde3e3a
|
|
| BLAKE2b-256 |
39fa9696a38299240964c4f61eee578d10b4d6834f8edb144e35d38372e173cf
|