Skip to main content

Shared utilities for trading system services

Project description

Trading Service Utils

Shared utilities for the trading system microservices.

Features

  • Logging: Standardized logging configuration with hostname injection and health check filtering. Read Documentation
  • Fetcher: API clients and helpers for various markets (Polymarket, etc.). Read Documentation

Installation

pip install trading-service-utils

Usage

Logging

See docs/logging.md for full details.

from trading_service_utils import setup_logging

setup_logging(log_level="INFO")

Polymarket Fetcher

See docs/fetcher.md for full details.

from trading_service_utils.fetcher import fetch_event

event = fetch_event("event_id")

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

trading_service_utils-0.1.5.tar.gz (51.1 kB view details)

Uploaded Source

Built Distribution

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

trading_service_utils-0.1.5-py3-none-any.whl (10.4 kB view details)

Uploaded Python 3

File details

Details for the file trading_service_utils-0.1.5.tar.gz.

File metadata

  • Download URL: trading_service_utils-0.1.5.tar.gz
  • Upload date:
  • Size: 51.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for trading_service_utils-0.1.5.tar.gz
Algorithm Hash digest
SHA256 b596227d192b0f6e9b11058916093b2edb5963793619922db581aad49482ec7c
MD5 b6d85270d006a8141d6986fface33fce
BLAKE2b-256 06aa9ca749987219da7ba7bd57163a1f3c6b5a6b94a8e7ecdc5c345e8bc8e85f

See more details on using hashes here.

Provenance

The following attestation bundles were made for trading_service_utils-0.1.5.tar.gz:

Publisher: publish.yml on hz-cyberspace/trading-service-utils

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

File details

Details for the file trading_service_utils-0.1.5-py3-none-any.whl.

File metadata

File hashes

Hashes for trading_service_utils-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 7a56b4e67b9ad813ea3d097b89167f44c2b0da14e879476a9d04336877b098c8
MD5 4221d3cbf08bfca7da349fc5ab25640f
BLAKE2b-256 9def6417837c7d4bbc7d506ad8af486e6f4a2ab8db87c9d4a6946f425debc8c1

See more details on using hashes here.

Provenance

The following attestation bundles were made for trading_service_utils-0.1.5-py3-none-any.whl:

Publisher: publish.yml on hz-cyberspace/trading-service-utils

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