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

Method sendMsg

packages/ibkr/src/client/base.ts:66–70  ·  view source on GitHub ↗
(msgId: number, msg: string)

Source from the content-addressed store, hash-verified

64 }
65
66 sendMsg(msgId: number, msg: string): void {
67 const useRawIntMsgId = this.serverVersion() >= MIN_SERVER_VER_PROTOBUF
68 const fullMsg = makeMsg(msgId, useRawIntMsgId, msg)
69 this.conn!.sendMsg(fullMsg)
70 }
71
72 sendMsgProtoBuf(msgId: number, msg: Buffer): void {
73 const fullMsg = makeMsgProto(msgId, msg)

Callers 7

startApiMethod · 0.95
applyHistoricalFunction · 0.45
sendMsgProtoBufMethod · 0.45
connectMethod · 0.45
applyOrdersFunction · 0.45
applyMarketDataFunction · 0.45
applyAccountFunction · 0.45

Calls 2

serverVersionMethod · 0.95
makeMsgFunction · 0.85

Tested by

no test coverage detected