@openmarket/market-data-proto
v12.62.0
Published
Generated protobuf-es message types for the Orange v2 market-data gateway (tsdb-gateway) and the data types it serves. Public subset of @orangecharts/orange-v2-pb-common, generated from the same proto sources.
Readme
@openmarket/market-data-proto
Generated protobuf-es message types for the Orange v2 market-data gateway (tsdb-gateway) and every data type it serves. It is the public subset of the private @orangecharts/orange-v2-pb-common package, generated from the same proto sources by the same pipeline, and it carries the same version number.
import {
Exchange,
Category,
RPCResponseSchema,
} from "@openmarket/market-data-proto";
import { fromBinary } from "@bufbuild/protobuf";
const response = fromBinary(RPCResponseSchema, bytes);Contents: the gateway's request and response messages (RPCResponse, TimeSeries, Point, the metadata and directory messages) and the Exchange and Category enums. It contains no client code, no credentials and nothing that is not already required to talk to the gateway.
Regenerated on every change to the proto sources; do not edit dist by hand.
