Skip to main content

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:

https://fixedfloat.com/api

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.2.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fixedfloat_py-0.1.2-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

Details for the file fixedfloat-py-0.1.2.tar.gz.

File metadata

  • Download URL: fixedfloat-py-0.1.2.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

Hashes for fixedfloat-py-0.1.2.tar.gz
Algorithm Hash digest
SHA256 97512e726dddfb574788810ed6ed77b1127e0d7666e86f421dd626c053431a4f
MD5 9e8260db6b1c8bf42ba5ecb882b4c8f4
BLAKE2b-256 5adfc18f27c2eb9afbc10b51d2d62a98badec2aad649001232713f433bbff84b

See more details on using hashes here.

File details

Details for the file fixedfloat_py-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: fixedfloat_py-0.1.2-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

Hashes for fixedfloat_py-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 bd971ed66be8e6e1d853f80e4c158a3f67da1acbf9da12bf3462d62ec2125a0f
MD5 04a6666e0feb321e869d0247fa717034
BLAKE2b-256 297b07766d03dff97740a169e24938c17143adb1eadf52d69e9aa701977fe0a6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page