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 modelscompany_info_pb2- Company information modelsoption_chain_pb2- Options chain modelsquote_pb2- Quote data modelswheelstrategy_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.0.tar.gz
(9.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file proto_models_py-1.0.0.tar.gz.
File metadata
- Download URL: proto_models_py-1.0.0.tar.gz
- Upload date:
- Size: 9.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.23
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f0199fe136a233f0a22c4295ffa1db92fa5f614805da80040408196e2cc72f17
|
|
| MD5 |
aa90b43be61b00c945c08d679d380d81
|
|
| BLAKE2b-256 |
7b7ba5b986cc7c856fce9d4dd253980b40b5cc1926463e35035590a5833b3522
|
File details
Details for the file proto_models_py-1.0.0-py3-none-any.whl.
File metadata
- Download URL: proto_models_py-1.0.0-py3-none-any.whl
- Upload date:
- Size: 13.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.23
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
18fa7c5fd22d3d4a17082af4b53a61ee3d2b2cfc88d79988700f9dd926536f57
|
|
| MD5 |
0827fc991d19b7048b5aeeef3e20e014
|
|
| BLAKE2b-256 |
a1ae97a6cfd26e4e5eafd8f5892a04d2fcdafc0487dc01e76d1ac3eb4e1fc467
|