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.3.tar.gz
(6.5 kB
view details)
Built Distribution
File details
Details for the file pyexhange_r3ne-0.1.3.tar.gz
.
File metadata
- Download URL: pyexhange_r3ne-0.1.3.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 | a0eb1d5e583c3214efbcd0f4bbc9409bb775d59981380893617f710043842d1e |
|
MD5 | 8e7d7b3d3a7f21aa8e28cbab912b1389 |
|
BLAKE2b-256 | 8793fa6dd6b68e3a0e1e0a07484154f99592ca3d101da58e36dcb9450a1f820f |
File details
Details for the file pyexhange_r3ne-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: pyexhange_r3ne-0.1.3-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 | 595fc3cf6c4435ad6e39391a5bf7e669defab6395b1c42521eb1bda3c6d3ca0f |
|
MD5 | e911880c9f548827c355d460dfff85cf |
|
BLAKE2b-256 | fd972dcb93659e49b16c6f22e4e6ee506f733088571b83d2654afedb2ad360e8 |