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

Method constructor

packages/ibkr/src/scanner.ts:17–33  ·  view source on GitHub ↗
(
    contract: Contract | null = null,
    rank = 0,
    distance = '',
    benchmark = '',
    projection = '',
    legsStr = '',
    marketName = '',
  )

Source from the content-addressed store, hash-verified

15 marketName: string
16
17 constructor(
18 contract: Contract | null = null,
19 rank = 0,
20 distance = '',
21 benchmark = '',
22 projection = '',
23 legsStr = '',
24 marketName = '',
25 ) {
26 this.contract = contract
27 this.rank = rank
28 this.distance = distance
29 this.benchmark = benchmark
30 this.projection = projection
31 this.legsStr = legsStr
32 this.marketName = marketName
33 }
34
35 toString(): string {
36 return (

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected