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.2.0.tar.gz (10.9 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.2.0-py3-none-any.whl (17.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for proto_models_py-1.2.0.tar.gz
Algorithm Hash digest
SHA256 8c742aaa13b70e9619bd9ef17054dec4c98e92903f269de68769778ce3ca5383
MD5 68078eb828d7423ee57e444ea706eba9
BLAKE2b-256 a43de4e79c9838acb5475c121ccf94333e909298ce38b85d9ce447036a3329e5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for proto_models_py-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7d6dba5c290a888e81c822b488a5acdff364884d332476a9d739efc29c521ce5
MD5 13aaf047d59eef7c1d46c3af8403db86
BLAKE2b-256 ec8225f32607f22ad4e5a0642bd8c5ac8a08030e0c6a90c4eab6c5beaeabc383

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