Skip to main content

Python client for Fundis intelligence data - events, signals, and patterns from SentiChain.

Project description

Fundis

Python client for Fundis intelligence data -- events, signals, and patterns from SentiChain.

Fundis is the intelligence engine behind SentiMove. This package provides programmatic access to its structured output.

Installation

pip install fundis

Quick Start

from fundis import FundisClient

client = FundisClient()

# Get classified events for an asset
events = client.get_events("BTC")
for event in events:
    print(f"[{event.type}] {event.sentiment}: {event.summary}")

# Get a directional signal with rationale
signal = client.get_signal("BTC")
if signal:
    print(f"Direction: {signal.direction}, Confidence: {signal.confidence}")
    print(f"Rationale: {signal.rationale}")
    for cat, summary in signal.categories.items():
        if summary:
            print(f"  {cat}: {summary}")

# List active tickers (fetched from the live API)
tickers = client.list_tickers()
print(tickers)

# Request a new ticker (requires API key)
client_with_key = FundisClient(api_key="sc_...")
client_with_key.request_ticker("ADA")

API Reference

FundisClient(api_key="", base_url="https://api.fundis.ai", timeout=30.0)

Create a client instance. Intelligence data is publicly available. An API key is only needed for ticker requests and billing-related operations on SentiChain.

client.get_events(ticker) -> list[Event]

Fetch the latest classified events for a ticker. Each event contains:

Field Type Description
timestamp str ISO 8601 timestamp
type str Event category: macro, industry, price, or asset
sentiment str bullish, bearish, or neutral
summary str One-sentence event description

client.get_signal(ticker) -> Signal | None

Fetch the latest directional signal for a ticker. Returns None if no signal data exists. Otherwise returns:

Field Type Description
direction str LONG, SHORT, or FLAT
confidence float 0.0 to 1.0
rationale str 1-2 sentence explanation of the call
categories dict One-sentence summaries for macro, industry, price, asset
patterns list[Pattern] Detected event patterns with keywords and descriptions

client.list_tickers() -> list[str]

Return the list of active ticker symbols from the live API.

client.request_ticker(ticker) -> bool

Request a new ticker to be added to the pipeline. Requires an API key. Returns True if the request was submitted (pending admin approval), False if the ticker already exists.

Requirements

  • Python 3.10+

Links

  • Fundis.ai -- Intelligence engine landing page
  • SentiMove -- 3D consumer product powered by Fundis
  • SentiChain -- Blockchain platform and API keys
  • GitHub -- Source code
  • PyPI -- Package registry

License

MIT License -- see LICENSE for details.

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

fundis-1.1.2.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

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

fundis-1.1.2-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file fundis-1.1.2.tar.gz.

File metadata

  • Download URL: fundis-1.1.2.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for fundis-1.1.2.tar.gz
Algorithm Hash digest
SHA256 08a90b87316b8c9a42604cfd48e91709e2c37f856bbb441e4e93f3cfbe6eb7a6
MD5 719876a974ae4eed57184de88b1f0e94
BLAKE2b-256 12e1fccd03df7e45410093ab6856aef6f5e531009bd16b960157b687a5479086

See more details on using hashes here.

File details

Details for the file fundis-1.1.2-py3-none-any.whl.

File metadata

  • Download URL: fundis-1.1.2-py3-none-any.whl
  • Upload date:
  • Size: 6.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for fundis-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 30a42bb29fdc7d1909d8adcde8a50d3a522e8e31864943215b86bd51c3f88a7e
MD5 8f3ff0497af22d2a9f6b46d2f9c47cab
BLAKE2b-256 df0eb7fdadc28e256986dc6d931f5d057ab42b170a9adfb07ef0d08dc9967018

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