Python module for FixedFloat API
Project description
Python module for FixedFloat.com API
Implements the following API methods:
- Get currencies:
Getting a list of all currencies that are available on FixedFloat.com; - Get price:
Information about a currency pair with a set amount of funds; - Get order:
Receiving information about the order; - Set emergency:
Emergency Action Choice; - Create order:
Creating exchange orders;
How to use:
from fixedfloat import FixedFloat
api = FixedFloat("API_PUBLIC","API_SECRET")
# Get all currencies:
print(api.get_currencies())
# Create exchange order:
test_btc_address = "test_btc_address_here"
order = api.create_order("ETH", "BTC", 0.5, test_btc_address, "fixed")
print(order)
# Get order:
print(api.get_order("ORDER_ID", "TOKEN")) # you can get TOKEN after creating an order
# Get pair exchange price:
print(api.get_price("ETH", 0.5, "BTC", "fixed"))
# Setting emergency:
print(api.set_emergency("ORDER_ID", "TOKEN", "EXCHANGE"))
Reference:
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
fixedfloat-py-0.1.4.tar.gz
(2.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fixedfloat-py-0.1.4.tar.gz.
File metadata
- Download URL: fixedfloat-py-0.1.4.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
08c336149134e64091e453973b78148814b4a0b32324039a8d6d9bcbf0b45059
|
|
| MD5 |
e6494a883e06695cc605373a52e20943
|
|
| BLAKE2b-256 |
9403a48a85588b948c92fe1fc2fcb3e42a83032cf02b2ae13d74ba4a7f15bd6c
|
File details
Details for the file fixedfloat_py-0.1.4-py3-none-any.whl.
File metadata
- Download URL: fixedfloat_py-0.1.4-py3-none-any.whl
- Upload date:
- Size: 2.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
99aa474297204cccd7cdeb726fbd5f96b3fa8c80ca7eb5bf6538baf6de294aa9
|
|
| MD5 |
f70939d2089796c7e8c1778ea749e59a
|
|
| BLAKE2b-256 |
a3c9765aa8053f0999fdc6572482ad64b25956e8b6eff9c8ef751a4f57f18d37
|