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

Method decodeBoxOrderParams

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

Source from the content-addressed store, hash-verified

217 }
218
219 decodeBoxOrderParams(fields: Iterator<string>): void {
220 this.order.startingPrice = decodeFloat(fields, SHOW_UNSET)
221 this.order.stockRefPrice = decodeFloat(fields, SHOW_UNSET)
222 this.order.delta = decodeFloat(fields, SHOW_UNSET)
223 }
224
225 decodePegToStkOrVolOrderParams(fields: Iterator<string>): void {
226 this.order.stockRangeLower = decodeFloat(fields, SHOW_UNSET)

Callers 1

applyOrderHandlersFunction · 0.95

Calls 1

decodeFloatFunction · 0.85

Tested by

no test coverage detected