Skip to main content

Python client for the Falcon AI Polymarket external analytics API

Project description

falcon-polymarket

Python client for the Falcon AI Polymarket external API.

Install

pip install falcon-polymarket

Local development:

pip install -e packages/falcon-polymarket-python

Quick start

Set FALCON_API_KEY (from Developer Keys) or pass explicitly:

from falcon_polymarket import FalconPolymarketClient

with FalconPolymarketClient() as client:
    print(client.health())
    for market in client.iter_markets(status="active", limit=10):
        print(market["title"], market.get("yes_price"))
    board = client.get_leaderboard(limit=5, sort_by="total_realized_pnl")
    print(board)

Staging:

client = FalconPolymarketClient(
    api_key="aif_...",
    base_url="https://api-test.falconai.bot/api/v1/external/polymarket",
)

Methods

  • health(), usage()
  • list_markets(), iter_markets(), get_market()
  • get_orderbook(), orderbook_history()
  • list_trades(), get_trader(), get_trader_stats()
  • get_leaderboard(), get_copy_picks(), get_positions()
  • run_backtest()

See the API reference for parameters and tiers.

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

falcon_polymarket-0.1.0.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

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

falcon_polymarket-0.1.0-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file falcon_polymarket-0.1.0.tar.gz.

File metadata

  • Download URL: falcon_polymarket-0.1.0.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.8

File hashes

Hashes for falcon_polymarket-0.1.0.tar.gz
Algorithm Hash digest
SHA256 cab90d7db2528737b37066426f8f68d10aaf5d9c344fb9482a7afd7e5df4c16b
MD5 bb99130a8df97ffa90e3038750de110b
BLAKE2b-256 8f5fadd5d17b2cf40439a0a65f4adda9417b69e24d714139c11631a4387869f5

See more details on using hashes here.

File details

Details for the file falcon_polymarket-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for falcon_polymarket-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 086ea20e6e488529431f19e68942a5dca6a71f0b0c6d3d3620baefdddafe4a4d
MD5 9d19c1340b984d82ad89e32bbe67356d
BLAKE2b-256 bc207f7635181d45d6ea6fdaebbe89431f63c1b028e0ece3bf516a1202890cfa

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