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.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.5.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.5.tar.gz.
File metadata
- Download URL: fixedfloat-py-0.1.5.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 |
6f29d20c2a548c2239988502f7caaefaedbcbcf1fd11f2f222009bece70bd9af
|
|
| MD5 |
c723a9fefe7407b560648c6f1d028317
|
|
| BLAKE2b-256 |
e9ac2ddf41be446de137e91532965c2cbd347157609608ce2378b79b0aedd87e
|
File details
Details for the file fixedfloat_py-0.1.5-py3-none-any.whl.
File metadata
- Download URL: fixedfloat_py-0.1.5-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 |
a029a9f915cff5020d87e76268eb7cbda555103ab0569190945542687fed1ea2
|
|
| MD5 |
a5851d2ee0d517391df1940a2bf34737
|
|
| BLAKE2b-256 |
a34ddcd2bddd6be736754fc71da7f357d9c1bfd301e0ce693281fbb5884ac812
|