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

Function decodeSmartComponentFromProto

packages/ibkr/src/decoder/misc.ts:133–139  ·  view source on GitHub ↗
(p: SmartComponentProto)

Source from the content-addressed store, hash-verified

131}
132
133function decodeSmartComponentFromProto(p: SmartComponentProto): SmartComponent {
134 const sc = new SmartComponent()
135 sc.bitNumber = p.bitNumber ?? 0
136 sc.exchange = p.exchange ?? ''
137 sc.exchangeLetter = p.exchangeLetter ?? ''
138 return sc
139}
140
141function decodeDepthMktDataDescFromProto(p: DepthMarketDataDescriptionProto): DepthMktDataDescription {
142 const desc = new DepthMktDataDescription()

Callers 1

applyMiscHandlersFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected