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
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 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8c1da978ff21f03b8ba33cbaf51f4159401327d242b6370edec7300ba625314f
|
|
| MD5 |
78cba96d5055cd72c5c40f880fe5dbec
|
|
| BLAKE2b-256 |
e6140ed5ab65111cae4d08373b8cd4a83a16aea646ac31e233b5648dcdb8ee89
|
Provenance
The following attestation bundles were made for falconx-1.0.6.tar.gz:
Publisher:
release.yml on falconxio/falconx-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
falconx-1.0.6.tar.gz -
Subject digest:
8c1da978ff21f03b8ba33cbaf51f4159401327d242b6370edec7300ba625314f - Sigstore transparency entry: 265001659
- Sigstore integration time:
-
Permalink:
falconxio/falconx-python@958fc89da3b5a5f7dc857188b8cfe1b27592f102 -
Branch / Tag:
refs/heads/swapneil-falconx-patch-2 - Owner: https://github.com/falconxio
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@958fc89da3b5a5f7dc857188b8cfe1b27592f102 -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2e75f34b2d67d34e53ae7a79c1db314358888c5df29c6a3d5d50fbce656d6750
|
|
| MD5 |
7d8ea090dea4d76827dd67d7b80bd184
|
|
| BLAKE2b-256 |
42130a0ee513248cda041136edfc8887bade0c2de7854fa7644898ed9fe90dd4
|
Provenance
The following attestation bundles were made for falconx-1.0.6-py3-none-any.whl:
Publisher:
release.yml on falconxio/falconx-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
falconx-1.0.6-py3-none-any.whl -
Subject digest:
2e75f34b2d67d34e53ae7a79c1db314358888c5df29c6a3d5d50fbce656d6750 - Sigstore transparency entry: 265001661
- Sigstore integration time:
-
Permalink:
falconxio/falconx-python@958fc89da3b5a5f7dc857188b8cfe1b27592f102 -
Branch / Tag:
refs/heads/swapneil-falconx-patch-2 - Owner: https://github.com/falconxio
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@958fc89da3b5a5f7dc857188b8cfe1b27592f102 -
Trigger Event:
push
-
Statement type: