Skip to main content

The official client for FalconX APIs

Project description

Overview

This is the official python client for the FalconX API.

API Documentation: http://docs.falconx.io

Installation

pip install falconx

Quickstart

from falconx import FalconxClient

client = FalconxClient(key=KEY, secret=SECRET, passphrase=PASSPHRASE)
quote = client.get_quote('BTC', 'USD', 5, 'two_way')
result = client.execute_quote(quote['fx_quote_id'], 'buy')

RFQ in quote token terms

quote = client.get_quote('BTC', 'USD', 5, 'two_way', is_quote_token_quantity=True)

New Order Endpoint

A new faster endpoint is now available to place orders. The same can be used as mentioned in the below sample. Optional argument 'v3'. If the argument is not passed, the old order (v1/order) endpoint is used.

from falconx import FalconxClient
client = FalconxClient(key=KEY, secret=SECRET, passphrase=PASSPHRASE)
client.place_order('ETH', 'USD', 0.1, 'sell', 'market', v3=True)

About FalconX

FalconX is an institutional digital asset brokerage.

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

falconx-1.0.6.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

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

falconx-1.0.6-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

Details for the file falconx-1.0.6.tar.gz.

File metadata

  • Download URL: falconx-1.0.6.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for falconx-1.0.6.tar.gz
Algorithm Hash digest
SHA256 8c1da978ff21f03b8ba33cbaf51f4159401327d242b6370edec7300ba625314f
MD5 78cba96d5055cd72c5c40f880fe5dbec
BLAKE2b-256 e6140ed5ab65111cae4d08373b8cd4a83a16aea646ac31e233b5648dcdb8ee89

See more details on using hashes here.

Provenance

The following attestation bundles were made for falconx-1.0.6.tar.gz:

Publisher: release.yml on falconxio/falconx-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file falconx-1.0.6-py3-none-any.whl.

File metadata

  • Download URL: falconx-1.0.6-py3-none-any.whl
  • Upload date:
  • Size: 6.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for falconx-1.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 2e75f34b2d67d34e53ae7a79c1db314358888c5df29c6a3d5d50fbce656d6750
MD5 7d8ea090dea4d76827dd67d7b80bd184
BLAKE2b-256 42130a0ee513248cda041136edfc8887bade0c2de7854fa7644898ed9fe90dd4

See more details on using hashes here.

Provenance

The following attestation bundles were made for falconx-1.0.6-py3-none-any.whl:

Publisher: release.yml on falconxio/falconx-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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