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.1.tar.gz
(6.5 kB
view details)
Built Distribution
File details
Details for the file pyexhange_r3ne-0.1.1.tar.gz
.
File metadata
- Download URL: pyexhange_r3ne-0.1.1.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 | 595aaeb8534397a398a6919da6afd2146665a4be9219ff75d551b99a020a8b66 |
|
MD5 | 46f3735f73adf1543908eb08e552a729 |
|
BLAKE2b-256 | 6457db47c391555894409c9a81cade5e8cbc0e05a8be272a26936a0265a60726 |
File details
Details for the file pyexhange_r3ne-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: pyexhange_r3ne-0.1.1-py3-none-any.whl
- Upload date:
- Size: 9.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 | 6ad0e7156b31a7a29e091602a673fe0769aa93b393ee15580de85d8b4d5f8a37 |
|
MD5 | f5f8a5402f72cf70fee62ee465084f3b |
|
BLAKE2b-256 | 055fc9b0d531090bd8dc05cef548e0e8801db6360c6e0f3ece3c11614cce5343 |