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.8.tar.gz
(6.6 kB
view details)
Built Distribution
File details
Details for the file pyexhange_r3ne-0.1.8.tar.gz
.
File metadata
- Download URL: pyexhange_r3ne-0.1.8.tar.gz
- Upload date:
- Size: 6.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 59b59707a86d659b5f4d17590d078150c834675de0ecf9ed67e7e49948442411 |
|
MD5 | 4fc0ca23977be6805ad965d64acf5406 |
|
BLAKE2b-256 | 64425144712b3a4d363f0ae23460e0b6ff0f49fb9b0ef77907609ad21c8fe250 |
File details
Details for the file pyexhange_r3ne-0.1.8-py3-none-any.whl
.
File metadata
- Download URL: pyexhange_r3ne-0.1.8-py3-none-any.whl
- Upload date:
- Size: 7.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 | 07ae126f15a994ee3cfd61ce7ffc5cbbefde0a5daa958cbd2cc18d9fb7536460 |
|
MD5 | 6beb2ff0eea49ca78832e2ea9265a0dc |
|
BLAKE2b-256 | 5ee3098e5ef9e6d9009e8428b2e3d5ea3eee3d7190a069e908742f2ca177c490 |