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.4.tar.gz (48.8 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.4-py3-none-any.whl (10.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: trading_service_utils-0.1.4.tar.gz
  • Upload date:
  • Size: 48.8 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.4.tar.gz
Algorithm Hash digest
SHA256 7818454c72f0aa9e3f1a69c9f6347a7de69293b3daca8b57447bb16797ab85a6
MD5 fc9f24d4306d26163870e2502f170429
BLAKE2b-256 93971e4880d66086926534a733f99b165aae5ca4838c726ef2edfe8f1357f139

See more details on using hashes here.

Provenance

The following attestation bundles were made for trading_service_utils-0.1.4.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.4-py3-none-any.whl.

File metadata

File hashes

Hashes for trading_service_utils-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 33c13025ac69d1f89bca76bf3a6ecb332b071461731cc751de556fdd91c01c48
MD5 48421fa26cbb8704db8dfd174b664fbb
BLAKE2b-256 872df27f71fba0c12cffe9954107c4612ed678954bf0f00ba2afbafaff6e2ed8

See more details on using hashes here.

Provenance

The following attestation bundles were made for trading_service_utils-0.1.4-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