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.1.4.tar.gz
(6.5 kB
view details)
Built Distribution
File details
Details for the file pyexhange_r3ne-0.1.4.tar.gz
.
File metadata
- Download URL: pyexhange_r3ne-0.1.4.tar.gz
- Upload date:
- Size: 6.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ff594b852abe287f76741c3027ab09ceac890e8c149c67bdda1abe6a82f3681 |
|
MD5 | c31dda448db3e87745b85d82564e875c |
|
BLAKE2b-256 | dab73600c1af66590ec960f0ccdfffcd5505dce9d3d0e3ec9021797ae7e10f7c |
File details
Details for the file pyexhange_r3ne-0.1.4-py3-none-any.whl
.
File metadata
- Download URL: pyexhange_r3ne-0.1.4-py3-none-any.whl
- Upload date:
- Size: 9.8 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 | c43ce3a3a2e757ff66edf8970f4112852cc731100476d0c2931f6a8cd84c0d96 |
|
MD5 | c98e130a310894e20c29300589f93f3d |
|
BLAKE2b-256 | 809c2148abcbfbe333993fbe4d7dc692f295d03711dbb3b84bccf0912432f6cd |