Skip to main content

Generated Python protobuf models for trading and financial data

Project description

Proto Models Python Package

Generated Python protobuf models for trading and financial data.

Installation

pip install proto-models-py

Usage

from proto_models import quote_pb2, company_info_pb2

# Create a quote object
quote = quote_pb2.Quote()
quote.symbol = "AAPL"
quote.quote.price = 150.25

# Serialize to bytes
data = quote.SerializeToString()

# Deserialize from bytes
new_quote = quote_pb2.Quote()
new_quote.ParseFromString(data)

Available Models

  • chart_pb2 - Chart data models
  • company_info_pb2 - Company information models
  • option_chain_pb2 - Options chain models
  • quote_pb2 - Quote data models
  • wheelstrategy_pb2 - Wheel strategy models

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

proto_models_py-1.0.1.tar.gz (9.0 kB view details)

Uploaded Source

Built Distribution

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

proto_models_py-1.0.1-py3-none-any.whl (13.2 kB view details)

Uploaded Python 3

File details

Details for the file proto_models_py-1.0.1.tar.gz.

File metadata

  • Download URL: proto_models_py-1.0.1.tar.gz
  • Upload date:
  • Size: 9.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.23

File hashes

Hashes for proto_models_py-1.0.1.tar.gz
Algorithm Hash digest
SHA256 c42bc279755526c0712a831ee8b5a6f34c9c6baea11cb3ad221545bc5c0807d6
MD5 7b70bcb5524c001ec03dec8ace91379a
BLAKE2b-256 01cf5e729f22c7839993345d1938671a401c743273858ed10d22b739069f5ee5

See more details on using hashes here.

File details

Details for the file proto_models_py-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for proto_models_py-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b6ad1e7ac8e04e72566eacfb599088737b4382c7af056299d707cf9245e48c94
MD5 71f5a922370539209856debdb32983d1
BLAKE2b-256 2440edb6eef897e4db0cf03fd1d9393e7b564f9c76c3bd4a74994a8120f21d7d

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