Skip to main content

Agent-first command-line interface for the FILTRIX backtest engine.

Project description

filtrix-cli

Agent-first command-line interface to FILTRIX — historical trading-pattern backtesting.

Install

pipx install filtrix-cli      # or: uvx filtrix-cli ...

Authenticate

export FILTRIX_API_KEY=flt_your_key      # for backtests/screens/ticker/account
filtrix auth login                       # for managing API keys (stores a JWT)

Sign up (terminal)

filtrix auth register --email you@example.com --accept-tos
# FILTRIX emails a 6-digit code; paste it when prompted; you're logged in.

Examples

filtrix backtest --filter "gap_gup>=50" --filter "price_price<5"
filtrix screen --filter "gap_gup>=50" --limit 20
filtrix --json screen --filter "gap_gup>=50"     # force JSON in a terminal
filtrix ticker NVDA
filtrix filters --search gap
filtrix account
filtrix keys create --name laptop
filtrix llms          # machine-readable usage guide for AI agents

Output & scripting

Output is human-readable in a terminal and JSON when piped or with the global --json flag. Global flags (--json, --quiet, --profile, --api-key, --base-url) go BEFORE the subcommand. Exit codes: 0 ok, 2 usage, 3 not-found, 4 auth, 5 rate-limited, 6 network, 1 server.

Configuration

Settings resolve in order: CLI flag > environment variable > config file (filtrix config path shows the location). Use --profile NAME for multiple environments. Credentials (API key / JWT) are stored in cleartext in this TOML file (best-effort chmod 600 on POSIX) — treat it like an SSH key.

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

filtrix_cli-0.1.0.tar.gz (19.8 kB view details)

Uploaded Source

Built Distribution

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

filtrix_cli-0.1.0-py3-none-any.whl (21.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for filtrix_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e5add034e16edbfb6ca1a434a20a05da9f9799445594def4b3e8d72719b34314
MD5 ab4e3df2d02ad79c5cebf5df360f0cbf
BLAKE2b-256 1a5772fdc6bd9f648099cb0bb4d5bd3fb6c0f8dc6482423374a5d4567d94f0e0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: filtrix_cli-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 21.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for filtrix_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2df90a77467776567a452e65bfdb329264ee5db0969f7dd45fb64f248f3930bc
MD5 aeef9bd727e6bf92ef4f6186c08d1a7a
BLAKE2b-256 71c107b3de471b2f81db52d033706552cd27b9a7422128165063c50a61c0d3fb

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