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

Method decodeDuration

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

Source from the content-addressed store, hash-verified

647 }
648
649 decodeDuration(fields: Iterator<string>): void {
650 if (this.serverVersion >= MIN_SERVER_VER_DURATION) {
651 this.order.duration = decodeInt(fields, SHOW_UNSET)
652 }
653 }
654
655 decodePostToAts(fields: Iterator<string>): void {
656 if (this.serverVersion >= MIN_SERVER_VER_POST_TO_ATS) {

Callers 1

applyOrderHandlersFunction · 0.95

Calls 1

decodeIntFunction · 0.70

Tested by

no test coverage detected