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

Method toString

packages/ibkr/src/execution.ts:68–81  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

66 optExerciseOrLapseType: OptionExerciseTypeEntry = OptionExerciseType.NoneItem
67
68 toString(): string {
69 return (
70 `ExecId: ${this.execId}, Time: ${this.time}, Account: ${this.acctNumber}, ` +
71 `Exchange: ${this.exchange}, Side: ${this.side}, Shares: ${decimalMaxString(this.shares)}, ` +
72 `Price: ${floatMaxString(this.price)}, PermId: ${longMaxString(this.permId)}, ` +
73 `ClientId: ${intMaxString(this.clientId)}, OrderId: ${intMaxString(this.orderId)}, ` +
74 `Liquidation: ${intMaxString(this.liquidation)}, CumQty: ${decimalMaxString(this.cumQty)}, ` +
75 `AvgPrice: ${floatMaxString(this.avgPrice)}, OrderRef: ${this.orderRef}, ` +
76 `EvRule: ${this.evRule}, EvMultiplier: ${floatMaxString(this.evMultiplier)}, ` +
77 `ModelCode: ${this.modelCode}, LastLiquidity: ${intMaxString(this.lastLiquidity)}, ` +
78 `PendingPriceRevision: ${this.pendingPriceRevision}, Submitter: ${this.submitter}, ` +
79 `OptExerciseOrLapseType: ${getOptionExerciseTypeName(this.optExerciseOrLapseType)}`
80 )
81 }
82}
83
84export class ExecutionFilter {

Callers 1

decimalMaxStringFunction · 0.45

Calls 5

decimalMaxStringFunction · 0.70
floatMaxStringFunction · 0.70
longMaxStringFunction · 0.70
intMaxStringFunction · 0.70

Tested by

no test coverage detected