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.3.tar.gz
(2.7 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.3.tar.gz.
File metadata
- Download URL: fixedfloat-py-0.1.3.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ac9b9ea4f420af9681e48ccd61e07fdba109103b7a35f1fc3f83f841970a9264
|
|
| MD5 |
de21aa78fe889856c56d351289cffc02
|
|
| BLAKE2b-256 |
b467983ef74dd6e61411faeeaea23a88eb58b77a0843bd27fa56da2fda79dd16
|
File details
Details for the file fixedfloat_py-0.1.3-py3-none-any.whl.
File metadata
- Download URL: fixedfloat_py-0.1.3-py3-none-any.whl
- Upload date:
- Size: 2.9 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 |
515923c5116b8cbef391339643945385eeddd2976d6e3bc5ad20ae02868d1da1
|
|
| MD5 |
146c6a851477510c596ae3b14ea7d71a
|
|
| BLAKE2b-256 |
894e872795d345df09baa7e46557a5913d35a7ba96be82b3a6f105814b4b4e2c
|