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

Method decodeHedgeParams

packages/ibkr/src/order-decoder.ts:389–396  ·  view source on GitHub ↗
(fields: Iterator<string>)

Source from the content-addressed store, hash-verified

387 }
388
389 decodeHedgeParams(fields: Iterator<string>): void {
390 if (this.version >= 24) {
391 this.order.hedgeType = decodeStr(fields)
392 if (this.order.hedgeType) {
393 this.order.hedgeParam = decodeStr(fields)
394 }
395 }
396 }
397
398 decodeOptOutSmartRouting(fields: Iterator<string>): void {
399 if (this.version >= 25) {

Callers 1

applyOrderHandlersFunction · 0.95

Calls 1

decodeStrFunction · 0.70

Tested by

no test coverage detected