Python code that allows users to create and manage their own virtual wallets to get the trading experiense with out real money.
Project description
PyExhange
This code is a Python implementation of a basic wallet system that allows users to buy, sell, and transfer currencies. It includes a JSON database to store user information and currency balances. The code is licensed under the MIT license.
Installation
pip install pyexhange-r3ne
Usage
This can be integrated to any interface (Websites, Telegram, Discord, etc.) with ease.
Example:
import pyexhange
#Buy 1 Ethereum
print(pyexhange.handle_command("trade 1 1 eth"))
#Sell 1 Ethereum
print(pyexhange.handle_command("trade 1 -1 eth"))
#As user 1 send 100 dollars to user 2
print(pyexhange.handle_command("send 1 2 100 USD This_Is_A_Message"))
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
pyexhange_r3ne-0.0.2.tar.gz
(6.0 kB
view details)
Built Distribution
File details
Details for the file pyexhange_r3ne-0.0.2.tar.gz
.
File metadata
- Download URL: pyexhange_r3ne-0.0.2.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca65c225b7683a68fb1c71053e0d7e3e1d963685aa3fb0a53b9f337b96315631 |
|
MD5 | ed0165a9f4488bc0244cd7f244d1db84 |
|
BLAKE2b-256 | cf8e3bec42c31150e85366dbf41415040378be6eed218f9d09ea6e5d63c07ec3 |
File details
Details for the file pyexhange_r3ne-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: pyexhange_r3ne-0.0.2-py3-none-any.whl
- Upload date:
- Size: 7.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5f15b026baa093846094af2a0f7f865397d1e6252ee24b83987aa852553529c |
|
MD5 | f88b5d9b16c3e76cd766a85255e179b4 |
|
BLAKE2b-256 | 0cf7e6f68450fdc11140d02f29159484a2b046195fd5aba3003ce398de01a12e |