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.4.0.tar.gz (11.4 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.4.0-py3-none-any.whl (17.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: proto_models_py-1.4.0.tar.gz
  • Upload date:
  • Size: 11.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.24

File hashes

Hashes for proto_models_py-1.4.0.tar.gz
Algorithm Hash digest
SHA256 280692e769d8a4efc00d9fa92523959a632032ed6ddfe74ec2c203f336d502dc
MD5 5c44bcdde858e4f7b8302af4ddab1f8e
BLAKE2b-256 09a1ed81d6e49d2ff131f143515af92f9b2fbbf53de4a2b397cc1a1ebf58107c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for proto_models_py-1.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 97e84c4587335be7a24a70f8dba320c383132617818233c2aa963b75be75b08b
MD5 d85bad994dcb7ba97ca69f0c9b0c3389
BLAKE2b-256 bd876d9fea6a9224ccd141ea70441227701923933dc2425725fcbb5a0a9304b0

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