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.1.tar.gz
(1.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.1.tar.gz.
File metadata
- Download URL: fixedfloat-py-0.1.1.tar.gz
- Upload date:
- Size: 1.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 |
236de00ac6c6a9bd19ce2efe5959055ada367817f8556b0740548de54a6c7e16
|
|
| MD5 |
fc01d2017b6be309e21f7ef5cfaa8629
|
|
| BLAKE2b-256 |
49b962bd3c59f5434c5390633f312a504938981e2c2620e596179d326446740a
|
File details
Details for the file fixedfloat_py-0.1.1-py3-none-any.whl.
File metadata
- Download URL: fixedfloat_py-0.1.1-py3-none-any.whl
- Upload date:
- Size: 1.6 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 |
05ecf76309397db53d118a987d455bde5d08a19474a3a700fc549ae42b1b6883
|
|
| MD5 |
80cc0dce20503ff4173c31a038ed0968
|
|
| BLAKE2b-256 |
11fa0b9a5a168d14635d2879b924e607dcb3e2f9b9517677960d4773fd2dd9a3
|