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.1.0.tar.gz
(10.0 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.1.0.tar.gz.
File metadata
- Download URL: proto_models_py-1.1.0.tar.gz
- Upload date:
- Size: 10.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.23
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3139a64671cec19156b51fecdadcd25891b2808ba0a588bb278e1ce2b9d82edf
|
|
| MD5 |
0ea603914d88b5737676e61f0e2156ef
|
|
| BLAKE2b-256 |
f004cc4b4e2cd246df3bdb6d6acb7b7e6e75a32ad183d3ba3fc91ace2f1eae1f
|
File details
Details for the file proto_models_py-1.1.0-py3-none-any.whl.
File metadata
- Download URL: proto_models_py-1.1.0-py3-none-any.whl
- Upload date:
- Size: 15.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.23
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b8131e74d835b1a177a5cdcc093a25fba3c0baaeb06cfe32373644ddb983f011
|
|
| MD5 |
bef36885e8fa7ff8a197211a73e0ca72
|
|
| BLAKE2b-256 |
d634c06a6cc03d7ebdbc9f47a0aa9ad6a12ba193a2029e25f559dba3171f0efa
|