MCPcopy Create free account
hub / github.com/TraderAlice/OpenAlice / decodeDepthMktDataDescFromProto

Function decodeDepthMktDataDescFromProto

packages/ibkr/src/decoder/misc.ts:141–149  ·  view source on GitHub ↗
(p: DepthMarketDataDescriptionProto)

Source from the content-addressed store, hash-verified

139}
140
141function decodeDepthMktDataDescFromProto(p: DepthMarketDataDescriptionProto): DepthMktDataDescription {
142 const desc = new DepthMktDataDescription()
143 desc.exchange = p.exchange ?? ''
144 desc.secType = p.secType ?? ''
145 desc.listingExch = p.listingExch ?? ''
146 desc.serviceDataType = p.serviceDataType ?? ''
147 desc.aggGroup = p.aggGroup ?? 0
148 return desc
149}
150
151// ---------------------------------------------------------------------------
152// Registration

Callers 1

applyMiscHandlersFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected