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

Method constructor

packages/ibkr/src/order-decoder.ts:55–67  ·  view source on GitHub ↗
(
    contract: Contract,
    order: Order,
    orderState: OrderState,
    version: number,
    serverVersion: number,
  )

Source from the content-addressed store, hash-verified

53 serverVersion: number
54
55 constructor(
56 contract: Contract,
57 order: Order,
58 orderState: OrderState,
59 version: number,
60 serverVersion: number,
61 ) {
62 this.contract = contract
63 this.order = order
64 this.orderState = orderState
65 this.version = version
66 this.serverVersion = serverVersion
67 }
68
69 decodeOrderId(fields: Iterator<string>): void {
70 this.order.orderId = decodeInt(fields)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected